/* laurado 2.0 – Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { box-sizing: border-box; }

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #69af0d; border-radius: 3px; }

/* ── Restaurant Card ── */
.restaurant-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ── Swipe Cards ── */
.swipe-card {
    position: absolute;
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    cursor: grab;
    user-select: none;
    transition: box-shadow 0.2s;
    transform-origin: center bottom;
    touch-action: none;
}
.swipe-card:active { cursor: grabbing; }
.swipe-card.is-dragging { box-shadow: 0 35px 80px rgba(0,0,0,0.3); }

.swipe-card.swipe-left {
    animation: swipeLeft 0.4s ease forwards;
}
.swipe-card.swipe-right {
    animation: swipeRight 0.4s ease forwards;
}
.swipe-card.swipe-up {
    animation: swipeUp 0.4s ease forwards;
}

@keyframes swipeLeft {
    to { transform: translateX(-120%) rotate(-20deg); opacity: 0; }
}
@keyframes swipeRight {
    to { transform: translateX(120%) rotate(20deg); opacity: 0; }
}
@keyframes swipeUp {
    to { transform: translateY(-130%) scale(0.8); opacity: 0; }
}

/* Like / Nope / Maybe indicators */
.swipe-like-badge, .swipe-nope-badge, .swipe-maybe-badge {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 10;
    pointer-events: none;
    letter-spacing: 2px;
}
.swipe-like-badge {
    top: 24px; left: 20px;
    color: #69af0d;
    border: 4px solid #69af0d;
    background: rgba(255,255,255,0.9);
    transform: rotate(-15deg);
}
.swipe-nope-badge {
    top: 24px; right: 20px;
    color: #ef4444;
    border: 4px solid #ef4444;
    background: rgba(255,255,255,0.9);
    transform: rotate(15deg);
}
.swipe-maybe-badge {
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #f59e0b;
    border: 4px solid #f59e0b;
    background: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}
.show-like  .swipe-like-badge  { opacity: 1; }
.show-nope  .swipe-nope-badge  { opacity: 1; }
.show-maybe .swipe-maybe-badge { opacity: 1; }

/* ── Hero ── */
.hero-gradient {
    background: linear-gradient(135deg, #28383E 0%, #1a2a2f 50%, #0f1f23 100%);
}

/* ── Category chips ── */
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(105, 175, 13, 0.1);
    color: #69af0d;
    border: 1px solid rgba(105, 175, 13, 0.3);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ── Filter pill active ── */
.filter-pill { transition: all 0.15s; }
.filter-pill.active {
    background: #69af0d !important;
    color: white !important;
    border-color: #69af0d !important;
}

/* ── Star rating ── */
.stars { color: #FFC103; }

/* ── Loading skeleton ── */
.skeleton {
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ── Map ── */
#map { height: 100%; min-height: 500px; }

/* ── Fade in animation ── */
.fade-in {
    animation: fadeIn 0.4s ease both;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Tag badge ── */
.location-type-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 4px;
    background: #FFC103;
    color: #28383E;
}

/* ── Sticky search bar ── */
.search-sticky {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}
