/* ============================================================
   Viptigo — Custom CSS
   Brand Colors:
   - Dark primary: #1e2331
   - Navy:         #2d3452
   - Accent gold:  #d4a017
   - Light accent: #f5c842
   - White:        #ffffff
   - Light bg:     #f7f8fc
============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #1e2331;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }
}

/* ============================================================
   DESTINATION CARDS
============================================================ */
.dest-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dest-card:hover {
    transform: translateY(-2px);
}

/* ============================================================
   SEARCH FORM
============================================================ */
#search-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

#search-form input:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2);
}

/* ============================================================
   NAVBAR
============================================================ */
header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Destinations dropdown */
#destinations-dropdown .absolute {
    transform-origin: top left;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* ============================================================
   MOBILE MENU ANIMATION
============================================================ */
#mobile-menu {
    animation: slideDown 0.2s ease;
}

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

/* ============================================================
   FAQ ACCORDION
============================================================ */
.faq-answer {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.faq-question:hover {
    background-color: #f7f8fc;
}

.faq-icon.rotate-180 {
    transform: rotate(180deg);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #d4a017;
    color: #1e2331;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #f5c842;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #1e2331;
    color: #ffffff;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #2d3452;
}

/* ============================================================
   TAILWIND OVERRIDES / UTILITIES
============================================================ */

/* Focus ring brand */
:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Smooth transitions for links */
a {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f7f8fc;
}

::-webkit-scrollbar-thumb {
    background: #d4a017;
    border-radius: 3px;
}

/* Selection */
::selection {
    background: #f5c842;
    color: #1e2331;
}

/* ============================================================
   ROUTE TIMELINE
============================================================ */
.route-timeline {
    position: relative;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    bottom: 3rem;
    width: 2px;
    background: linear-gradient(to bottom, #d4a017, #1e2331);
}

/* ============================================================
   STAT CARDS
============================================================ */
.stat-card {
    border-left: 4px solid #d4a017;
}

/* ============================================================
   SECTION DIVIDERS
============================================================ */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #d4a017, transparent);
    margin: 0;
}

/* ============================================================
   BADGE
============================================================ */
.badge-gold {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background-color: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 9999px;
    color: #d4a017;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================================
   RESPONSIVE HELPERS
============================================================ */
@media (max-width: 640px) {
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

/* ============================================================
   PRINT STYLES
============================================================ */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
}
