/* ============================================================
   ALAZ TEKNE TURU – FULL PREMIUM SYSTEM
   Fixing all broken layouts, missing styles and mobile issues.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');
:root {
    --p-gold: #0DE2EA;
    /* Neon Turkuaz (Vurgular ve Butonlar) */
    --p-gold-dark: #0bd1d9;
    --p-navy: #015668;
    /* Derin Lacivert (Base / Yazılar) */
    --p-navy-light: #06648C;
    /* Muted Mavi (Ara yüzey / Geçişler) */
    --p-teal: #0F81C7;
    /* Okyanus Mavisi (Linkler veya Hover) */
    --p-teal-light: #4bb3f3;
    --p-cream: #f9f7f2;
    --p-white: #ffffff;
    --p-text: #4a4a4a;
    --p-text-light: #888888;
    --p-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


/* --- Base --- */

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--p-text);
    background-color: var(--p-white);
    overflow-x: hidden;
    line-height: 1.7;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--p-navy);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--p-transition);
}

.section-py {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-py {
        padding: 70px 0;
    }
}

.bg-light-alaz {
    background-color: var(--p-cream);
}

.text-gold {
    color: var(--p-gold);
}


/* --- Scroll Progress Bar --- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--p-gold);
    z-index: 3001;
    transition: width 0.1s ease;
}


/* --- Typography Helpers --- */

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--p-teal);
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}


/* --- Universal Page Title (Inner Pages Banner) --- */

.page-title-alaz {
    padding: 200px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* background-attachment: fixed kaldırıldı (Mobilde ve Safari'de title tablosunu bozuyor) */
}

.page-title-alaz::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 29, 46, 0.70);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.page-title-alaz .container {
    position: relative;
    z-index: 10;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--p-teal);
}

.section-badge.light {
    color: #fff;
}

.section-badge.light::before {
    background: #fff;
}

.section-title {
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.section-title .accent-word {
    font-style: italic;
    font-weight: 400;
    color: var(--p-gold);
}

.section-title.light {
    color: var(--p-white);
}

.section-subtitle {
    font-size: 19px;
    color: var(--p-text-light);
    max-width: 650px;
    margin: 0 auto 60px;
    font-weight: 300;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.7);
}


/* --- Navbar (The Squeezing / Fixed Fix) --- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    width: 100%;
}

.main-nav {
    padding: 30px 0;
    transition: all 0.5s ease;
    width: 100%;
}

.main-nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 29, 46, 0.98);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2005;
}

.inner-page-header .main-nav:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(10, 29, 46, 0.9) 0%, rgba(10, 29, 46, 0.5) 50%, transparent 100%);
    padding-bottom: 50px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-left,
.nav-right {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    font-size: 14px;
    font-weight: 700;
    color: var(--p-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--p-gold);
    transition: var(--p-transition);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: var(--p-gold);
}

.nav-logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 40px;
}

.nlc-icon {
    font-size: 32px;
    color: var(--p-gold);
    margin-bottom: 2px;
}

.nlc-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--p-white);
    line-height: 0.9;
}

.nlc-sub {
    font-size: 10px;
    color: var(--p-teal);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 5px;
}

.nav-cta {
    background: var(--p-gold);
    color: var(--p-white) !important;
    padding: 14px 25px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--p-teal);
    transform: translateY(-3px);
}


/* Mobile Menu Trigger Check */

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2010;
}

.nav-hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--p-white);
    transition: var(--p-transition);
}

@media (max-width: 1200px) {
    .nav-left,
    .nav-right {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-wrap {
        padding: 0 20px;
    }
    .nav-logo-center {
        padding: 0;
        align-items: flex-start;
    }
}


/* --- Mobile Menu Panel --- */

.mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: var(--p-navy);
    z-index: 3000;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 60px 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.mobile-panel.active {
    right: 0;
}

.mobile-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 29, 46, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: var(--p-transition);
}

.mobile-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-panel-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--p-white);
    font-size: 32px;
}

.mnav-link {
    display: block;
    color: var(--p-white);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.mnav-link:hover {
    color: var(--p-gold);
    padding-left: 10px;
}

.mobile-cta-block {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-cta-phone, .mobile-cta-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--p-transition);
}

.mobile-cta-phone {
    background: var(--p-gold);
    color: var(--p-white) !important;
}

.mobile-cta-wa {
    background: #25D366;
    color: var(--p-white) !important;
}

.mobile-cta-phone:hover, .mobile-cta-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.mobile-cta-block i {
    font-size: 18px;
}


/* --- Hero Slider (Alaz Style) --- */

