/* --- DEĞİŞKENLER --- */
:root {
    --gold: #b08d57;
    --beige: #fbf9f6;
    --accent: #e8dbce;
    --dark: #4a3c31;
    --text-soft: #8c7b6c;
    --white: #ffffff;
}

/* --- TEMEL SIFIRLAMA --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { width: 100%; overflow-x: hidden; }

/* Sticky Footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--beige);
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

body > .container,
body > main {
    flex: 1;
}

/* --- ÜST BANT --- */
.top-bar {
    background-color: var(--accent);
    color: var(--dark);
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* --- NAVİGASYON --- */
.main-nav {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.35s ease, box-shadow 0.3s ease;
}

.main-nav.nav-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.main-nav:not(.nav-hidden) {
    box-shadow: 0 2px 20px rgba(74, 60, 49, 0.06);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Desktop linkleri */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* --- MOBİL HAMBURGER (3 çizgi) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 1100;
    position: relative;
}

.menu-toggle:hover {
    background: rgba(176, 141, 87, 0.10);
}

.menu-toggle span {
    width: 25px;
    height: 2.5px;
    background-color: var(--gold);
    border-radius: 3px;
    transition: 0.4s ease;
    display: block;
}

/* --- BACKDROP (koyu arka plan) --- */
.menu-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(30, 20, 10, 0.45);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* --- FOOTER --- */
.footer {
    background-color: #ebe2d8;
    padding: 30px 0;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-inner span {
    color: var(--text-soft);
    font-size: 0.85rem;
}

/* Footer Instagram Gradient Butonu */
.socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.22);
}

.socials a::before {
    content: "📸";
    font-size: 0.9rem;
}

.socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.35);
}

/* ══════════════════════════════════════
   MOBİL RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {

    .menu-toggle { display: flex; }

    /* ── MOBİL MENÜ PANELİ ─────────────────────────────
       TAM OPAK sıcak bej — arka plan ASLA görünmez
    ─────────────────────────────────────────────────── */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        height: 100%;
        /* TAM OPAK — şeffaf değil */
        background: #f2ece3;
        border-left: 2px solid #c9a96e;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 85px 0 40px;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        gap: 0;
        z-index: 999;
        box-shadow: -6px 0 30px rgba(0, 0, 0, 0.18);
        overflow-y: auto;
    }

    .nav-links.active { right: 0; }

    /* Küçük marka etiketi — üstte */
    .nav-links::before {
        content: "VIVA DESIGN";
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 0.68rem;
        letter-spacing: 5px;
        color: var(--gold);
        padding: 0 30px 25px;
        border-bottom: 1px solid rgba(74, 60, 49, 0.15);
        margin-bottom: 5px;
    }

    /* Her menü öğesi */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(74, 60, 49, 0.12);
    }

    .nav-links li:last-child {
        border-bottom: 1px solid rgba(74, 60, 49, 0.12);
    }

    /* Linkler — büyük, koyu, NET OKUNABİLİR */
    .nav-links a {
        display: block;
        padding: 20px 30px;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 2.5px;
        color: #3a2e25;        /* Çok koyu — net görünür */
        text-transform: uppercase;
        text-decoration: none;
        transition: background 0.2s, color 0.2s, padding-left 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--gold);
        background: rgba(176, 141, 87, 0.08);
        padding-left: 38px;
    }

    /* Hamburger → X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7px);
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .nav-logo { font-size: 1rem; }
    .nav-links { width: 80%; }
    .socials a { padding: 9px 18px; font-size: 0.78rem; }
}
