/* ========================================
   Qingdao Travel - Main Stylesheet
   Color Scheme: Crimson, Bright Yellow, Mint
   ======================================== */

:root {
    --forest-green: #2C5530;
    --forest-dark: #1a3d1f;
    --burgundy: #8B2E2E;
    --burgundy-dark: #6B1E1E;
    --gold: #C9A961;
    --gold-dark: #B08D45;
    --dark: #1A1A1A;
    --gray: #666666;
    --light-gray: #F5F5F0;
    --white: #FFFFFF;
    --cream: #FFF8F0;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

body {
    font-family: 'Sarabun', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kanit', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* ========================================
   Navigation
   ======================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Kanit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--forest-green);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

nav .logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.05rem;
}

nav ul a:hover {
    color: var(--burgundy);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("assets/imgs/banner_qingdao.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    color: var(--gold);
    display: block;
    font-size: 3.5rem;
    margin-top: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    font-size: 1.2rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Kanit', sans-serif;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--forest-green);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.4);
    background: var(--crimson-dark);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-yellow {
    background: var(--gold);
    color: var(--dark);
}

.btn-yellow:hover {
    background: var(--yellow-dark);
}

/* ========================================
   Section Container
   ======================================== */

.section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-bg {
    background: var(--light-gray);
}

/* ========================================
   Trip Cards
   ======================================== */

.trip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.trip-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border-top: 5px solid var(--forest-green);
}

.trip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.trip-card-header {
    background: linear-gradient(135deg, var(--forest-green), var(--crimson-dark));
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trip-duration {
    font-family: 'Kanit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.trip-name {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
}

.trip-card-body {
    padding: 2.5rem 2rem;
}

.trip-highlights {
    list-style: none;
    margin-bottom: 2rem;
}

.trip-highlights li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.trip-highlights li:last-child {
    border: none;
}

.trip-highlights li i {
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-size: 1.2rem;
}

.trip-price {
    font-family: 'Kanit', sans-serif;
    font-size: 1.8rem;
    color: var(--forest-green);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.trip-price small {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.trip-card-footer {
    padding: 0 2rem 2.5rem;
}

.trip-button {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: var(--forest-green);
    color: var(--white);
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    font-family: 'Kanit', sans-serif;
}

.trip-button:hover {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.02);
}

/* ========================================
   Feature Cards
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--forest-green), var(--gold));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.2);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ========================================
   Info Cards
   ======================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--gold);
}

.info-card h3 {
    color: var(--forest-green);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    font-size: 1.5rem;
}

.info-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-card ul li i {
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-size: 0.8rem;
}

/* ========================================
   Week/Month Cards
   ======================================== */

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

.week-card,
.month-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.week-header,
.month-header {
    background: linear-gradient(135deg, var(--forest-green), var(--crimson-dark));
    padding: 1.5rem;
    color: var(--dark);
    text-align: center;
}

.week-header h3,
.month-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.week-body,
.month-body {
    padding: 2rem;
}

.month-body h4 {
    font-size: 1.2rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.week-body ul li,
.month-body ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.week-body ul li i,
.month-body ul li i {
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.8rem;
}

/* ========================================
   Price Box
   ======================================== */

.price-box {
    background: linear-gradient(135deg, var(--forest-green), var(--gold));
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.price-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-family: 'Kanit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.price-includes {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* ========================================
   Gallery
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--burgundy), var(--mint-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    padding: 2rem;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--forest-green), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--forest-green), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray);
}

.contact-item a {
    color: var(--forest-green);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--gold);
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--crimson-dark) 100%);
    padding: 5rem 5%;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */

footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Kanit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.footer-logo img {
    height: 60px;
    width: 60px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h1 span {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    nav ul {
        display: none;
    }

    .trip-cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 span {
        font-size: 2rem;
    }

    .btn {
        display: block;
        margin: 0.5rem 0;
    }

    .badge {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
