        :root {
            --primary-bg: #FFFFFF;
            --accent: #5E0006;
            --hover-link: #EC8F8D;
            --black-ui: #000000;
            --font-cursive: 'Lavishly Yours', cursive;
            --font-sans: 'Be Vietnam Pro', sans-serif;
            --side-margin: 12%; /* Consistent left margin for logo and socials */
            --header-height: 85px;
            --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: var(--font-sans); 
            background-color: var(--primary-bg); 
            color: #1a1a1a;
            overflow-x: hidden;
            line-height: 1.6;
            
        }
.form-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    z-index: 3000; /* increase above header and other modals */
    padding: 20px;
    overflow-y: auto;
}

.form-popup-body {
    background: white;
    width: 100%;
    max-width: 600px;
    padding: 50px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    animation: popupFade 0.5s ease;
    z-index: 3001; /* ensure content is above overlay */
}
@keyframes popupFade {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove absolute positioning from close-popup */
.close-popup {
    position: static; /* instead of absolute */
    display: block;
    margin: 30px auto 0; /* centered and spaced from the form */
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--accent, #ff5a5f);
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s;
}

.close-popup:hover { 
    transform: scale(1.2); 
}
.modal-body {
    background: white;
    width: 100%;
    max-width: 600px;
    padding: 50px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--accent);
    font-weight: bold;
    transition: transform 0.3s;
}

.close-modal:hover {
    transform: scale(1.2);
}

.auth-box input,
.auth-box select,
.auth-box textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    outline: none;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.auth-box input:focus,
.auth-box select:focus,
.auth-box textarea:focus {
    border-color: var(--accent);
}

.auth-box label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

        h1, h2, h3, h4, .cursive { font-family: var(--font-cursive); font-weight: 400; }

        /* --- HEADER & MARGIN LOGO --- */
/* --- HEADER & MARGIN LOGO --- */
.page-header {
    position: fixed;      /* Keep header fixed on scroll */
    top: 0;               /* Stick to top */
    left: 0;
    width: 100%;          /* Full width */
    display: flex;
    z-index: 1000;        /* Stay above other content */
    height: var(--header-height);
    background: rgba(0,0,0,0.85); /* Optional: semi-transparent background */
    padding: 0 0;         /* remove extra padding */
}

/* Optional: to ensure content below header doesn’t go under it */
        .logo-container {
            top:0;
            width: 300px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100px;
        }

        .logo-container img {
            max-height: 195px;
            width: auto;
            cursor: pointer;
        }

        .nav-bar {
            height: 100px;
            flex-grow: 1;
            background: var(--black-ui);
            display: flex;
            justify-content: flex-end;
            align-items: center;
            padding: 0 50px;
        }

        nav { display: flex; gap: 35px; align-items: center; }
        nav a {
            color: white;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: var(--transition);
        }
        nav a:hover { color: var(--hover-link); }

        .auth-btn {
            background: var(--accent);
            color: white !important;
            padding: 10px 25px;
            border-radius: 0;
            font-weight: 700;
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            position: relative;
            background: url('https://static.wixstatic.com/media/2e2a49_35727d64782e4f0bb4801c7b1218a76a~mv2.jpg/v1/fill/w_1547,h_900,al_c,q_85,enc_avif,quality_auto/2e2a49_35727d64782e4f0bb4801c7b1218a76a~mv2.jpg') center/cover no-repeat fixed;
            display: flex;
            margin-left: 5rem;
            align-items: center;
            padding-left: var(--side-margin);
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.2);
        }

/* Social icons aligned inside hero left margin */
.left-margin-icons {
    position: absolute;
    left:-4rem; /* align with hero's padding-left */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.margin-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    background: white;
    transition: var(--transition);
}

