/* ========================================
   Brummett's Village Inn — Custom Styles
   ======================================== */

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

/* Selection */
::selection {
    background-color: #2a5c2a;
    color: #faf8f4;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #8fb88f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2a5c2a;
}

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

#navbar.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(26, 60, 42, 0.08);
}

#navbar.scrolled .font-display,
#navbar.scrolled span:first-of-type {
    color: #1a3c1a !important;
}

#navbar.scrolled .text-forest-600,
#navbar.scrolled .text-forest-700 {
    color: #2a5c2a !important;
}

/* ========================================
   Hero Circles
   ======================================== */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #f5f0e8;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 30%;
}

/* ========================================
   Floating Cards
   ======================================== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -2s;
}

.card-3 {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ========================================
   Menu Cards
   ======================================== */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* ========================================
   Gallery
   ======================================== */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-hidden,
    .reveal-visible {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dce8df;
    transition: color 0.2s ease;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    color: #2a5c2a;
}

/* ========================================
   Button Focus States
   ======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .hero-circle {
        display: none;
    }
    
    #hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    #navbar,
    .floating-card,
    .hero-circle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
