/* Genel Ayarlar */
:root {
    --primary-color: #003366; /* Koyu Deniz Mavisi - Premium */
    --secondary-color: #007bff; /* Standart Mavi */
    --accent-color: #ffc107; /* Sarı Vurgu */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-faded: #f0f4f8; 
    --font-family: 'Poppins', sans-serif;
    --font-title: 'Playfair Display', serif; 
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    overflow: hidden;
}

.playfair {
    font-family: var(--font-title);
}

/* Header ve Navigasyon Stilleri */
#main-header {
    background-color: transparent;
    color: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

#main-header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

#main-header nav ul {
    display: flex;
    list-style: none;
}

#main-header nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    transition: color 0.3s ease;
    font-weight: 500;
}

#main-header nav ul li a:hover {
    color: var(--accent-color);
}

/* CTA Butonları Stilleri */
.btn-cta {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600 !important;
    margin-left: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px; 
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 7px 20px rgba(0, 51, 102, 0.4);
}

.btn-secondary {
    background-color: var(--text-light);
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Kahraman Alanı (GIF Arkaplanı) */
#home {
    height: 100vh;
    /* GIF URL'si buraya eklendi */
    background-image: url('https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExMjE1azIwemtlejUwOTN5Y243amhhang2eGxrd2J1YWdjYnp1aXd6NCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/T17WcI4cGxcE8/giphy.gif'); 
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax efekti */
    position: relative; /* İçerik için konteyner görevi görür */
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--primary-color); 
    /* GIF/Resim, içerikten her zaman geride kalır (Z-Index gerektirmez) */
}

/* Koyu Geçiş Alanı (Overlay) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* İçeriğin altında ama GIF'in üstünde kalmalı */
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.5)); 
    z-index: 5; /* GIF/Arkaplan (varsayılan Z-Index: 0) üzerinde kalır */
}

/* Başlık ve Butonların Olduğu Alan (İçerik) */
.hero-content {
    position: relative; /* Z-Index çalışması için position şart */
    z-index: 10; /* Overlay (Z-Index: 5) üzerinde kalır ve görünür olur */
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
}

/* Önceki video iframe stilini gizliyoruz (gereksiz olsa da güvenlik için) */
.video-background {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Mavi tonu üzerinde daha iyi okunabilirlik için yoğun overlay */
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.5)); 
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10; 
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    font-weight: 300;
}

/* Diğer Bölüm Stilleri */
.section-padding {
    padding: 100px 0;
}

.blue-bg {
    background-color: var(--bg-faded);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

/* Metrikler Alanı */
.metrics-section {
    padding: 50px 0;
    background-color: var(--bg-light);
}
.metrics-section .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.metric-item {
    padding: 20px;
}

.metric-count {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.metric-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 5px;
}

/* Paketler Alanı */
.package-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.package-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex: 1;
    max-width: 380px;
    border-top: 5px solid var(--secondary-color);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.2);
}

.package-card i {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.package-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.package-card.luxury {
    border-top-color: var(--accent-color);
    transform: scale(1.05); 
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
}

.package-card.luxury i {
    color: var(--accent-color);
}

.package-card.luxury .price {
    color: var(--accent-color);
}

.package-card.luxury .btn-secondary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.package-card.luxury .btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.package-card .price {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 25px 0;
}

/* Konaklama Alanı */
.accommodation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.acc-content h2 {
    text-align: left;
}

.acc-content ul {
    list-style: none;
    margin: 30px 0;
}

.acc-content ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.acc-content ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.acc-image {
    height: 400px;
    background-position: center center;
    background-size: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
}

/* Ziyaret Alanları */
.visit-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.visit-item {
    flex: 1;
    max-width: 350px;
}

.visit-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.visit-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* İletişim Alanı */
.contact-section {
    padding: 100px 0;
    background-position: center bottom;
    background-size: cover;
    position: relative;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.85); 
}

.contact-box {
    position: relative;
    z-index: 10;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: auto;
    padding: 40px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1); 
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: var(--font-family);
    transition: background-color 0.3s ease;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.contact-form button {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    box-shadow: none;
}
.contact-form button:hover {
    background-color: #e6b000;
}

/* Footer (Kapsamlı) */
#footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 15px 0;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
}

.footer-col {
    flex: 1;
    padding-right: 30px;
}

.footer-info h4, .footer-links h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

/* >>>>> TÜRSAB LOGOSU VE İLETİŞİM BÖLÜMÜ GÜNCELLEMELERİ <<<<< */

