/* ==========================================================================
   KOU ORMAN KULÜBÜ - VIP STYLE.CSS (FLUID & ULTRA RESPONSIVE MİMARİ)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
    --forest-dark: #0a1712;
    --forest-main: #143625;
    --emerald-gold: #c5a880;
    --emerald-light: #2b7a54;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75); /* Okunabilirliği artırmak için kontrast hafifçe yükseltildi */
    --glass-bg: rgba(20, 54, 37, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- TEMEL SIFIRLAMALAR & OPTİMİZASYON --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%; /* iOS cihazlarda yatay dönüşte metin büyümesini engeller */
}

/* Özel Kaydırma Çubuğu */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--forest-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--emerald-light);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--emerald-gold);
    }

/* Genel Gövde (Body) Ayarları */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--forest-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* iPhone çentik (Notch) ve mobil safe area koruması */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 30px); /* Kenar boşlukları mobil cihazlar için daha ferah hale getirildi */
}

/* --- AKILLI KAYDIRMA ANİMASYONU (SCROLL REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px); /* 40px yerine 30px daha pürüzsüz ve hızlı hissettirir */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* ==========================================================================
   BİLEŞENLER (COMPONENTS)
   ========================================================================== */

/* --- ANA MENÜ (HEADER) --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(10, 23, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s;
    transform: translateZ(0); /* Donanımsal GPU ivmelendirmesi */
}

.header-container {
    height: clamp(70px, 10vh, 90px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO VE MARKA ALANI */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 15px);
    text-decoration: none;
    will-change: transform;
}

.logo-img {
    height: clamp(40px, 6vh, 60px);
    width: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.05) rotate(2deg);
}
/* Logoya tatlı bir hover dönüşü eklendi */

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(6.5px, 1.8vw, 10px);
    font-weight: 500;
    color: var(--emerald-gold);
    letter-spacing: clamp(0.5px, 0.5vw, 2px);
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
    white-space: normal;
    line-height: 1.3;
    max-width: 220px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .logo-sub {
        max-width: none;
        white-space: nowrap;
    }
}

/* LİNKLER VE SOSYAL MEDYA */
.nav-links {
    display: flex;
    gap: clamp(20px, 3vw, 35px);
    align-items: center;
}

    .nav-links a {
        color: var(--text-main);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .nav-links a:hover {
            color: var(--emerald-gold);
        }

.social-icon {
    font-size: 18px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.nav-links a:hover .social-icon {
    transform: scale(1.2) translateY(-2px);
    color: #E1306C;
}

/* --- ETKİLEŞİMLİ BUTONLAR --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px);
    border-radius: 6px; /* 4px yerine 6px daha modern durur */
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    will-change: transform, box-shadow;
}

.btn-gold {
    background: var(--emerald-gold);
    color: var(--forest-dark) !important;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

    .btn-gold:hover {
        background: white;
        transform: translateY(-4px); /* Hover efekti biraz daha belirginleştirildi */
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
    }

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

    .btn-glass:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--emerald-gold);
        color: var(--emerald-gold);
        transform: translateY(-4px);
    }

/* ==========================================================================
   SAYFA BÖLÜMLERİ (SECTIONS)
   ========================================================================== */

/* --- HERO SİNEMATİK GİRİŞ --- */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 550px; /* Çok kısa cihazlarda sıkışmayı engeller */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(60px, 10vh, 90px);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10,23,18,0.85) 0%, rgba(10,23,18,0.4) 50%, rgba(10,23,18,1) 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.hero-badge {
    display: inline-block;
    padding: 8px clamp(15px, 3vw, 20px);
    border: 1px solid var(--emerald-gold);
    border-radius: 50px;
    color: var(--emerald-gold);
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: clamp(20px, 4vh, 30px);
    background: rgba(197, 168, 128, 0.1);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.15;
    margin-bottom: clamp(16px, 3vh, 24px);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, var(--emerald-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: clamp(15px, 2.5vw, 20px);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto clamp(30px, 6vh, 50px) auto;
}

/* --- GENEL İÇERİK BÖLÜMLERİ --- */
.section {
    padding: clamp(80px, 10vh, 120px) 0;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--emerald-gold);
    font-size: clamp(12px, 1.5vw, 14px);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: clamp(30px, 6vh, 60px);
    font-weight: 600;
}