.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: scale(1.15);
}

.slide.active {
    opacity: 1;
    z-index: 10;
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 20;
    max-width: 1000px;
    padding: 0 20px;
    color: var(--p-white);
}

.slide-eyebrow {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: var(--p-white);
    margin-bottom: 30px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s 0.5s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-title {
    font-size: clamp(48px, 10vw, 120px);
    line-height: 0.95;
    margin-bottom: 40px;
    font-weight: 700;
    transform: translateY(60px);
    opacity: 0;
    transition: all 1.2s 0.8s ease;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.slide-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--p-white);
}

.slide-desc {
    font-size: 20px;
    max-width: 650px;
    margin: 40px auto;
    font-weight: 300;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s 1.1s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.slide-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s 1.4s ease;
}

.slide.active .slide-eyebrow,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-actions {
    transform: translateY(0);
    opacity: 1;
}


/* Alaz Style Buttons */

.btn-sf-outline {
    display: inline-block;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--p-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--p-transition);
}

.btn-sf-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--p-gold);
    transform: translateX(-101%);
    transition: var(--p-transition);
    z-index: -1;
}

.btn-sf-outline:hover {
    border-color: var(--p-gold);
    color: #0a1d2e !important;
}

.btn-sf-outline:hover::before {
    transform: translateX(0);
}

.btn-sf-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--p-gold);
    transition: var(--p-transition);
}

.btn-sf-text i {
    transition: transform 0.3s;
    color: var(--p-white);
}

.btn-sf-text:hover i {
    transform: translateX(5px);
}


/* Alaz Vertical Navigation */

.alaz-nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.sf-nav-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.sf-nav-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0%;
    background: var(--p-white);
    transition: height 4s linear;
}

.slide.active~.alaz-nav .sf-nav-line::after {
    height: 100%;
}

.sf-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sf-dot {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    transition: var(--p-transition);
    cursor: pointer;
}

.sf-dot.active {
    color: var(--p-white);
    padding-right: 15px;
    font-weight: bold;
    position: relative;
}

.sf-dot.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: var(--p-white);
}

.sf-nav-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--p-white);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    transform: rotate(180deg);
}

.sf-arrows {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 50;
    display: flex;
    gap: 10px;
}

.sf-arrows button {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    border-radius: 50%;
    transition: var(--p-transition);
}

.sf-arrows button:hover {
    background: var(--p-gold);
    border-color: var(--p-gold);
}


/* Slider Info Bar */

.slider-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 29, 46, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sib-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.sib-item i {
    color: var(--p-white);
    font-size: 18px;
}

.sib-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 40px;
}

@media (max-width: 991px) {
    .slider-info-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 56px;
    }
    .slide-desc {
        font-size: 16px;
    }
    .alaz-nav {
        display: none;
    }
    .sf-arrows {
        display: none;
    }
    .btn-sf-outline,
    .btn-sf-text {
        padding: 12px 25px;
        font-size: 11px;
    }
}


/* --- Features Bar --- */

.features-bar {
    position: relative;
    z-index: 50;
    margin-top: -60px;
}

.fb-grid {
    display: flex;
    background: var(--p-white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.fb-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    border-right: 1px solid #eee;
}

.fb-item:last-child {
    border-right: none;
}

.fb-icon {
    font-size: 32px;
    color: var(--p-teal);
}

.fb-text strong {
    display: block;
    font-size: 18px;
    color: var(--p-navy);
}

.fb-text span {
    font-size: 13px;
    color: var(--p-text-light);
}

@media (max-width: 992px) {
    .fb-grid {
        flex-wrap: wrap;
    }
    .fb-item {
        flex: 50%;
        padding: 20px;
        border: none;
    }
}


/* --- About Section --- */

.about-alaz .experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--p-gold);
    color: #fff;
    padding: 40px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.about-alaz .experience-badge span {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.about-alaz .experience-badge label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.about-img-wrap {
    position: relative;
    padding: 0 50px 50px 0;
}

.about-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-thumb-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 180px;
    object-fit: cover;
    border: 10px solid var(--p-white);
    border-radius: 4px;
}

.about-stat-card {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--p-gold);
    color: #fff;
    padding: 25px 35px;
    text-align: center;
}

.asc-num {
    font-size: 42px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 45px;
}

.about-list li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-list i {
    color: var(--p-teal);
    font-size: 20px;
}


/* --- Tours (Cards) --- */

.tour-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--p-transition);
}

.tour-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.tc-img-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.tc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.tour-card:hover .tc-img {
    transform: scale(1.1);
}

