/* --- SMOOTH SCROLL VE GENEL AYARLAR --- */
html {
    scroll-behavior: smooth;
    /* Tüm sayfa içi linklerde kaydırma efekti */
}

:root {
    --navy-blue: #0a2342;
    --pure-white: #ffffff;
    --gold-accent: #c5a059;
    --light-grey: #f4f4f4;
    --text-dark: #333333;
    --header-height: 80px;
    /* Menü yüksekliğini değişken yaptık */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--pure-white);
    line-height: 1.6;
}

/* --- HEADER / NAVİGASYON --- */
header {
    background-color: var(--navy-blue);
    height: var(--header-height);
    /* Sabit yükseklik */
    display: flex;
    /* İçeriği ortalamak için */
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    color: var(--pure-white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--gold-accent);
    padding: 5px 15px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--pure-white);
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-accent);
}

/* --- HERO SECTION --- */
.hero {
    height: calc(100vh - var(--header-height));
    /* Menü payını düştük */
    background: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.4)), url('https://images.unsplash.com/photo-1534447677768-be436bb09401?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
}

.hero-content h1.fuar-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.btn-gold {
    background-color: var(--gold-accent) !important;
    color: var(--navy-blue);
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: var(--pure-white);
}

.bilgilendirme {
    font-size: 10px;
    color: gray;
    font-style: italic;
}

/* --- SECTION AYARLARI (SCROLL FIX) --- */
section {
    /* Menü yapışkan olduğu için, tıklandığında başlığın menü altında kalmasını engeller */
    scroll-margin-top: var(--header-height);
}

.section-title {
    text-align: center;
    padding: 80px 0 40px 0;
}

.section-title span {
    display: block;
    color: var(--gold-accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin: 0;
}

/* --- SALON 1: TEKNELER --- */
.hall-boats {
    background-color: var(--pure-white);
    padding-bottom: 80px;
}

/* --- YENİ SLIDER CSS --- */

.slider-wrapper {
    position: relative;
    max-width: 1000px;
    /* Slider genişliği */
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Pencere: Taşmaları gizler */
.slider-window {
    width: 100%;
    overflow: hidden;
    /* Kutunun etrafına hafif gölge ve border */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #eee;
}

/* Şerit: Tüm slaytları yan yana tutar */
.slider-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
    /* Kayma efekti */
    width: 100%;
}

/* Tekil Slayt */
.boat-slide {
    min-width: 100%;
    /* Her slayt pencere kadar genişlik kaplar */
    box-sizing: border-box;
}

/* Slayt İçeriği (Resim + Metin) */
.boat-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Resim solda daha geniş */
    background: #fff;
}

.boat-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.boat-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Stand Numarası Detayı */
.stand-no {
    font-size: 0.8rem;
    color: #ccc;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* Slider Butonları (Oklar) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-blue);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 50%;
    /* Yuvarlak buton */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold-accent);
}

.prev-btn {
    left: -70px;
}

/* Slider'ın dışına aldık */
.next-btn {
    right: -70px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .boat-content {
        grid-template-columns: 1fr;
    }

    .boat-image img {
        height: 300px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        /* Mobilde butonları içeri alalım */
        background: rgba(10, 35, 66, 0.8);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Slider Noktaları (Alt Navigasyon) */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
    z-index: 10;
    position: relative;
}

.slider-dot {
   /* Temanın varsayılan buton stillerini SIFIRLA */
    appearance: none;
    -webkit-appearance: none;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-indent: -9999px; /* İçinde yazı varsa gizle */
    min-width: auto !important;
    line-height: 0 !important;
    
    /* Bizim Tasarımımız */
    width: 14px !important;
    height: 14px !important;
    background-color: #ddd !important; /* Pasif renk */
    border-radius: 50% !important; /* Tam daire */
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slider-dot.active-dot {
    background-color: var(--navy-blue) !important; /* Aktif renk */
    opacity: 1;
    transform: scale(1.3); /* Seçili olan biraz büyüsün */
    box-shadow: 0 0 5px rgba(10, 35, 66, 0.5) !important;
}

/* Hover Efekti */
.slider-dot:hover {
    background-color: var(--gold-accent) !important;
}

/* .boat-showcase {
            display: grid;
            gap: 80px;
        }

        .boat-item {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            align-items: center;
            background: var(--light-grey);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        } */

.boat-item:nth-child(even) {
    direction: rtl;
}

.boat-item:nth-child(even) .boat-info {
    direction: ltr;
}

.boat-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: 0.5s;
}

.boat-item:hover .boat-image img {
    filter: grayscale(0%);
}

/* .boat-info {
    padding: 50px;
} */

.boat-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: 0;
    color: var(--navy-blue);
}

