/**
 * Luna Design - Global Styles (Nav & Footer)
 */

 :root {
    --bg-cream: #FDFBF7;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --border-light: rgba(0,0,0,0.06);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-primary: 'Jost', sans-serif;
    
    /* Product Palette matching exact images */
    --color-nude: #EAD0C1;
    --color-blue: #AEC6CF;
    --color-pink: #FBCce7;
    --color-green: #A1D7B6;
    --color-purple: #C3B1E1;
    --color-yellow: #FBECA1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lang-switch {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    gap: 8px;
}

.lang-btn {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 600;
}

.nav-logo img {
    height: 40px;
    object-fit: contain;
    filter: brightness(0%);
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-links a.active::after, .nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    position: absolute;
    transition: var(--transition-smooth);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.navbar.menu-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.navbar.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--text-dark);
    color: var(--bg-cream);
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- DUAL LANGUAGE SYSTEM --- */
html[lang="tr"] .en, 
html[lang="tr"] .en-content { 
    display: none !important; 
}

html[lang="en"] .tr, 
html[lang="en"] .tr-content { 
    display: none !important; 
}

/* --- INLINE TYPOGRAPHY LOGO --- */
.inline-logo {
    height: 0.9em;
    vertical-align: baseline;
    margin-right: 0.25em;
    object-fit: contain;
    filter: brightness(0%); /* Black by default on light backgrounds */
}

/* --- FOOTER --- */
.global-footer {
    padding: 60px 10%;
    text-align: center;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 100px;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media screen and (max-width: 900px) {
    .navbar {
        height: 80px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-actions {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-cream);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .navbar.menu-open .nav-actions {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        font-size: 1.2rem;
    }
    
    .lang-switch {
        font-size: 1rem;
        border-top: 1px solid var(--border-light);
        padding-top: 40px;
        width: 100%;
        justify-content: center;
    }
    
    .global-footer {
        padding: 40px 5%;
        margin-top: 60px;
    }
}