.tc-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--p-teal);
    color: #fff;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tc-badge-gold {
    background: var(--p-gold);
}

.tc-body {
    padding: 35px;
}

.tc-title {
    font-size: 26px;
    margin-bottom: 20px;
}

.tc-meta {
    display: flex;
    gap: 20px;
    color: var(--p-text-light);
    font-size: 13px;
    margin: 20px 0;
    border-top: 1px solid #f2f2f2;
    padding-top: 20px;
}

.tc-link {
    color: var(--p-navy);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Fancy Gallery --- */

.gp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gp-item {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 4px;
}

.gp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

.gp-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gp-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--p-navy) 0%, transparent 60%);
    opacity: 0;
    transition: 0.5s;
}

.gp-item:hover::after {
    opacity: 0.8;
}

.gp-tall {
    grid-row: span 2;
    height: 670px;
}

.gp-wide {
    grid-column: span 2;
}

.gp-hover-info {
    position: absolute;
    bottom: -30px;
    left: 30px;
    right: 30px;
    opacity: 0;
    transition: 0.5s 0.2s;
    z-index: 10;
}

.gp-item:hover .gp-hover-info {
    bottom: 30px;
    opacity: 1;
}

.gp-hover-info h5 {
    color: #fff;
    font-size: 22px;
    margin: 0;
}

.gp-hover-info span {
    color: var(--p-teal);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
}


/* --- Zurf Style Carousel Gallery --- */

.gallery-carousel {
    margin: 0 -15px;
}

.gallery-carousel .slick-list {
    overflow: visible;
    /* Allows seeing partially next items for premium feel */
}

.zurf-item {
    padding: 0 15px;
    outline: none;
}

.zurf-inner {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.zurf-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.zurf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 29, 46, 0.85);
    opacity: 0;
    transition: var(--p-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.zurf-content {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s 0.1s cubic-bezier(0.2, 1, 0.3, 1);
}

.zurf-cat {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--p-gold);
    margin-bottom: 15px;
}

.zurf-title {
    font-size: 28px;
    color: var(--p-white);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    line-height: 1.2;
}

.zurf-icon {
    margin-top: 30px;
    color: var(--p-white);
    font-size: 24px;
    opacity: 0.5;
}


/* Hover States */

.zurf-inner:hover img {
    transform: scale(1.1);
}

.zurf-inner:hover .zurf-overlay {
    opacity: 1;
}

.zurf-inner:hover .zurf-content {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .zurf-inner {
        height: 400px;
    }
    .zurf-title {
        font-size: 24px;
    }
}


/* --- Timeline (Gezi Rotası) --- */

.timeline-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 120px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid var(--p-teal);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-content {
    width: 100%;
    padding: 0 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 100px;
    color: var(--p-teal);
    opacity: 0.08;
    line-height: 0.8;
    margin-bottom: -40px;
}

.timeline-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .timeline-wrap::before {
        left: 15px;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 45px;
        justify-content: flex-start;
        margin-bottom: 70px;
    }
    .timeline-dot {
        left: 15px;
    }
    .timeline-content {
        padding: 0;
    }
    .timeline-num {
        font-size: 70px;
        margin-bottom: -25px;
    }
    .timeline-img {
        height: 220px;
    }
}


/* --- Marquee --- */

