/* =========================================
   GLOBAL VARIABLES & TYPOGRAPHY
========================================= */
:root {
    --bg-color: #FAF9F7; /* Warm cream */
    --text-main: #2C2C2C; /* Soft charcoal */
    --text-muted: #7A7571; /* Earthy grey */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
h1, h2, h3, .serif { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Global Buttons */
.btn { display: inline-block; padding: 18px 45px; border: 1px solid var(--text-main); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; transition: 0.4s; background: transparent; color: var(--text-main); margin-top: 40px; cursor: pointer; }
.btn:hover { background: var(--text-main); color: var(--bg-color); }

/* Global Fade Animations */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-element { opacity: 0; transform: translateY(40px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-element.visible { opacity: 1; transform: translateY(0); }


/* =========================================
   DYNAMIC NAVIGATION BAR
========================================= */
nav { position: fixed; top: 0; left: 0; width: 100%; padding: 30px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; color: var(--text-main); transition: padding 0.4s ease; }
.signature-logo { height: 150px; width: auto; max-width: 60vw; display: block; transition: height 0.4s ease; filter: brightness(0.2); }
.nav-links { display: flex; gap: 40px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; }
.nav-links a:hover { opacity: 0.6; }

/* Hamburger Icon */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 30px; height: 1px; background-color: currentColor; transition: 0.3s; }

/* Scrolled Navbar State */
nav.scrolled { padding: 10px 5%; color: #fff; mix-blend-mode: difference; }
nav.scrolled .signature-logo { height: 50px; filter: brightness(0) invert(1); }

/* Mobile Menu Overlay */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--bg-color); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 1.5rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 4px; font-family: 'Montserrat', sans-serif; }
.mobile-menu .close-btn { position: absolute; top: 30px; right: 5%; font-size: 3rem; cursor: pointer; color: var(--text-main); font-weight: 100; line-height: 1; }


/* =========================================
   FOOTER
========================================= */
footer { padding: 60px 5% 40px; text-align: center; background-color: var(--text-main); color: var(--bg-color); }
.socials { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.socials a:hover { color: #D4C5B9; }
.copyright { font-size: 0.65rem; color: #888; letter-spacing: 2px; text-transform: uppercase; }


/* =========================================
   GLOBAL MOBILE RESPONSIVENESS
========================================= */
@media(max-width: 768px) {
    nav { padding: 20px 5%; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .signature-logo { height: 90px; }
    nav.scrolled .signature-logo { height: 40px; }
}

/* =========================================
   DEVELOPMENT BANNER (REMOVE BEFORE LAUNCH)
========================================= */
.dev-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--text-main);
    color: var(--bg-color);
    padding: 10px 20px;
    font-size: 0.65rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 9999; /* Keeps it on top of absolutely everything */
    border: 1px solid #FAF9F7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: none; /* Prevents it from blocking clicks on the page */
}

@media(max-width: 768px) {
    .dev-badge {
        bottom: 0;
        right: 0;
        width: 100%;
        text-align: center;
        border: none;
        border-top: 1px solid #FAF9F7;
    }
}