/* Custom CSS for Queen of Ice Cream */

:root {
    --forest-dark: #1a3c2a;
    --forest: #2d5a3f;
    --forest-light: #4a7c5c;
    --off-white: #f8f6f1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--off-white);
    color: var(--forest-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Custom Colors */
.bg-forest-dark { background-color: var(--forest-dark); }
.bg-forest { background-color: var(--forest); }
.bg-forest-light { background-color: var(--forest-light); }
.bg-off-white { background-color: var(--off-white); }
.text-forest-dark { color: var(--forest-dark); }
.text-forest { color: var(--forest); }
.text-forest-light { color: var(--forest-light); }
.text-off-white { color: var(--off-white); }

/* Navigation */
#navbar {
    background: rgba(248, 246, 241, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(26, 60, 42, 0.1);
}

/* Hero Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Items */
.menu-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
input:focus,
textarea:focus {
    border-color: var(--forest-dark) !important;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile Menu */
#mobile-menu {
    border-top: 1px solid rgba(26, 60, 42, 0.1);
}

/* Subtle hover effects */
a {
    text-decoration: none;
}

/* Selection color */
::selection {
    background-color: var(--forest);
    color: var(--off-white);
}

/* Focus styles */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-cormorant {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    #navbar,
    #menu-toggle,
    #mobile-menu {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}