.boat-info p {
    color: #666;
    text-align: justify;
}

.specs {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.spec-item {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.spec-item b {
    display: block;
    color: var(--navy-blue);
    font-size: 1rem;
}

.btn-outline {
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
    padding: 10px 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--navy-blue);
    color: var(--pure-white);
}

/* --- SALON 2: AKSESUARLAR --- */
.hall-accessories {
    background-color: var(--navy-blue);
    color: var(--pure-white);
    padding-bottom: 80px;
}

.hall-accessories .section-title h2 {
    color: var(--pure-white);
}

.accessory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.accessory-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.accessory-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-accent);
}

.accessory-img-box {
    height: 200px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.accessory-img-box img {
    max-height: 180px;
    max-width: 100%;
}

.accessory-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.price {
    color: var(--gold-accent);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

/* --- İLETİŞİM / KAYIT --- */
.contact-section {
    background-color: var(--light-grey);
    padding-bottom: 80px;
    text-align: center;
}

.form-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Wordpress entegre edildiğinde buraya Contact Form 7 shortcode gelecek */
.fake-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* --- FOOTER --- */
footer {
    background-color: #05162b;
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .boat-item,
    .boat-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .boat-image img {
        height: 300px;
    }

    .nav-links {
        display: none;
    }

    /* Mobil menü JS ile yapılabilir, şimdilik gizlendi */
    .logo {
        font-size: 1.2rem;
    }
}



/* --- MOBİL MENÜ & HAMBURGER BUTONU --- */

/* Varsayılan olarak (Masaüstü) butonu gizle */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--pure-white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* 768px ve altı (Tablet/Mobil) için Kurallar */
@media (max-width: 768px) {

    /* Hamburger butonunu görünür yap */
    .hamburger {
        display: block;
        z-index: 1002;
        /* Menünün üzerinde dursun */
    }

    /* Menü Linklerini Tam Ekran Yap ve Gizle */
    .nav-links {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        width: 70%;
        /* Ekranın %70'ini kaplasın */
        max-width: 300px;
        background-color: var(--navy-blue);
        display: flex;
        /* Flex yapısını koru */
        flex-direction: column;
        /* Alt alta sırala */
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        /* Ekranın dışına it */
        transition: transform 0.4s ease-in-out;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    /* Menü linklerine stil ver */
    .nav-links a {
        color: #fff;
        font-size: 1.2rem;
        margin: 20px 0;
        opacity: 0;
        /* JS ile açılınca görünecek */
    }

    /* JS ile eklenecek 'nav-active' sınıfı */
    .nav-active {
        transform: translateX(0%);
        /* Ekrana getir */
    }

    /* Linklerin geliş animasyonu */
    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Hamburger İkon Animasyonu (X şekline dönme) */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--gold-accent);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--gold-accent);
    }
}


/* --- LIGHTBOX (GALERİ) STİLLERİ --- */
.lightbox-modal {
    display: none;
    /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 2000;
    /* Menünün bile üstünde */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Koyu siyah arka plan */
}

/* Resim Stili */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s;
    /* Açılış animasyonu */
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Kapat Butonu (X) */
.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--gold-accent);
    text-decoration: none;
    cursor: pointer;
}

/* İleri / Geri Butonları */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--gold-accent);
    color: var(--navy-blue);
}

/* Mobilde okları biraz küçültelim */
@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 95%;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        padding: 10px;
    }
}

/* --- İMLEÇ AYARI --- */
.lightbox-trigger {
    cursor: zoom-in; /* Standart büyüteç imleci */
    display: block;  /* Tıklanabilir alanın görseli tam sarması için */
}

/* İsteğe bağlı: Görselin üzerine gelince hafifçe parlaması için */
.lightbox-trigger:hover img {
    opacity: 0.9;
}

.accessory-card h3 {
    color: white;
}