/* ============================================
   Cape San Blas Coffee Shop — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

/* Base Reset & Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #fbbf24, #d43f6c);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #fcd34d, #e86e8f);
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
    background: rgba(10, 10, 12, 0.92);
    border-bottom: 1px solid rgba(251, 191, 36, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(120, 24, 56, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================
   Menu Cards — Subtle Hover Glow
   ============================================ */
.group:hover .group-hover\:border-amber-500\/20 {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.06);
}

.group:hover .group-hover\:border-plum-500\/20 {
    box-shadow: 0 0 30px rgba(212, 63, 108, 0.06);
}

/* ============================================
   Image Hover Effects
   ============================================ */
.group img {
    will-change: transform;
}

/* ============================================
   Button Animations
   ============================================ */
a[href="tel:+18507051157"] {
    position: relative;
    overflow: hidden;
}

a[href="tel:+18507051157"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

a[href="tel:+18507051157"]:active::after {
    width: 200px;
    height: 200px;
}

/* ============================================
   Mobile Menu Transition
   ============================================ */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Scroll Reveal Animations
   (Progressive Enhancement — content visible by default)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

/* ============================================
   Gold Shimmer Animation for Hero Line
   ============================================ */
@keyframes shimmer {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    #hero h1 br {
        display: none;
    }

    .font-display {
        line-height: 1.2;
    }
}

/* ============================================
   Focus Styles for Accessibility
   ============================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    body {
        background: white;
        color: black;
    }

    nav, footer, .no-print {
        display: none;
    }
}
