/* ============================================
   Log Cabin Restaurant — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

/* ---------- Base Reset & Typography ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5f0e8;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1419;
}
::-webkit-scrollbar-thumb {
    background: #2a3f52;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ---------- Navigation ---------- */
#main-nav {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav-scrolled {
    background: rgba(13, 27, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Mobile Menu ---------- */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-open {
    overflow: hidden;
}

#mobile-menu.menu-open {
    transform: translateX(0);
}

#menu-overlay {
    transition: opacity 0.4s ease;
}

.menu-overlay-active {
    display: block;
}

/* ---------- Mobile Nav Links ---------- */
.mobile-nav-link {
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    padding-left: 8px;
}

/* ---------- Gold Button Glow ---------- */
.bg-lc-gold {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.bg-lc-gold:hover {
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.35);
}

/* ---------- Image Hover Effects ---------- */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Form Focus States ---------- */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(201, 168, 76, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1) !important;
}

/* ---------- Smooth Section Transitions ---------- */
section {
    position: relative;
}

/* ---------- Decorative Divider ---------- */
a[href^="#"] {
    text-decoration: none;
}

/* ---------- Image Aspect Ratios ---------- */
img {
    max-width: 100%;
    height: auto;
}

/* ---------- Map Contrast Override ---------- */
iframe[title*="Google Maps"] {
    border-radius: 0;
}

/* ---------- Card Tilt on Hover ---------- */
.group {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.group:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ---------- Gold Accent Line Animation ---------- */
.w-12.h-px.bg-lc-gold\/60 {
    transition: width 0.4s ease;
}

/* ---------- Responsive Typography ---------- */
@media (max-width: 640px) {
    .font-display.text-4xl {
        font-size: 2.25rem;
        line-height: 1.2;
    }
}

@media (min-width: 1024px) {
    .font-display.text-6xl {
        font-size: 3.75rem;
    }
    .font-display.text-7xl {
        font-size: 4.5rem;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    #main-nav,
    #mobile-menu,
    #menu-overlay {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    section {
        page-break-inside: avoid;
    }
}
