/* Custom styles for The Garden City Moose Cafe */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1a2e;
}
::-webkit-scrollbar-thumb {
    background: #324d7c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #43639a;
}

/* Selection color */
::selection {
    background: #eda811;
    color: #0f1a2e;
}

/* Geometric decorative elements */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5d982 0%, #eda811 50%, #d97902 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}
.img-zoom:hover {
    transform: scale(1.05);
}

/* Pulse animation for CTA */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(237, 168, 17, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(237, 168, 17, 0); }
}
.btn-pulse:hover {
    animation: pulse-gold 1.5s infinite;
}

/* Nav active state */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #eda811;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form styles */
input, textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, textarea:focus {
    border-color: #eda811;
    box-shadow: 0 0 0 3px rgba(237, 168, 17, 0.2);
    outline: none;
}

/* Loading state for buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}
.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
    section {
        page-break-inside: avoid;
    }
}
