/* Custom CSS for Gina's Bakery */

:root {
    --charcoal-dark: #2C2C2C;
    --charcoal-medium: #5A5A5A;
    --coral: #E8735A;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-dark);
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

/* Navigation */
.navbar {
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 44, 44, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(250, 250, 249, 0.98);
    box-shadow: 0 2px 20px rgba(44, 44, 44, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.mobile-link {
    font-family: 'Cormorant Garamond', serif;
}

/* Hero Animations */
.hero-element {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-element:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-element:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-element:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-element:nth-child(4) {
    animation-delay: 0.7s;
}

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

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral);
}

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu,
    .reveal-on-scroll {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