.tursab-logo {
    /* Yatay düzen için Flexbox */
    display: flex;
    flex-direction: row;
    justify-content: flex-end; /* İçeriği sağa yasla */
    align-items: center; /* Dikeyde ortala */
    gap: 25px; /* Logo ve metin arasında boşluk */
    text-align: left; 
}

/* Eski .tursab-box stilini gizliyoruz (artık kullanılmayacak) */
.tursab-box {
    display: none;
}

.tursab-logo-container {
    /* Logoyu içeren sol taraftaki yeni div */
    text-align: center;
    flex-shrink: 0;
}

.tursab-logo img {
    /* KULLANICI İSTEĞİ: Boyutunu 500px yap */
    width: 300px; 
    max-width: 100%; /* Responsive olması için */
    height: auto;
    filter: brightness(0) invert(1); 
    margin: 10px 0 0 0; /* Üst boşluk bırak */
}

.tursab-contact-info {
    /* Bize Ulaşın metnini içeren sağdaki yeni div */
    text-align: left;
    flex-shrink: 1;
}

.tursab-membership-info {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
    display:flex; /* Metnin alt alta gelmesi için */
}

/* >>>>> TÜRSAB LOGOSU VE İLETİŞİM BÖLÜMÜ GÜNCELLEMELERİ SONU <<<<< */


.footer-bottom {
    text-align: center;
    padding-top: 10px;
    opacity: 0.7;
    font-size: 0.85rem;
}

/*
=====================================
# RESPONSIVE TASARIM (MEDIA QUERIES)
=====================================
*/

/* Tablet ve Büyük Telefonlar İçin (Max Genişlik: 992px) */
@media (max-width: 992px) {
    .container {
        width: 95%; /* Daha dar ekranlarda daha fazla kenar boşluğu kullan */
    }

    /* Başlık Alanı */
    .hero-content h2 {
        font-size: 3.5rem; /* Başlığı küçült */
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    /* Navigasyon: Menüyü Gizle ve Logo Boyutunu Küçült */
    #main-header .container {
        padding: 0 15px; /* Kenar boşluğu ekle */
    }

    .logo {
        font-size: 1.6rem;
    }
    
    /* Paketler, Konaklama, Ziyaret Alanı */
    .package-grid, .accommodation-grid, .visit-grid {
        flex-direction: column; /* Öğeleri alt alta diz */
        gap: 40px;
    }

    .package-card, .visit-item {
        max-width: 100%; /* Tam genişlik kullan */
    }

    .package-card.luxury {
        transform: scale(1); /* Ölçeklemeyi kaldır */
    }

    .accommodation-grid {
        grid-template-columns: 1fr; /* Konaklama bölümünü tek sütuna düşür */
    }

    .acc-image {
        height: 300px; /* Görsel yüksekliğini azalt */
    }
    
    .acc-content h2, .section-title {
        text-align: center;
    }

    /* Metrikler */
    .metrics-section .container {
        flex-wrap: wrap; /* İkişerli satırlara böl */
        gap: 20px;
    }
    
    .metric-item {
        flex: 1 1 45%; /* Her öğe %45 genişlik alsın */
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-col {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-info h4, .footer-links h4 {
        border-bottom: 2px solid var(--accent-color);
        display: inline-block;
    }

    /* TÜRSAB Logo Mobil Düzenleme */
    .tursab-logo {
        flex-direction: column; /* Mobil görünümde tekrar alt alta */
        align-items: center;
        gap: 15px;
    }
    
    .tursab-contact-info {
        text-align: center;
        order: 2;
    }
    
    .tursab-logo-container {
        text-align: center;
        order: 1;
    }
}

/* Mobil Telefonlar İçin (Max Genişlik: 768px) */
@media (max-width: 768px) {
    
    /* Mobil Navigasyon İçin Yeni Kurallar (Menü Butonu ile Açılacak) */
    #main-header nav {
        display: none; /* Navigasyonu varsayılan olarak gizle */
    }
    
    .logo img {
        height: 60px; /* Logoyu küçült */
    }
    
    /* Başlık Alanı */
    #home {
        height: 85vh; /* Yüksekliği azalt */
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0; /* Bölüm boşluklarını küçült */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
    }

    /* Metrikler */
    .metric-item {
        flex: 1 1 100%; /* Tam genişlik kullan */
        padding: 10px 0;
    }
    
    /* CTA Butonu Boyutunu Küçült */
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    /* TÜRSAB Logo Boyut Sınırlaması (500px çok büyük) */
    .tursab-logo img {
        max-width: 200px; 
    }
}

/* SCROLL ANİMASYONLARI (app.js ile çalışır) */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.fade-bottom {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}