/* --- RENK PALETİ VE DEĞİŞKENLER --- */
:root {
    --dark-blue: #272030;
    --cloud: #E3EBF2;
    --mauve: #C79A99;
    --maroon: #3B0A0A;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- GENEL AYARLAR --- */
body, html {
    margin: 0; padding: 0; width: 100%;
    background-color: var(--dark-blue);
    font-family: 'Montserrat', sans-serif;
    color: var(--cloud);
    overflow-x: hidden; scroll-behavior: smooth;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 400; margin: 0; }
::selection { background-color: var(--mauve); color: var(--dark-blue); }

/* --- AÇILIŞ EKRANI --- */
#splash-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--dark-blue);
    display: flex; justify-content: center; align-items: center;
    z-index: 999999;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}
.logo-container { width: 180px; max-width: 80%; }
.logo-container svg { width: 100%; height: auto; display: block; }
.logo-container svg path, .logo-container svg polygon, .logo-container svg rect {
    fill: transparent !important; stroke: var(--cloud) !important; stroke-width: 2px !important;
    vector-effect: non-scaling-stroke !important; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke-dashoffset 2.5s ease-in-out, fill 1s ease, stroke 1s ease;
}
.logo-container svg.fill-active path, .logo-container svg.fill-active polygon, .logo-container svg.fill-active rect {
    fill: var(--cloud) !important; stroke: transparent !important;
}

/* --- ANA İSKELET VE MENÜ --- */
.main-wrapper {
    opacity: 0; transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}
.main-wrapper.visible { opacity: 1; transform: translateY(0); }

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 40px 6vw; position: absolute; width: 100%; box-sizing: border-box; z-index: 100;
}
header nav a {
    text-decoration: none; color: var(--cloud); margin-left: 40px; font-size: 12px;
    text-transform: uppercase; letter-spacing: 3px; position: relative; padding-bottom: 5px;
    transition: color var(--transition-slow);
}
header nav a::after {
    content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0;
    background-color: var(--mauve); transition: width var(--transition-slow);
}
header nav a:hover { color: var(--mauve); }
header nav a:hover::after { width: 100%; }

/* --- HEADER LOGO ALANI AYARLARI --- */
.logo-area {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.logo-img {
    width: 70px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1); 
}
.logo-sub {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--cloud);
    margin-top: 5px;
    opacity: 0.8;
}

/* --- AÇIK RENKLİ SAYFALAR AYARI --- */
.light-header .logo-img { filter: none; }
.light-header .logo-sub, .light-header nav a { color: var(--dark-blue); }
.light-header nav a:hover, .light-header nav a.active { color: var(--mauve); }

/* --- HERO BÖLÜMÜ --- */
.hero {
    height: 100vh; display: flex; align-items: center; padding: 0 6vw; position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.4; z-index: -1;
}
.hero-content { max-width: 800px; z-index: 1; }
.hero-content h2 {
    font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 300; text-transform: uppercase;
    letter-spacing: 6px; color: var(--mauve); margin-bottom: 20px; display: flex; align-items: center;
}
.hero-content h2::before { content: ''; display: inline-block; width: 40px; height: 1px; background-color: var(--mauve); margin-right: 15px; }
.hero-content h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1.05; margin-bottom: 40px; color: var(--cloud); }
.hero-content h1 i { color: var(--mauve); }

.btn-elegant {
    display: inline-flex; align-items: center; font-size: 11px; text-transform: uppercase;
    letter-spacing: 3px; color: var(--cloud); text-decoration: none; border-bottom: 1px solid rgba(227, 235, 242, 0.3);
    padding-bottom: 10px; transition: border-color var(--transition-slow), color var(--transition-slow);
}
.btn-elegant span { margin-right: 15px; }
.btn-elegant:hover { color: var(--mauve); border-bottom-color: var(--mauve); }

/* --- ÖZET BÖLÜMLER --- */
.summary-section { padding: 100px 6vw; background-color: var(--cloud); color: var(--dark-blue); display: flex; justify-content: space-between; align-items: center;}
.summary-text { max-width: 50%; }
.summary-text h3 { font-size: 2.5rem; margin-bottom: 20px; }
.summary-text p { font-size: 15px; line-height: 1.8; color: #4a4552; margin-bottom: 30px; }
.summary-image { width: 40%; aspect-ratio: 4/3; object-fit: cover; }

/* --- FOOTER --- */
footer { padding: 80px 6vw 40px; background-color: var(--maroon); color: var(--cloud); }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 60px; }
.footer-top h2 { font-size: 2.5rem; line-height: 1.2; }
.footer-contact { text-align: right; }
.footer-contact a { display: block; color: var(--cloud); text-decoration: none; font-size: 16px; margin-bottom: 10px; transition: color var(--transition-slow); }
.footer-contact a:hover { color: var(--mauve); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(227, 235, 242, 0.2); padding-top: 30px; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }
.footer-socials a { color: var(--cloud); text-decoration: none; margin-left: 30px; transition: color var(--transition-slow); }
.footer-socials a:hover { color: var(--mauve); }

/* ========================================================= */
/* --- MOBİL MENÜ TASARIMI (900PX ALTI) --- */
/* ========================================================= */
.mobile-nav-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    cursor: pointer;
    z-index: 1100; /* Nav'ın üstünde kalmalı */
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px; /* Biraz daha belirgin yaptık */
    background-color: var(--cloud);
    transition: all 0.4s ease;
}

/* Açık renkli sayfalarda hamburger ikonu koyu olsun */
.light-header .mobile-nav-toggle span { background-color: var(--dark-blue); }

@media (max-width: 900px) {
    header { padding: 25px 6vw; } /* Mobilde biraz daraltalım */
    
    .mobile-nav-toggle { display: flex; }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Tam ekran veya %80 yapabilirsin */
        height: 100vh;
        background-color: var(--dark-blue);
        display: flex !important; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    header nav.active { right: 0; }

    header nav a {
        margin: 20px 0 !important;
        font-size: 20px !important;
        letter-spacing: 5px;
        color: var(--cloud) !important; /* Mobilde her zaman açık renk kalsın */
    }

    /* İkon Animasyonu */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--mauve) !important;
    }
    .mobile-nav-toggle.active span:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--mauve) !important;
    }

    .logo-sub { display: none; } /* Mobilde uzun yazıyı gizle */
    .logo-img { width: 50px; }
    
    /* Özet bölümleri mobilde alt alta */
    .summary-section { flex-direction: column; gap: 40px; text-align: center; }
    .summary-text, .summary-image { max-width: 100%; width: 100%; }
    .footer-top { flex-direction: column; gap: 40px; text-align: center; }
    .footer-contact { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 20px; align-items: center; }
}