/* ==============================================================================
 * Moon Tours 'N' Travels Master Design System - Official Brand Palette
 * Colors: Midnight Black (#050b14) & Warm Gold (#c59b27)
 * ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Official Logo Colors */
    --brand-black: #050b14;
    --brand-dark: #0a101d;
    --brand-gold: #c59b27;
    --brand-gold-hover: #a8811c;
    --brand-gold-light: rgba(197, 155, 39, 0.12);

    --bg-main: #fcfbf9;
    --bg-surface: #ffffff;
    --text-primary: #050b14;
    --text-muted: #64748b;
    --border-light: rgba(226, 232, 240, 0.8);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 20px rgba(5, 11, 20, 0.03);
    --shadow-elevated: 0 20px 40px -15px rgba(5, 11, 20, 0.08);
    --shadow-hover: 0 25px 50px -12px rgba(197, 155, 39, 0.28);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-serif {
    font-family: var(--font-serif);
}

/* ==============================================================================
 * Floating Glass Header Navigation
 * ============================================================================== */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-glass {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 155, 39, 0.2);
    border-radius: var(--radius-full);
    padding: 10px 24px;
    box-shadow: 0 10px 30px rgba(5, 11, 20, 0.08);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--brand-black);
    display: flex;
    align-items: center;
}

.navbar-brand .gold-accent {
    color: var(--brand-gold);
}

.navbar-brand .tagline-since {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    display: block;
    line-height: 1;
    margin-top: 2px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.925rem;
    color: #475569;
    padding: 8px 16px !important;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-black);
    background: var(--brand-gold-light);
}

.btn-pill-gold {
    background: var(--brand-black);
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-gold);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 11, 20, 0.2);
}

.btn-pill-gold:hover {
    background: var(--brand-gold);
    color: var(--brand-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ==============================================================================
 * Hero Banner Section
 * ============================================================================== */
.hero-wrapper {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(5, 11, 20, 0.85) 0%, rgba(5, 11, 20, 0.6) 100%), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    border-radius: 0 0 40px 40px;
    padding: 140px 20px 100px;
    color: #ffffff;
    overflow: hidden;
}

.hero-content {
    max-width: 880px;
    text-align: center;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 155, 39, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-display-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-display-title span {
    color: var(--brand-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Glass Search Widget */
.search-widget-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 155, 39, 0.3);
    padding: 16px;
    box-shadow: 0 30px 60px rgba(5, 11, 20, 0.35);
    max-width: 920px;
    margin: 0 auto;
}

.search-field-group {
    padding: 12px 20px;
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    text-align: left;
}

.search-field-group:last-child {
    border-right: none;
}

.search-field-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-gold);
    margin-bottom: 4px;
    display: block;
}

.search-field-input {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--brand-black);
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

/* ==============================================================================
 * Card Design System
 * ============================================================================== */
.card-minimal {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-minimal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-gold);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-minimal:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-badge-top {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    color: var(--brand-gold);
    border: 1px solid rgba(197, 155, 39, 0.4);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 700;
}

.card-body-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category-tag {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-gold);
    margin-bottom: 8px;
}

.card-title-heading {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-black);
    line-height: 1.35;
    margin-bottom: 12px;
}

.card-footer-action {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-black);
}

.btn-icon-arrow {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    color: var(--brand-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.card-minimal:hover .btn-icon-arrow {
    background: var(--brand-black);
    color: var(--brand-gold);
    border-color: var(--brand-gold);
}

/* Destination Pill Cards */
.dest-pill-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 330px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s ease;
}

.dest-pill-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-pill-card:hover img {
    transform: scale(1.08);
}

.dest-pill-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 11, 20, 0.9) 0%, rgba(5, 11, 20, 0.25) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #ffffff;
}

/* Feature Icon Boxes */
.feature-box {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--brand-gold);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--brand-gold-light);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 155, 39, 0.3);
}

/* Gold Accent Line Utility */
.gold-divider {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 12px;
}

.gold-divider::before, .gold-divider::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--brand-gold);
}

/* ==============================================================================
 * Minimal Footer High-Contrast Styling
 * ============================================================================== */
.footer-minimal {
    background: var(--brand-black);
    color: #e2e8f0;
    padding: 90px 0 40px;
    border-radius: 40px 40px 0 0;
    border-top: 2px solid var(--brand-gold);
}

.footer-minimal p, 
.footer-minimal .text-muted {
    color: #cbd5e1 !important;
}

.footer-brand-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--brand-gold);
    transform: translateX(3px);
}

.footer-minimal .border-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
}
