/* Dosya: bolumler.css
   Konum: /css/bolumler.css
   Açıklama: Bölüm detay sayfaları için ortak stil dosyası.
   Son Güncelleme: Mobile Sticky Bar masaüstünde gizlendi (!important eklendi).
*/

/* --- CSS VARIABLES --- */
:root {
    --primary-navy: #001F3F;
    --primary-gold: #D4AF37;
    --accent-green: #28a745;
    --bg-light: #f8f9fa;
    --card-radius: 16px;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding-bottom: 60px;
    /* Mobil bar için yer */
}

a {
    text-decoration: none;
}

/* --- BREADCRUMBS --- */
.sticky-breadcrumbs {
    position: sticky;
    top: 80px;
    z-index: 990;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 2px 0;
    font-size: 0.75rem;
    border-top: 2px solid #eee;
    padding: 0px 0;
    font-size: 0.75rem;
    box-shadow: 0 2px 0px rgba(85, 85, 85, 0.4);
}

.breadcrumb-item a {
    color: #6c757d;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-navy);
}

.breadcrumb-item.active {
    color: var(--primary-navy);
    font-weight: 700;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: #ccc;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: auto;
    min-height: 550px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    border-bottom-left-radius: var(--card-radius);
    border-bottom-right-radius: var(--card-radius);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 31, 63, 0.85) 0%, rgba(0, 31, 63, 0.60) 50%, rgba(0, 0, 0, 0.1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-section>.container {
    z-index: 3;
    position: relative;
}

.bolumadi {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-gold);
}

.hero-explore-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    background: linear-gradient(135deg, #D4AF37 0%, #AA8A2E 100%) !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    color: #001F3F !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, .4) !important;
    transition: all .35s cubic-bezier(.2, .8, .2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 10 !important;
}

.hero-explore-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: heroShine 2.5s infinite;
}

@keyframes heroShine {
    0% {
        left: -120%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.hero-explore-btn .btn-text {
    margin-right: 14px;
    letter-spacing: 0.5px;
}

.hero-explore-btn .btn-icon {
    background: rgba(0, 31, 63, 0.25);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-explore-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 16px 36px rgba(212, 175, 55, .6) !important;
}

.hero-explore-btn:hover .btn-icon {
    background: rgba(0, 31, 63, 0.6);
    color: #D4AF37;
    transform: rotate(-90deg) scale(1.15);
}

.card-custom {
    border: none;
    border-radius: 12px;
    background-color: var(--secondary-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-shadow-hover {
    transition: all 0.3s ease !important;
}

.card-shadow-hover:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 30px rgba(0, 31, 63, 0.2) !important;
}

/* --- TESTIMONIAL CARD --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: 0.3s;
}

.testimonial-card .img-wrapper {
    height: 300px;
    overflow: hidden;
}

.testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .testimonial-content {
    padding: 20px;
    font-style: italic;
    font-size: 0.95rem;
}

.text-gold {
    color: var(--primary-gold);
}

/* --- GENERAL UTILITIES --- */
.section-title {
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--primary-gold);
    margin-top: 5px;
    border-radius: 2px;
}

.card-custom {
    border: none;
    border-radius: var(--card-radius);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.transition-hover {
    transition: transform 0.2s;
}

.transition-hover:hover {
    transform: translateY(-5px);
}

/* --- HOVER KART ANIMASYONLARI EKLENİYOR --- */
.hover-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0, 31, 63, 0.12) !important;
    z-index: 10;
}

.sidebar-wrapper {
    position: sticky;
    top: 150px;
    z-index: 90;
}

.whatsappbutton:hover {
    border: 5px solid #28a745;
    background-color: white !important;
    color: #28a745 !important;
}

/* --- TABLE ANIMATIONS (Ücretler Tablosu) --- */
.is-hidden-row {
    display: none;
}

#countryFeesTable tbody tr {
    transition: max-height 420ms cubic-bezier(.2, .8, .2, 1),
        opacity 320ms ease,
        filter 420ms ease,
        transform 420ms cubic-bezier(.2, .8, .2, 1);
    transform-origin: top;
    max-height: 80px;
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    overflow: hidden;
}

#countryFeesTable tbody tr.is-hidden-row {
    max-height: 0 !important;
    opacity: 0 !important;
    filter: blur(6px) !important;
    transform: translateY(-6px) scale(0.995) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
}

#countryFeesTable tbody tr.is-hidden-row td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#toggleCountryFees {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

#toggleCountryFees:active {
    transform: scale(0.98);
}

/* --- MOBILE STICKY BOTTOM BAR --- */
/* GÜNCELLEME: Varsayılan olarak (Masaüstü) GİZLE */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: none !important;
    /* Masaüstünde kesinlikle gizli */
    padding: 10px 15px;
    border-top: 1px solid #eee;
}

/* RESPONSIVE: Sadece 991px altındaki ekranlarda (Tablet/Mobil) GÖSTER */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .sidebar-wrapper {
        position: static;
        margin-top: 30px;
    }

    .sticky-breadcrumbs {
        top: 45px;
    }

    .mobile-sticky-bar {
        display: flex !important;
        /* Mobilde görünür yap (flex ile) */
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
}

/* Elegant Glow Effect for Cards */
.glow-effect {
    position: relative;
    transition: all 0.4s ease;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.5), rgba(0, 191, 166, 0.5), transparent, rgba(212, 175, 55, 0.5));
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.glow-effect:hover {
    transform: translateY(-5px);
}

.glow-effect:hover::before {
    opacity: 1;
    animation: glow-pulse 2s linear infinite;
}

@keyframes glow-pulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Premium Banner Effect --- */
.premium-banner-card {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

.premium-banner-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
}

.premium-glare {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.premium-banner-card:hover .premium-glare {
    left: 150%;
}

.premium-btn-circle {
    transition: all 0.4s ease;
}

.premium-banner-card:hover .premium-btn-circle {
    background: var(--primary-gold) !important;
    color: var(--primary-navy) !important;
    transform: scale(1.1) rotate(-45deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

.premium-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--primary-gold);
    transition: width 0.5s ease;
    z-index: 3;
}

.premium-banner-card:hover .premium-border-bottom {
    width: 100%;
}

/* --- Glow-on-hover: uzun hazırlik banneri --- */
.banner-glow-wrap {
    position: relative;
    z-index: 0;
    border-radius: 1rem;
}

.banner-glow-wrap::before {
    content: '';
    background: linear-gradient(45deg,
            #D4AF37, #FFF176, #D4AF37,
            #AA8A2E, #FFD700, #D4AF37,
            #AA8A2E, #FFF176, #D4AF37);
    position: absolute;
    top: -3px;
    left: -3px;
    background-size: 400%;
    z-index: -1;
    filter: blur(8px);
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    animation: bannerGlowing 8s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: 1rem;
}

.banner-glow-wrap:hover::before {
    opacity: 1;
}

@keyframes bannerGlowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}