/* --- TWILIGHT PNW — MASTER STYLESHEET --- */

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

/* ━━━ TWILIGHT COLOR PALETTE ━━━
   Background:   #0d1117  (near black forest night)
   Deep blue:    #0e1a2b  (dark PNW sky)
   Mid blue:     #1a2e4a  (Forks dusk)
   Mist:         #2d4a6b  (foggy forest)
   Accent blue:  #5b8fc9  (Edward's eye color vibe)
   Silver:       #a8c0d6  (Bella's pale skin tone)
   White mist:   #dce8f0  (morning fog)
   Gold:         #c9a84c  (vampire skin in sun)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

* {
    box-sizing: border-box;
}

body {
    background-color: #0d1117;
    background-image:
        linear-gradient(180deg,
            rgba(10, 16, 26, 0.92) 0%,
            rgba(13, 22, 38, 0.88) 40%,
            rgba(11, 18, 30, 0.94) 100%
        ),
        url('https://images.unsplash.com/photo-1486915309851-b0cc1f8a0084?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: #c5d8e8;
    font-family: 'Crimson Text', 'Georgia', serif;
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ━━━ HERO ━━━ */
.hero {
    text-align: center;
    border-bottom: 1px solid rgba(91, 143, 201, 0.2);
    padding-bottom: 40px;
    width: 90%;
    max-width: 900px;
    margin: 40px auto 20px;
}

h1 {
    font-size: 3rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #dce8f0;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(91, 143, 201, 0.4), 0 2px 10px rgba(0,0,0,0.8);
}

h2 {
    font-family: 'Playfair Display', serif;
    color: #dce8f0;
}

/* ━━━ WEATHER BOX ━━━ */
.weather-box {
    background: rgba(14, 26, 43, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(91, 143, 201, 0.25) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(168, 192, 214, 0.08) !important;
}

/* ━━━ DISCOVER BUTTON ━━━ */
a[href="/quiz"] {
    background: linear-gradient(135deg, #1a3a5c, #2d5a8e) !important;
    color: #dce8f0 !important;
    border: 1px solid rgba(91, 143, 201, 0.5) !important;
    box-shadow: 0 4px 20px rgba(45, 90, 142, 0.4) !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 2px !important;
}

/* ━━━ CAROUSEL ━━━ */
.carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: auto;
    padding: 0 55px;
}

.card-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 30px 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: stretch;
}

.card-container::-webkit-scrollbar {
    display: none;
}

/* ━━━ LOCATION CARDS ━━━ */
.location-card {
    width: 200px;
    min-width: 200px;
    flex: 0 0 200px;
    background: linear-gradient(145deg, rgba(18, 32, 52, 0.85), rgba(14, 24, 42, 0.92));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(91, 143, 201, 0.22);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(168, 192, 214, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    scroll-snap-align: start;
    position: relative;
    overflow: visible;
}

.location-card::after {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 143, 201, 0.5), transparent);
    border-radius: 1px;
}

.location-card:hover {
    transform: translateY(-6px);
    border-color: rgba(91, 143, 201, 0.55);
    background: linear-gradient(145deg, rgba(26, 46, 72, 0.9), rgba(18, 34, 58, 0.95));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(91, 143, 201, 0.15);
}

.location-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.location-card h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #dce8f0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
    line-height: 1.3;
    font-weight: 800;
}

.location-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #a8c0d6;
    margin: 0;
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 600;
}

/* ━━━ SCROLL BUTTONS ━━━ */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 26, 43, 0.92);
    color: #5b8fc9;
    border: 1px solid rgba(91, 143, 201, 0.4);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: rgba(45, 74, 107, 0.7);
    border-color: rgba(91, 143, 201, 0.7);
    color: #dce8f0;
}

#left-btn { left: 0; }
#right-btn { right: 0; }

/* ━━━ GUIDE SLIDER SECTION ━━━ */
.guides-wrapper h2 {
    color: #dce8f0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.guide-slider::-webkit-scrollbar { display: none; }

/* ━━━ TRAVEL SECTION ━━━ */
.travel-section {
    background: rgba(12, 22, 38, 0.75) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(91, 143, 201, 0.2) !important;
    padding: 40px 20px;
    border-radius: 16px;
    margin: 60px auto;
    max-width: 900px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.travel-card {
    background: linear-gradient(145deg, rgba(18, 32, 52, 0.8), rgba(14, 24, 40, 0.9));
    border: 1px solid rgba(91, 143, 201, 0.18);
    padding: 20px;
    border-radius: 12px;
    width: 230px;
    text-align: left;
    transition: 0.3s ease;
}

.travel-card:hover {
    border-color: rgba(91, 143, 201, 0.5);
    background: linear-gradient(145deg, rgba(26, 46, 72, 0.85), rgba(18, 34, 58, 0.92));
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.travel-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(91, 143, 201, 0.12);
    color: #a8c0d6;
    border: 1px solid rgba(91, 143, 201, 0.4);
    border-radius: 6px;
    font-weight: bold;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.travel-btn:hover {
    background: rgba(91, 143, 201, 0.25);
    color: #dce8f0;
    border-color: rgba(91, 143, 201, 0.7);
}

/* ━━━ NEWSLETTER ━━━ */
.newsletter {
    background: linear-gradient(145deg, rgba(14, 24, 40, 0.6), rgba(10, 18, 32, 0.7));
    border-top: 1px solid rgba(91, 143, 201, 0.15);
    padding: 40px 20px;
}

.newsletter h3 {
    color: #dce8f0 !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
}

.newsletter input[type="email"] {
    background: rgba(14, 26, 43, 0.9) !important;
    color: #c5d8e8;
    border: 1px solid rgba(91, 143, 201, 0.3) !important;
    border-radius: 6px;
    padding: 10px 14px;
}

.newsletter button[type="submit"] {
    background: linear-gradient(135deg, #1a3a5c, #2d5a8e) !important;
    color: #dce8f0 !important;
    border: 1px solid rgba(91, 143, 201, 0.5) !important;
    font-family: 'Playfair Display', serif !important;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button[type="submit"]:hover {
    background: linear-gradient(135deg, #2d5a8e, #3d74b0) !important;
}
