/* 1. DEĞİŞKENLER (Dark/Light Mode'un kalbi burası) */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #d4af37;
    --card-bg: #111111; /* Karanlık modda kart rengi */
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #b59410;
    /* Aydınlık modda kartları belirginleştiren ton */
    --card-bg: #f5f5f5; 
    --nav-bg: rgba(255, 255, 255, 0.85);
}

/* KARTLARIN AYDINLIK MODDA PATLAMASI İÇİN EKSTRA DOKUNUŞ */
[data-theme="light"] .ref-card-modern,
[data-theme="light"] .process-card,
[data-theme="light"] .iletisim-kart-class-adin, /* İletişim kartının classı neyse o */
[data-theme="light"] div[style*="background: var(--card-bg)"] {
    background: #fdfdfd !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* İletişim sayfasındaki o siyah kutuyu aydınlıkta belirgin yapalım */
[data-theme="light"] .contact-info-box {
    background: #f9f9f9 !important;
    border-color: #eee !important;
    color: #1a1a1a !important;
}

/* 2. GLOBAL AYARLAR */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s, color 0.3s;
    animation: fadeInPage 0.8s ease-in-out;
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. KONTEYNER VE NAVİGASYON */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.main-nav {
    position: fixed;
    top: 0; 
    width: 100%;
    padding: 20px 0;
    z-index: 9999;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.brand-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 2px;
}
.brand-logo span { color: var(--accent-color); }

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    opacity: 0.7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}
.nav-menu a:hover { opacity: 1; color: var(--accent-color); }

/* 4. HERO ALANI */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1920') center/cover no-repeat;
}
/* SADECE HERO BUTONLARI İÇİN AYAR */
.gold-btn, .outline-btn {
    display: inline-block !important;
    padding: 18px 45px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    transition: 0.4s ease !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    text-align: center !important;
    margin: 10px !important;
}

/* Proje Başlat Butonu */
.gold-btn {
    background: #d4af37 !important;
    color: #000 !important;
    border: 2px solid #d4af37 !important;
}

/* Çalışmalarımı Gör Butonu */
.outline-btn {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* Hover Efektleri */
.gold-btn:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
    transform: translateY(-5px);
}

.outline-btn:hover {
    background: #fff !important;
    color: #000 !important;
    transform: translateY(-5px);
}

/* Mobilde butonlar üst üste binsin diye */
@media (max-width: 768px) {
    .gold-btn, .outline-btn {
        width: 100% !important;
        margin: 5px 0 !important;
    }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Resmi biraz kararttık */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff !important; /* Hero yazıları her zaman beyaz kalsın */
}

.hero-text h1 {
    font-size: clamp(32px, 8vw, 85px);
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
}

/* 5. MOBİL AYARLAR (TEK BİR BLOKTA TOPLADIK) */
@media (max-width: 768px) {
    #menu-icon {
        display: block !important;
        cursor: pointer;
        font-size: 30px;
        color: var(--accent-color);
    }

    .nav-menu {
        display: none;
        flex-direction: column !important;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--bg-color);
        justify-content: center;
        align-items: center;
        z-index: 10000;
        gap: 20px !important;
    }

    .nav-menu.active { display: flex !important; }

    .nav-menu li { margin: 0 !important; }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    /* REFERANSLAR SAYDAMLIK AYARI */
.ref-card-modern {
    background: rgba(255, 255, 255, 0.05) !important; /* Arkayı çok hafif gösterir */
    backdrop-filter: blur(15px) saturate(180%) !important; /* İşte o meşhur buzlu cam efekti */
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 50px 40px !important;
    transition: all 0.4s ease !important;
}

/* Aydınlık Modda Saydamlık Ayarı */
[data-theme="light"] .ref-card-modern {
    background: rgba(0, 0, 0, 0.03) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Hover'da kart biraz daha parlasın */
.ref-card-modern:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-10px);
    border-color: var(--accent-color) !important;
}
}
/* GLOBAL TİPOGRAFİ UYUMU */
h1, h2, h3, h4, .brand-logo {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -1px; /* Başlıklar birbirine daha yakın ve sert dursun */
    line-height: 1.2;
}

/* Özel Vurgu Başlıkları (El Yazısı Tadında) */
h1 span, h2 span, .brand-logo span {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-weight: 600;
}

/* Paragraf ve Düz Yazı Ayarı */
p, span, li, a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    line-height: 1.8 !important; /* Satır aralarını açtık, gözü yormaz */
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Menü ve Buton Yazıları (Daha Keskin) */
.nav-menu a, .gold-btn, .outline-btn, .client-status {
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 13px !important;
}

/* Referans Yorumları İçin Özel Ayar */
.ref-text {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
}