body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    transition: top 0.3s; /* Navbar'ın kaybolma animasyonu */
    margin-left: -30px;
    
}

header.hide {
    top: -100px; /* Navbar'ı gizle */
}

.left-links{
    color: white;
    text-decoration: none;
    margin: 0 15px;
    margin-left: 80px;
    font-size: 18px;
    font-family: 'Playfair Display', serif;

}

.left-links a, .right-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    margin-left: 20px;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
}

.logo {
    position: absolute; /* Konumlandırmayı kontrol etmek için absolute kullan */
    top: 5px; /* Üstten 20px boşluk bırak */
    left: 70px; /* Soldan 20px boşluk bırak */
    transform: none; /* Daha önceki ortalama işlemini kaldır */
    margin: 0; /* Ekstra boşlukları sıfırla */
    transform: translateX(-50%);
}


.logo img {
    height: 100px;
    margin-top: 5px;
    margin-left: 10px;
}

.menu-icon {
    display: none; /* Varsayılan olarak gizli */
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 10px; /* Sağdan 10px içeri */
}

.right-links {
    display: flex;
}

@media (max-width: 768px) {
    .left-links, .right-links {
        display: none; /* Mobilde menü bağlantıları gizle */
    }

    .menu-icon {
        display: block; /* Mobilde menü ikonunu göster */
        margin-right: 35px; /* Sağdan 10px içeri (daha sola yakın) */
        z-index: 1001;;
    }

    .right-links.active {
        display: flex; /* Menü açıldığında bağlantıları göster */
        flex-direction: column;
        width: 100%;
        height: 100vh; /* Tüm ekranı kapla */
        background-color: rgba(0, 0, 0, 0.9); /* Menü arka planı */
        position: fixed; /* Sabit pozisyon */
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        z-index: 9999; /* Diğer içeriklerin üstünde göster */
    }

    .right-links.active a {
        color: white;
        font-size: 28px; /* Yazı boyutunu büyüt */
        margin: 20px 0; /* Bağlantılar arası boşluk */
        transition: color 0.3s ease; /* Renk değişimi animasyonu */
    }

    .right-links.active a:hover {
        color: #007BFF; /* Üzerine gelindiğinde mavi renk */
    }
}

.fullscreen-video, .fullscreen-slideshow, .gallery-section, .films-section, .contacts-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

#bg-video, #film-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.centered-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.centered-text h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    letter-spacing: .30em;
    overflow-wrap: break-word; /* Taşmayı engelle */
    text-align: center; /* Yazıyı ortala */
    
}

.centered-text p {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
}


.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0; /* Margin'i sıfırlar */
    padding: 0; /* Padding'i sıfırlar */
    top: 0;
    left: 0;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0; /* Margin'i sıfırlar */
    padding: 0; /* Padding'i sıfırlar */
}

.fade {
    animation-name: fade;
    animation-duration: 2s;
}


@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.section-text {
    position: absolute;
    bottom: 300px;
    left: 20px;
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
}

.section-text h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.section-text p {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.gallery-section {
    position: relative;
}

.gallery-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
    z-index: 2;
    position: relative;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.09);
    filter: brightness(1.3); /* Üzerine gelindiğinde parlaklığı artır */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Üzerine gelindiğinde gölge ekle */
}
/* Contact section */
.contacts-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 120px 20px;
    color: white;
    text-align: center;
}

/* Background image */
.contacts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Main container */
.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form */
.contact-form {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 50px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box; /* Padding ve border dahil */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
}

/* Info and Map Container */
.contact-info-map {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Info Section */
.contact-info {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    width: 45%;
     align-items: center; /* Dikeyde ortala */
        text-align: center; /* İçeriği ortala */
}

/* Map Section */
.contact-map {
    width: 45%;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form {
        width: 100%; /* Formun genişliğini tam ekran yap */
        max-width: 400px; /* Maksimum genişlik belirle */
        margin: 0 auto; /* Ortala */
        padding: 20px; /* İç boşlukları düzenle */
    }

    .contact-info-map {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info,
    .contact-map {
        width: 100%;
    }
}
#formResponse {
    margin-top: 20px;
    color: white;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 10px;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    .left-links, .right-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10px;
    }

    .right-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .centered-text h1 {
        font-size: 3.0rem;
        font-size: clamp(24px, 5vw, 48px); /* küçük ekranda küçülür, büyükte büyür */
        overflow-wrap: break-word; /* Taşmayı engelle */
    text-align: center; /* Yazıyı ortala */
    }

    .centered-text p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-image {
        height: 150px;
    }
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    transition: top 0.3s; /* Geçiş animasyonu */
}

