/* ============================================
   MAIN.CSS - Global Styles for meishavernell.com
   ============================================ */

:root {
    --black: #000;
    --dark: #0a0a0a;
    --dark-gray: #1a1a1a;
    --mid-gray: #2a2a2a;
    --light-gray: #888;
    --white: #fff;
    --gold: #c9a962;
    --paper: #f5f1e8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

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

.nav-link {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(201, 169, 98, 0.3);
    touch-action: manipulation;
}

.nav-link:active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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

.nav-star {
    font-size: 1.2rem;
    color: var(--gold);
    padding: 0 20px;
    transition: transform 0.3s ease;
}

.nav-star::after {
    display: none;
}

.nav-star:hover {
    transform: scale(1.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle span {
    width: 25px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.98);
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1001;
    }

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

    .nav-links .nav-link {
        padding: 15px 30px;
        display: block;
        width: 100%;
        text-align: center;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(201, 169, 98, 0.3);
        touch-action: manipulation;
        user-select: none;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 20px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--dark-gray);
    margin-top: 60px;
}

.footer-text {
    font-size: 0.65rem;
    color: var(--mid-gray);
    letter-spacing: 0.1rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* Noise Texture (Optional) */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
