/* =============================================
   Martha Marie's — Custom Styles
   Classic & Elegant · Midnight Blue + Mint
   ============================================= */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: rgba(111, 188, 142, 0.2);
    color: #e5f5eb;
}

/* =============================================
   Navbar
   ============================================= */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
    background: rgba(13, 22, 34, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(111, 188, 142, 0.08);
}

/* =============================================
   Hero
   ============================================= */
#hero {
    background: linear-gradient(135deg, #0d1622 0%, #1a2d44 50%, #0d1622 100%);
}

/* =============================================
   Menu Tabs
   ============================================= */
.menu-tab {
    background: transparent;
    color: rgba(163, 193, 217, 0.5);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.menu-tab:hover {
    color: rgba(163, 193, 217, 0.8);
    border-color: rgba(111, 188, 142, 0.2);
}

.menu-tab.active {
    background: rgba(111, 188, 142, 0.1);
    color: #9fd7b5;
    border-color: rgba(111, 188, 142, 0.3);
}

/* Menu items */
.menu-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(111, 188, 142, 0.06);
    transition: padding-left 0.3s ease;
}

.menu-item:hover {
    padding-left: 8px;
}

.menu-item:last-child {
    border-bottom: none;
}

/* =============================================
   Form
   ============================================= */
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(111, 188, 142, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(111, 188, 142, 0.08);
}

/* Date input fix */
input[type="date"] {
    color-scheme: dark;
}

/* =============================================
   Scroll Reveal Animations
   Progressive enhancement — only applies when JS loads
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* =============================================
   Mobile Menu
   ============================================= */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* =============================================
   Utility
   ============================================= */
img {
    display: block;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}
