/* assets/css/style.css */

/* 
 * Grand Flora Entertainment - V2 VOGUE EDITION
 * Concept: Editorial, High-Fashion, Ultra-Luxe
 */

:root {
    /* Colors */
    --c-bg: #050505;
    --c-bg-card: #0a0a0a;
    --c-text: #eaeaea;
    --c-text-muted: #888888;
    --c-gold: #D4AF37;
    --c-gold-dim: #8a7020;
    --c-white: #ffffff;

    /* Typography */
    --f-display: 'Playfair Display', serif;
    --f-body: 'Inter', sans-serif;

    --s-xs: 0.5rem;
    --s-sm: 1rem;
    --s-md: 2rem;
    --s-lg: 4rem;
    --s-xl: 8rem;
    /* Editorial spacing */

    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--f-display);
    font-weight: 400;
    color: var(--c-white);
    line-height: 1.1;
}

.text-display-xl {
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: -2px;
}

.text-display-lg {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
}

.text-overline {
    font-family: var(--f-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--c-gold);
    display: block;
    margin-bottom: var(--s-sm);
}

.text-gold {
    color: var(--c-gold);
    font-style: italic;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    /* Wider container for cinematic feel */
    margin: 0 auto;
}

.full-width {
    width: 100%;
    position: relative;
}

.section-spacer {
    padding: var(--s-xl) 0;
}

/* Buttons */
.btn-vogue {
    display: inline-block;
    padding: 1.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--c-white);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.btn-vogue::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--c-gold);
    transition: width 0.5s var(--ease-out);
}

.btn-vogue:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
}

.btn-vogue:hover::after {
    width: 100%;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    /* Increased to sit above overlay */
    padding: 2rem 0;
    transition: padding 0.3s ease, background 0.3s ease;
    pointer-events: none;
    /* Allow clicks to pass through empty space */
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    /* Re-enable when scrolled background is visible (optional, but safer for UI) */
}

/* If the menu is OPEN, we want the header to be passable regardless of scroll, 
   but since overlay covers screen, scroll is usually locked or hidden. 
   Actually, simpler approach: Always none on header, auto on children. */

/* Ensure background doesn't block if we want it that way, 
   but actually if scrolled, we might want it to block page content.
   For now, strictly fixing the menu overlap issue. */

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--f-display);
    font-size: 1.5rem;
    color: var(--c-white);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 400;
    pointer-events: auto;
    /* Clickable */
}

.burger {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    z-index: 2001;
    transition: all 0.3s ease;
    pointer-events: auto;
    /* Clickable */
}

.burger span {
    display: block;
    height: 2px;
    /* Slightly thicker for visibility */
    background: var(--c-white);
    transition: 0.3s;
}

.burger span:nth-child(1) {
    width: 40px;
}

.burger span:nth-child(2) {
    width: 30px;
}

.burger span:nth-child(3) {
    width: 20px;
}

.burger:hover span {
    width: 40px;
    background: var(--c-gold);
}

/* Burger Active State (X shape) */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    width: 40px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 40px;
}

/* Mobile Nav Sidebar (Right Drawer) */
.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    /* Sidebar width */
    height: 100vh;
    background: #080808;
    /* Deep solid black */
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    /* Gold border */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align text */
    justify-content: center;
    padding: 4rem;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1500;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.nav-overlay.active {
    transform: translateX(0);
}

/* Backdrop Dim */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1400;
    /* Behind sidebar */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

body.menu-open::after {
    opacity: 1;
    pointer-events: auto;
}

/* Reveal Image Background (Optional - dimmed inside sidebar) */
.menu-reveal-img {
    opacity: 0.1;
    /* Subtle texture in background */
}

.nav-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out menu and footer */
    padding-top: 6rem;
}

.nav-menu {
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.nav-menu li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateX(30px);
    transition: 0.5s ease;
}

.nav-overlay.active .nav-menu li {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu a {
    font-family: var(--f-display);
    font-size: 2.2rem;
    /* Elegant size */
    color: var(--c-white);
    text-transform: none;
    /* Sentence case for elegance */
    position: relative;
    transition: all 0.3s;
    display: inline-block;
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.nav-menu a:hover {
    color: var(--c-gold);
    padding-left: 15px;
    /* Slight movement */
}

.nav-number {
    font-family: var(--f-body);
    font-size: 0.8rem;
    color: var(--c-gold);
    margin-right: 1rem;
    position: static;
    display: inline-block;
    vertical-align: middle;
    transform: none;
    letter-spacing: 1px;
    opacity: 0.7;
}

.nav-menu a:hover .nav-number {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-overlay {
        width: 100%;
        /* Full screen on mobile */
        border-left: none;
        padding: 2rem;
    }
}

/* Footer Minimal */
footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-footer-col p {
    color: var(--c-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Sections */

/* Hero */
.hero-v2 {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.1);
    /* For parallax JS later */
}

.hero-content-v2 {
    text-align: center;
    z-index: 2;
    mix-blend-mode: difference;
    /* High fashion text effect */
}

/* Text Image Split (Asymmetrical) */
.editorial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
    position: relative;
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.editorial-text {
    padding: 6rem;
}

.editorial-text.dark-mode {
    background: var(--c-bg-card);
}

/* Parallax Strip */
.parallax-strip {
    height: 60vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.strip-text {
    position: relative;
    z-index: 2;
    text-align: center;
    border: 1px solid var(--c-white);
    padding: 3rem 5rem;
    backdrop-filter: blur(5px);
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .editorial-split {
        grid-template-columns: 1fr;
    }

    .editorial-text {
        padding: 3rem 1.5rem;
    }

    .text-display-xl {
        font-size: 3.5rem;
    }
}

/* Main Footer Styles */
.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 6rem 0;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: var(--f-display);
    font-size: 2rem;
    color: var(--c-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--c-gold);
    font-family: var(--f-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--c-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--c-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 0;
        text-align: center;
    }
}

/* Hero Solid Button - Override all animations */
.btn-hero-solid {
    display: inline-block !important;
    padding: 1.25rem 3rem !important;
    background: #d4af37 !important;
    color: white !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 3px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.btn-hero-solid::after {
    display: none !important;
}

.btn-hero-solid:hover {
    background: #b8952b !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6) !important;
    color: white !important;
    border-color: transparent !important;
}
