/* ══════════════════════════════════════════════════════════
   TRAVEL PROJECT - THAILAND
   CSS Styles
   ══════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --gold: #F3BF5B;
    --dark: #02091C;
    --navy: #051C43;
    --navy-mid: #294062;
    --blue-light: #80A9C5;
    --olive: #827659;
    --cream: #f5f7fa;
    --text: #051C43;
}

/* ── RESET ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(2, 9, 28, 0.9);
    backdrop-filter: blur(8px);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--blue-light);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* ── HERO ── */
.hero {
    height: 100vh;
    background:
        linear-gradient(to bottom, rgba(2, 9, 28, 0.6) 0%, rgba(5, 28, 67, 0.3) 50%, rgba(2, 9, 28, 0.8) 100%),
        url('../images/thai.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-label {
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease both;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    color: #fff;
    line-height: 1.05;
    animation: fadeUp 1s 0.2s ease both;
}

.hero h1 em {
    color: var(--gold);
    font-style: italic;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    color: var(--blue-light);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeUp 1s 0.4s ease both;
}

.hero-btn {
    margin-top: 2.5rem;
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    animation: fadeUp 1s 0.6s ease both;
}

.hero-btn:hover {
    background: var(--gold);
    color: #fff;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--blue-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

/* ── INTRO ── */
.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    align-items: center;
}

.intro-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
    filter: sepia(0.1) saturate(1.1);
    transition: filter 0.3s;
}

.intro-img:hover {
    filter: sepia(0) saturate(1.2) brightness(1.05);
}

.intro-text {
    padding: 3rem;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--navy-mid);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 2rem 0;
}

/* ── MAP SECTION ── */
.map-section {
    padding: 5rem 2rem;
    background: #fff;
    text-align: center;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
}

.map-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.map-desc {
    color: var(--navy-mid);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.map-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(5, 28, 67, 0.15);
}

.map-embed {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(5, 28, 67, 0.15);
}

.map-embed iframe {
    display: block;
}

/* ── HIGHLIGHTS ── */
.highlights {
    background: var(--navy);
    padding: 5rem 2rem;
    text-align: center;
}

.highlights h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.highlights .sub {
    color: var(--blue-light);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: var(--navy-mid);
    border: 1px solid var(--blue-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

.card:hover img {
    filter: brightness(1.05);
}

.card-body {
    padding: 1.5rem;
    text-align: left;
}

.card-tag {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--blue-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── FOOD ── */
.food {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.food-header {
    text-align: center;
    margin-bottom: 4rem;
}

.food-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-top: 0.5rem;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.food-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(5, 28, 67, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(5, 28, 67, 0.15);
}

.food-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) saturate(1.1);
    transition: filter 0.3s;
}

.food-item:hover .food-img {
    filter: brightness(1.05) saturate(1.2);
}

.food-content {
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
}

.food-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.food-item p {
    font-size: 0.88rem;
    color: var(--navy-mid);
    line-height: 1.7;
}

.food-content h5 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.food-item .addr {
    font-size: 0.85rem;
    color: var(--navy-mid);
    margin-bottom: 0.5rem;
}

.map-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.map-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.food-map {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.food-map iframe {
    display: block;
}

/* ── GALLERY ── */
.gallery {
    padding: 5rem 2rem;
    text-align: center;
    background: #fff;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.gallery-desc {
    color: var(--navy-mid);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    cursor: pointer;
    filter: saturate(0.9) contrast(1.05);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(5, 28, 67, 0.2);
    filter: saturate(1.2) contrast(1.1) brightness(1.05);
}

/* ── VIDEO EMBED ── */
.video-section {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--navy);
}

.video-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.video-desc {
    color: var(--blue-light);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── QUOTE BANNER ── */
.quote-banner {
    background:
        linear-gradient(rgba(5, 28, 67, 0.85), rgba(2, 9, 28, 0.85)),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover;
    padding: 6rem 2rem;
    text-align: center;
}

.quote-banner blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.5;
}

.quote-banner cite {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 1.5rem;
    font-style: normal;
    text-transform: uppercase;
}

/* ── TIPS ── */
.tips {
    padding: 5rem 2rem;
    background: var(--dark);
}

.tips-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.tips h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.tips .sub2 {
    color: var(--blue-light);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    display: block;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.tip {
    background: var(--navy);
    padding: 1.5rem;
    border-top: 3px solid var(--gold);
    border-radius: 8px;
}

.tip .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy-mid);
}

.tip h4 {
    color: var(--blue-light);
    font-size: 1rem;
    margin: 0.3rem 0 0.5rem;
}

.tip p {
    color: var(--blue-light);
    opacity: 0.8;
    font-size: 0.87rem;
    line-height: 1.7;
}

/* ── WEATHER TABLE ── */
.weather-section {
    padding: 5rem 2rem;
    background: #fff;
    text-align: center;
}

.weather-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.weather-desc {
    color: var(--navy-mid);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(5, 28, 67, 0.1);
}

thead {
    background: var(--navy);
    color: #fff;
}

th {
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(5, 28, 67, 0.1);
    color: var(--navy-mid);
}

tbody tr:hover {
    background: rgba(243, 191, 91, 0.1);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody td:first-child {
    font-weight: 600;
    color: var(--navy);
}

tbody td:last-child {
    color: var(--gold);
    font-weight: 600;
}

/* ── LINKS ── */
.links {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.links h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.links a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.links a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    border-top: 1px solid var(--navy-mid);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--blue-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--blue-light);
}

footer .footer-sub {
    font-size: 0.8rem;
    color: var(--navy-mid);
    margin-top: 0.5rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .intro {
        grid-template-columns: 1fr;
    }

    .intro-img {
        clip-path: none;
        height: 280px;
    }

    .intro-text {
        padding: 1.5rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img {
        height: 150px;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.7rem 0.5rem;
    }
}