.marquee-bar {
    background: var(--p-navy);
    color: #fff;
    padding: 25px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-rail {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-group {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.marquee-group .sep {
    margin: 0 40px;
    color: var(--p-gold);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* --- Global Utilities --- */

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary-alaz {
    display: inline-block;
    background: var(--p-gold);
    color: #fff;
    padding: 18px 45px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary-alaz:hover {
    background: var(--p-teal);
    transform: translateY(-3px);
}


/* --- Tidio-Style Custom WhatsApp Chat Widget --- */

.custom-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    font-family: 'DM Sans', sans-serif;
}

.chat-panel {
    position: absolute;
    bottom: 85px;
    left: 0;
    width: 340px;
    background: #f5f7f9;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.custom-chat-widget.open .chat-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-header {
    position: relative;
    padding: 30px 25px 40px;
    color: #fff;
    overflow: hidden;
}

.chat-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    z-index: 1;
}

.chat-header-content {
    position: relative;
    z-index: 2;
}

.chat-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.chat-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
}

.chat-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

.chat-body {
    padding: 0 25px;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.chat-action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.chat-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.chat-card-text strong {
    display: block;
    color: var(--p-navy);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.chat-card-text span {
    display: block;
    color: var(--p-text-light);
    font-size: 12px;
}

.chat-card-icon {
    width: 40px;
    height: 40px;
    background: #e8f5e9;
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.chat-action-card:hover .chat-card-icon {
    background: #25d366;
    color: #fff;
    transform: translateX(3px);
}

.chat-footer {
    text-align: center;
    padding: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a1aab3;
}

.chat-footer strong {
    color: #6c7a87;
    font-weight: 700;
}

.chat-toggle-btn {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.chat-toggle-btn .bi-whatsapp {
    transition: 0.3s;
    position: absolute;
}

.chat-toggle-btn .chat-icon-close {
    transition: 0.3s;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    position: absolute;
    font-size: 26px;
}

.custom-chat-widget.open .chat-toggle-btn .bi-whatsapp {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.custom-chat-widget.open .chat-toggle-btn .chat-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0);
}


/* --- Scroll to Top Button --- */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 29, 46, 0.8);
    backdrop-filter: blur(5px);
    border: none;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9995;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--p-gold);
    transform: translateY(-5px) !important;
    color: #fff;
}

@media (max-width: 576px) {
    .custom-chat-widget {
        bottom: 20px;
        left: 20px;
    }
    .chat-panel {
        width: calc(100vw - 40px);
        bottom: 75px;
    }
    .chat-toggle-btn {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}


/* --- Footer Okunabilirlik & Yapı --- */

.site-footer {
    position: relative;
    background: var(--p-navy);
    background-image: url('../images/background/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.site-footer .wave-top {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotate(180deg) translateY(99%);
    z-index: 20;
    line-height: 0;
}

.site-footer .footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 29, 46, 0.95) !important;
    z-index: 5;
}

.footer-content {
    position: relative;
    z-index: 10;
}

.footer-heading {
    color: #fff;
    font-size: 22px;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: inherit;
}

.footer-links a:hover {
    color: var(--p-teal);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--p-gold);
    font-size: 20px;
}

.footer-bottom {
    background: transparent;
    padding: 25px 0;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* --- Custom Scrollbar --- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--p-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--p-teal);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--p-gold);
}


/* --- Wave Dividers --- */

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    line-height: 0;
}

.wave-fill-white {
    fill: var(--p-white);
}

.wave-fill-footer {
    fill: #0a1d2e;
}


/* Matching footer overlay color */

.wave-top svg {
    height: 100px;
    width: 100%;
}


/* --- FAQ Section (Anasayfa SSS) --- */

.faq-section {
    position: relative;
    background: var(--p-cream);
    overflow: hidden;
    padding: 60px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--p-transition);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.faq-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--p-transition);
}

.faq-item.active .faq-header {
    background: var(--p-navy);
    color: #fff;
}

.faq-question {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--p-navy);
    margin: 0;
    transition: var(--p-transition);
}

.faq-item.active .faq-question {
    color: #fff;
}

.faq-icon {
    font-size: 18px;
    color: var(--p-gold);
    transition: var(--p-transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--p-gold);
}

.faq-body {}

.faq-content {
    padding: 0 25px 25px;
    margin-top: 10px;
    color: var(--p-text-light);
    font-size: 15px;
    line-height: 1.6;
}


/* --- Blog Card Updates & Unification --- */

.bc-img-wrap {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.bc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.blog-card:hover .bc-img-wrap img {
    transform: scale(1.1);
}

.bc-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--p-gold);
    margin-bottom: 12px;
}

.bc-title {
    line-height: 1.3;
    margin-bottom: 15px;
    transition: var(--p-transition);
}

.bc-title:hover {
    color: var(--p-teal);
}

.bc-more {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--p-navy);
    border-bottom: 1px solid var(--p-gold);
    padding-bottom: 4px;
    transition: var(--p-transition);
}

.bc-more:hover {
    color: var(--p-teal);
    border-color: var(--p-teal);
    padding-left: 5px;
}


/* --- Blog Detail Section Refined --- */

.bd-sidebar-widget {
    background: var(--p-navy);
    color: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bd-sidebar-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.bd-sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: var(--p-gold);
}

.bd-recent-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.bd-recent-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.bd-recent-content span {
    display: block;
    font-size: 10px;
    color: var(--p-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.bd-recent-content a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.bd-recent-content a:hover {
    color: var(--p-gold);
}

blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    color: var(--p-navy);
    border-left: 3px solid var(--p-gold);
    padding: 20px 40px;
    margin: 40px 0;
    background: var(--p-cream);
}


/* --- Invisible Performance Optimizations --- */

.gallery-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
    /* Helps initial scroll estimation */
}

.ggrid-item img {
    will-change: transform;
    backface-visibility: hidden;
}