/* --- CAM TASARIMLI KARTLAR (GLASSMORPHISM) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 30vw, 300px), 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px; /* Daha yumuşak köşeler */
    padding: clamp(30px, 5vw, 50px) clamp(25px, 4vw, 40px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02); /* İçeriden gelen cam parlaması */
    will-change: transform;
}

    .glass-card:hover {
        transform: translateY(-12px);
        border-color: var(--emerald-gold);
        box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(197, 168, 128, 0.2);
    }

    .glass-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(22px, 3vw, 28px);
        margin-bottom: 16px;
        color: white;
    }

    .glass-card p {
        color: var(--text-muted);
        font-size: clamp(14px, 1.5vw, 15px);
        margin-bottom: 30px;
    }

.card-tag {
    display: inline-block;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 4px;
    background: rgba(197, 168, 128, 0.15);
    color: var(--emerald-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- YOL HARİTASI (TIMELINE) --- */
.roadmap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

    .roadmap::after {
        content: '';
        position: absolute;
        width: 1px;
        background: var(--glass-border);
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -0.5px;
    }

.roadmap-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

    .roadmap-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }

    .roadmap-item:nth-child(even) {
        left: 50%;
    }

.roadmap-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--emerald-gold);
    border-radius: 50%;
    top: 28px;
    z-index: 2;
    box-shadow: 0 0 15px var(--emerald-gold);
}

.roadmap-item:nth-child(odd) .roadmap-dot {
    right: -8px;
}

.roadmap-item:nth-child(even) .roadmap-dot {
    left: -8px;
}

.roadmap-content {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

/* --- ANA FOOTER --- */
.main-footer {
    background: #050b08;
    padding: clamp(50px, 8vw, 80px) 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    margin-bottom: clamp(40px, 5vw, 60px);
}

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 400px;
    margin-top: 20px;
}

.footer-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2vw, 20px);
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

    .footer-links a:hover {
        color: var(--emerald-gold);
        padding-left: 6px;
    }

/* Acil Numaralar */
.emergency-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emergency-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: clamp(12px, 2vw, 14px) 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .emergency-btn span {
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .emergency-btn:hover {
        background: rgba(255,255,255,0.1);
        border-color: var(--emerald-gold);
        transform: translateX(8px);
    }

    .emergency-btn.red-alert:hover {
        border-color: #ff4757;
        box-shadow: 0 0 20px rgba(255,71,87,0.3);
    }

    .emergency-btn.red-alert span {
        color: #ff4757;
    }

/* --- ANİMASYONLAR --- */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   TABLET OPTİMİZASYONU (992px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MOBİL OPTİMİZASYONU (768px ve Altı)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content .btn {
        width: 100%;
        margin-bottom: 12px;
    }

    .roadmap::after {
        left: 24px;
    }
    /* Mobilde çizgi daha belirgin olsun diye hizalandı */
    .roadmap-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 20px 0 20px 60px;
    }

    .roadmap-dot {
        left: 16px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-wrapper {
        justify-content: center;
    }

    .footer-text {
        margin: 15px auto;
    }

    .emergency-btn {
        justify-content: center;
        gap: 15px;
    }
}

/* ==========================================================================
   MİNİ EKRANLI TELEFONLAR İÇİN (iPhone SE vb. 360px Altı)
   ========================================================================== */
@media (max-width: 360px) {
    .hero-accreditation {
        padding: 10px 15px;
    }

    .acc-icon-img {
        width: 22px;
    }

    .acc-top {
        font-size: 8px;
    }

    .acc-bottom {
        font-size: 10px;
        line-height: 1.4;
    }

    .roadmap-content {
        padding: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 12px;
    }
}