.katman-bg {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.katman img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    margin: 0;
    left: 0;
    padding: 0;
}

.katman-section {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.katman-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.katman-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

.katman-text h2 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.katman-text p {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}


.links {
    margin-top: 20px;
}

.links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #007BFF;
}

.left-links a {
    margin-bottom: 20px; /* Bağlantılar arasında daha fazla boşluk bırak */
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Playfair Display', serif;
    opacity: 0.7; /* Şeffaflık ekle */
    transition: opacity 0.3s ease; /* Geçiş animasyonu ekle */
}

.left-links a:hover {
    opacity: 1; /* Fareyle üzerine gelindiğinde şeffaflığı kaldır */
}

/* Typewriter effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

#typewriter {
    overflow: hidden;
    border-right: .15em solid black;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: 
        typewriter 6s steps(30, end),
        blink-caret .75s step-end infinite;
}

/* Sosyal medya ikonları için stil */
.social-media-links {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-media-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media-links a:hover {
    color: #007BFF; /* Üzerine gelindiğinde mavi renk */
}

.left-links a[href*="instagram.com"] {
    font-size: 18px; /* Instagram yazı boyutunu artır */
    margin-right: 15px;
}

/* Project section */
.project-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow-y: auto; /* Dikey kaydırma */
    background: url('resimler/beyaz3.jpg') no-repeat center center fixed;
    background-size: cover;
    padding: 20px;
}

.project-title {
    margin-bottom: 20px;
}

.project-title h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: white;
    margin-top: 100px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    width: 100%;
    height: 100%;
    padding: 10px; /* Kenarlardan boşluk */
    box-sizing: border-box; /* Padding dahil */
}

.project-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-gallery-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.project-gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.project-gallery-image, .project-gallery-video {
    width: 100%;
    height: 250px; /* Yükseklik otomatik ayarlanır */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.project-gallery-image:hover, .project-gallery-video:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
}

.project-gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center; /* Yazıyı ortala */
}

.project-gallery-item:hover .project-gallery-info {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center; /* Yatayda ortala */
    align-items: center; /* Dikeyde ortala */
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 70%; /* Daha küçük boyut */
    max-height: 70%; /* Daha küçük boyut */
    text-align: center;
    color: white;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 700px;
    justify-content: center; /* İçeriği yatayda ortala */
    align-items: center; /* İçeriği dikeyde ortala */
    margin-left: 300px;
    margin: auto;
    
    
}
.lightbox-content video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 700px;
    justify-content: center; /* İçeriği yatayda ortala */
    align-items: center; /* İçeriği dikeyde ortala */
    margin-left: 200px;
    margin: auto;

}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.services-section {
    position: relative;
    z-index: 1; /* Navbar'ın altında kalmasını sağla */
    padding: 50px;
    text-align: center;
    background: url('resimler/beyaz3.jpg') no-repeat center center fixed; /* Arka plan fotoğrafı */
    background-size: cover; /* Fotoğrafı kapsayacak şekilde ayarla */
    color: white; /* Yazı rengini beyaz yap */
    height: 100vh; /* Tam ekran yüksekliği */
    overflow: visible; /* Kaydırmayı engelle */
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortala */
    align-items: center; /* İçeriği yatayda ortala */
}

.services-title h1 {
    font-size: 3.3rem;
    color: white; /* Başlık rengini beyaz yap */
    margin-bottom: 70px;
}

.services-content p {
    font-size: 1.2rem;
    color: white; /* Paragraf rengini beyaz yap */
    line-height: 1.6;
    background-color: rgb(196, 194, 194); /* Yazının arkasına yarı saydam bir arka plan ekle */
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}


.right-links a {
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: white; /* Varsayılan bağlantı rengi */
    font-size: 1rem;
    transition: all 0.3s ease; /* Geçiş animasyonu */
}

.right-links a:hover {
    color: #f0f0f0; /* Üzerine gelindiğinde daha parlak bir beyaz */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Hafif bir parlama efekti */
    
}
.right-links.active {
    z-index: 9999; /* Menü diğer her şeyin üstünde */
}
/* Mobil Menü */
.right-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Menü diğer her şeyin üstünde */
}
