/* ===== Custom Styles for Dunkin' Donuts Louisville ===== */

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

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

body {
    background-color: #0c0c0e;
    color: #e8e8ec;
}

/* ===== Geometric Decorative Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 96, 32, 0.06) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    border-radius: 50%;
}

.circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 96, 32, 0.04) 0%, transparent 70%);
    bottom: 20%;
    left: -80px;
    border-radius: 50%;
}

.square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 128, 64, 0.1);
    top: 35%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 8px;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 96, 32, 0.04);
    top: 60%;
    right: 8%;
    transform: rotate(-15deg);
}

/* ===== Navbar ===== */
.nav-bar {
    background: rgba(12, 12, 14, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-bar.scrolled {
    background: rgba(12, 12, 14, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8040;
    transition: width 0.3s ease;
}

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

/* ===== Mobile Menu ===== */
.mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-menu-link {
    position: relative;
    display: block;
}

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

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(255, 96, 32, 0.1);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== 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;
    }
    .reveal.hidden-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0c0c0e;
}
::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6020;
}

/* ===== Selection ===== */
::selection {
    background: rgba(255, 96, 32, 0.3);
    color: #fff;
}
