/* ============================================
   Coffee Lovers — Custom Styles
   Plum + Amber | Classic & Elegant
   ============================================ */

/* ---------- Smooth scrolling ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(123, 45, 142, 0.2);
    color: #3d1543;
}

/* ---------- Base ---------- */
body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* ============================================
   NAVIGATION
   ============================================ */
#site-header {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#site-header.scrolled {
    background: rgba(245, 230, 211, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(123, 45, 142, 0.08), 0 4px 24px rgba(36, 10, 39, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #C8702B, #eebe4a);
    transition: width 0.35s ease;
}

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

/* CTA button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.35s ease;
    background: linear-gradient(135deg, #C8702B, #e5a523);
    color: #240a27;
    box-shadow: 0 4px 16px rgba(200, 112, 43, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200, 112, 43, 0.4);
    background: linear-gradient(135deg, #b05a20, #C8702B);
    color: #240a27;
}

/* Mobile nav links */
.mobile-nav-link {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ============================================
   HERO — Floating Cards
   ============================================ */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    background: rgba(123, 45, 142, 0.35);
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: 5%;
    background: rgba(200, 112, 43, 0.2);
    animation-delay: -4s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 30%;
    background: rgba(238, 190, 74, 0.12);
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Floating stat cards */
.floating-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.floating-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-1 { animation: floatA 6s ease-in-out infinite; }
.card-2 { animation: floatB 7s ease-in-out infinite; }
.card-3 { animation: floatC 5.5s ease-in-out infinite; }
.card-4 { animation: floatD 6.5s ease-in-out infinite; }

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

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

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

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

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   MENU CARDS
   ============================================ */
.menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTACT FORM
   ============================================ */
#contact-form input:focus,
#contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(200, 112, 43, 0.12);
}

/* ============================================
   IMAGE HOVER EFFECTS
   ============================================ */
img {
    transition: filter 0.4s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.15;
    }
}

@media (max-width: 640px) {
    #site-header {
        background: rgba(245, 230, 211, 0.97);
        backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(123, 45, 142, 0.08);
    }
}
