/* Kerala Tourism Inspired Aesthetic */
:root {
    --kerala-green: #245a31;
    --kerala-gold: #c5a059;
    --kerala-offwhite: #f7f9fa;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--kerala-offwhite);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Hero Section - Immersive & Vibrant */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-attachment: scroll;
    /* Better mobile compatibility */
}

.hero-content {
    z-index: 2;
    text-align: left;
    /* Alignment change for tourism feel */
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--kerala-green);
    color: white;
    box-shadow: 0 10px 30px rgba(36, 90, 49, 0.2);
    border-radius: 4px;
}

.btn-primary:hover {
    background: #1a4224;
    transform: translateY(-5px);
}

/* Content Sections */
section {
    padding: 8rem 0;
}

.section-title {
    margin-bottom: 5rem;
    text-align: center;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--kerala-green);
}

/* Destination/Feature Cards */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.card {
    background: white;
    padding: 0;
    /* Removing internal padding for image-to-edge feel */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.card-img-container {
    height: 300px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card:hover .card-img-container img {
    transform: scale(1.1);
}

.card-content {
    padding: 3rem;
}

.direct-benefits {
    border-top: 5px solid var(--kerala-green);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('images/emerald_hero.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* Comparison Section */
.comparison {
    padding: 5rem 0;
    background-color: var(--secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--foreground);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* Gallery/Features */
.features {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Booking Row */
.booking-row {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.booking-row h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.btn-white {
    background-color: white;
    color: var(--primary);
}

/* Gallery Section */
.visual-gallery {
    padding: 2rem 0;
}

.gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-item {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-lg {
    padding: 1.25rem 3.5rem;
    font-size: 1.1rem;
}

.hero-actions {
    margin-top: 2.5rem;
}

/* Typography Refresh */
.subtitle {
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-weight: 600;
    color: #ffd700;
    /* Gold touch */
    margin-bottom: 1rem;
    display: block;
    font-size: 0.9rem;
}

/* OTA Logo Styling */
.ota-logos {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    opacity: 0.5;
}

.ota-logos span {
    font-weight: 700;
    font-size: 1rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

/* Specific Card Refinement */
.ota-comparison {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.direct-benefits {
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.direct-benefits::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 5px 35px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-row {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}