.margin-icon:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.1);
}
        .hero-content {
            z-index: 5;
            padding: 80px;
            max-width: 650px;
            animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

        .hero-content h1 { font-size: 5rem; line-height: 0.9; margin-bottom: 20px;             color: white;
 }
        .hero-content p { font-size: 1.1rem; color: #ffffff; margin-bottom: 40px; }

        .btn-main {
            background: var(--accent);
            color: white;
            border: none;
            padding: 18px 45px;
            font-family: var(--font-sans);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: var(--transition);
            display: inline-block;
            text-decoration: none;
        }
        .btn-main:hover { background: black; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

        /* --- SECTION 2: STORYTELLING --- */
        .story-section { padding: 150px var(--side-margin); }
        .section-subheading { text-align: center; margin-bottom: 100px; }
        .section-subheading p { text-transform: uppercase; letter-spacing: 5px; font-weight: 800; font-size: 0.7rem; color: #999; }
        .section-subheading h2 { font-size: 4.5rem; color: var(--accent); }

        .story-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 80px;
            align-items: center;
        }
        .story-img img { width: 100%; height: 600px; object-fit: cover; box-shadow: 20px 20px 60px rgba(0,0,0,0.1); }
        .story-text h3 { font-size: 3.5rem; margin-bottom: 30px; line-height: 1.1; }
        .story-text p { margin-bottom: 25px; color: #555; font-size: 1.05rem; }

        /* --- SECTION 3: BLACK CARD OVERLAY --- */
        .black-card-wrapper {
            background: white;
            padding: 100px 0 200px;
            position: relative;
        }
        .black-bg-card {
            background: var(--black-ui);
            margin: 0 var(--side-margin);
            padding: 100px 60px 300px;
            text-align: center;
        }
        .black-bg-card h2 { color: white; font-size: 5rem; margin-bottom: 20px; }
        
        .carousel-container {
            display: flex;
            gap: 30px;
            margin: -250px var(--side-margin) 0;
            overflow-x: auto;
            padding: 40px 0;
            scrollbar-width: none;
        }
        .carousel-container::-webkit-scrollbar { display: none; }

        .product-card {
            min-width: 380px;
            background: white;
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
            transition: var(--transition);
        }
        .product-card:hover { transform: translateY(-20px); }
        .product-card img { width: 100%; height: 280px; object-fit: cover; }
        .product-card-body { padding: 40px; }
        .product-card-body h4 { font-size: 2.5rem; margin-bottom: 15px; }
        .product-card-body p { font-size: 0.95rem; margin-bottom: 25px; opacity: 0.7; }

        /* --- SECTION 4: GALLERY FRAME --- */
        .gallery-frame-section { padding: 150px var(--side-margin); }
        .ornate-frame {
            border: 25px solid #1a1a1a;
            padding: 60px;
            background: #fff;
            position: relative;
            box-shadow: 0 50px 100px rgba(0,0,0,0.1);
        }
        .collage-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, 300px);
            gap: 20px;
        }
        .collage-item { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; cursor: pointer; }
        .collage-item:hover { filter: brightness(1.1); transform: scale(1.02); z-index: 2; }
        .col-span-2 { grid-column: span 2; }
        .row-span-2 { grid-row: span 2; }

        /* --- SECTION 5: RELATED CONTENT --- */
        .related-card {
            background: var(--accent);
            margin: 100px var(--side-margin);
            padding: 100px;
            color: white;
        }
        .related-card h2 { font-size: 4rem; margin-bottom: 60px; }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }
        .teaser-item { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 30px; }
        .teaser-item h5 { font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 3px; margin-bottom: 20px; }
        .teaser-item p { font-size: 0.9rem; opacity: 0.8; }

        /* --- FOOTER --- */
        footer {
            background: var(--black-ui);
            color: white;
            padding: 120px var(--side-margin) 60px;
        }
        .footer-top {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 80px;
            padding-bottom: 80px;
            border-bottom: 1px solid #333;
        }
        .footer-logo img { height: 65px; filter: invert(1); margin-bottom: 30px; }
        .footer-col h6 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 35px; color: var(--hover-link); }
        .footer-col ul { list-style: none; }
        .footer-col li { margin-bottom: 15px; font-size: 0.9rem; opacity: 0.6; cursor: pointer; transition: 0.3s; }
        .footer-col li:hover { opacity: 1; transform: translateX(5px); }
        
        .footer-socials { display: flex; gap: 15px; margin-top: 30px; }
        .footer-social-link {
            width: 45px; height: 45px; border-radius: 50%; border: 1px solid #444;
            display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s;
        }
        .footer-social-link:hover { border-color: white; background: white; color: black; }

        /* --- PAGE CONTAINERS --- */
        .page { display: none; padding-top: var(--header-height); min-height: 100vh; animation: fadeIn 0.8s ease; }
        .page.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* --- MODALS & FORMS --- */
        .modal-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.95);
            z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px;
        }
        .modal-body {
            background: white; width: 100%; max-width: 1000px; padding: 80px; position: relative;
            max-height: 90vh; overflow-y: auto;
        }
        .close-modal { position: absolute; top: 30px; right: 30px; cursor: pointer; transform: scale(1.5); }

        .auth-box { width: 100%; max-width: 450px; background: white; padding: 60px; box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
        .input-wrap { margin-bottom: 25px; }
        .input-wrap label { display: block; font-weight: 800; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 10px; }
        .input-wrap input { width: 100%; padding: 15px; border: 1px solid #ddd; outline: none; transition: 0.3s; }
        .input-wrap input:focus { border-color: var(--accent); }

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1100px) {
    :root { --side-margin: 5%; }

    /* Reduce hero text and spacing */
    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1rem; }

    /* Stack story grid vertically */
    .story-grid { grid-template-columns: 1fr; gap: 50px; }

    /* Stack carousel cards */
    .carousel-container { margin-top: -100px; overflow-x: auto; }

    /* Footer: stack columns */
    .footer-top { grid-template-columns: 1fr; gap: 50px; padding-bottom: 50px; }

    /* Logo container */
    .logo-container { width: 100%; justify-content: flex-start; padding-left: 20px; }

    /* Nav bar: full width, align items below logo on small screens */
    .nav-bar { flex-direction: column; align-items: flex-start; padding: 10px 20px; height: auto; }

    nav { flex-direction: column; gap: 15px; margin-top: 10px; }
    nav a { font-size: 0.9rem; }

    /* Hero section */
    .hero { padding-left: var(--side-margin); margin-left: 0; height: auto; padding-top: 120px; }
    .hero::before { background: rgba(0,0,0,0.3); }

    /* Left margin icons for small screens */
    .left-margin-icons { left: 10px; gap: 15px; }

    /* Story image smaller */
    .story-img img { height: 400px; }

    /* Black card overlay adjustments */
    .black-bg-card { padding: 60px 30px 150px; margin: 0 var(--side-margin); }

    /* Gallery grid: 2 columns on medium, 1 column on small screens */
    .collage-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 15px; }
    .collage-item { height: auto; }

    /* Related content cards stack vertically */
    .related-grid { grid-template-columns: 1fr; gap: 30px; margin: 50px var(--side-margin); }

    /* Reduce footer padding */
    footer { padding: 80px var(--side-margin) 40px; }
}

/* Extra small screens */
@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 0.9rem; }

    .nav-bar { padding: 10px; }
    nav { gap: 10px; }
    .auth-btn { padding: 8px 15px; font-size: 0.75rem; }

    .story-text h3 { font-size: 2rem; }
    .story-text p { font-size: 0.9rem; }

    .carousel-container { padding: 20px 0; gap: 20px; }
    .product-card { min-width: 300px; }

    .footer-top { padding-bottom: 30px; }
    }
    
    /* Hamburger styles */
#hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}
#hamburger div {
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Mobile nav hidden initially */
#main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}
@media (max-width: 900px) {
    #hamburger { display: flex; }
    #main-nav {
        display: none; /* hide nav links */
        flex-direction: column;
        width: 100%;
        background: var(--black-ui);
        position: absolute;
        top: var(--header-height);
        left: 0;
        padding: 20px 0;
    }
    #main-nav.active { display: flex; }
    #main-nav a {
        padding: 10px 20px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}
    
    