/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --primary: #0f172a;
    --accent: #b48a4d;
    /* Darkened Gold for better contrast */
    --accent-hover: #96723c;
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --bg-light: #f1f5f9;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================================
   2. Typography
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   3. Navbar
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 0;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: 0.3s ease-all;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1.5rem;
        font-size: 1.2rem;
    }
}

/* =========================================
   4. Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(202, 163, 102, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-glass {
    background: rgba(0, 0, 0, 0.3);
    /* Darker background for visibility */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* =========================================
   5. Forms
   ========================================= */
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(202, 163, 102, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

/* =========================================
   6. Cards & Containers
   ========================================= */
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image,
article:hover img {
    transform: scale(1.1);
}

article {
    background-color: var(--primary);
    /* Fallback for image load failure */
}

.card-price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none !important;
}

.card-content {
    padding: 2rem;
}

/* =========================================
   7. Home Page Sections
   ========================================= */
/* Hero */
.home-hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    filter: brightness(0.6);
}

.home-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-title-wrapper {
    margin-bottom: 2.5rem;
}

.hero-title-wrapper h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    /* Adjusted to 4rem max */
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}



/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

/* Why Choose Us */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fdf6e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    transform: rotateY(360deg);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.quote-icon {
    color: var(--accent);
    font-size: 4rem;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
}

/* Newsletter */
.newsletter-section {
    padding: 5rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

/* =========================================
   8. Holiday Details
   ========================================= */
/* Hero */
.holiday-hero-section {
    position: relative;
    height: 70vh;
}

.holiday-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.holiday-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
}

.holiday-hero-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
}

.holiday-hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.holiday-hero-text {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
}

.holiday-meta-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Sidebar */
.booking-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-display {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.price-amount {
    font-size: 3.5rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1;
}

.trust-box {
    margin-top: 2rem;
    background: #fdf6e7;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(202, 163, 102, 0.2);
}

/* =========================================
   9. Footer
   ========================================= */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

footer p {
    opacity: 0.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* =========================================
   10. Utilities & Animations
   ========================================= */
/* Utility Grids */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.holiday-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Text Utilities */
.text-accent {
    color: var(--accent);
}

.text-white {
    color: white;
}

.text-center {
    text-align: center;
}

/* =========================================
   11. Media Queries (Mobile)
   ========================================= */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .holiday-details-grid {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    /* Navbar handled above in section 3 */

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .home-hero h1 {
        font-size: 2.5rem !important;
    }

    .responsive-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .holiday-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-card {
        position: static;
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .home-hero h1 {
        font-size: 2rem !important;
    }

    .home-hero-content {
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .newsletter-section div {
        flex-direction: column;
    }

    .newsletter-section input {
        border-radius: 50px !important;
    }
}