:root {
    --primary-green: #2e7d32;
    /* Premium Emerald */
    --secondary-green: #43a047;
    /* Lighter Green */
    --earth-brown: #5d4037;
    --premium-gold: #d4af37;
    --soft-cream: #fcfbf7;
    /* Original Cream Background */
    --text-dark: #2c3e50;
    /* Original Dark Text */
    --text-light: #ffffff;
    --accent-orange: #ff851b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    /* Light Mode Glass */
    /* Adjusted for dark mode */
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --font-serif: 'Poppins', sans-serif;
    --font-sans: 'Poppins', sans-serif;
}

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

body {
    background-color: var(--soft-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.serif-text {
    font-family: var(--font-serif);
    color: var(--primary-green);
}

.premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--premium-gold);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-green);
    z-index: 10003;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 20px;
    }

    .nav-links.active {
        right: 0;
        z-index: 10002;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1.1rem;
    }

    nav.scrolled .mobile-menu-toggle {
        color: var(--primary-green);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-book {
    background: var(--primary-green);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-book:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Updated Premium Hero */
.hero {
    height: 100vh;
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(45, 90, 39, 0.7), rgba(45, 90, 39, 0.5)), url('../images/hero-bg-kerala-opt.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Global Footer */
footer {
    background: var(--primary-green);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Discount Badge */
.discount-badge {
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
    margin-left: 8px;
}

/* Discount Calculator Button - Default Hidden */
.discount-calc-btn {
    display: none !important;
}

body.edit-mode .discount-calc-btn {
    display: inline-block !important;
}

/* Logo Protection */
.logo img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.logo {
    -webkit-user-drag: none;
}

/* Package Card Styling (Home & Packages) */
.price-tag {
    background: #fdfbf7;
    padding: 15px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px dashed var(--primary-green);
    text-align: center;
}

.price-tag .value,
.price-tag [id*="-val"] {
    display: block;
    font-size: 0.95rem;
    color: #888;
    text-decoration: line-through !important;
    /* Value Price Crossed */
    margin-bottom: 5px;
}

.price-tag .price,
.price-tag [id*="-price"] {
    display: block;
    font-size: 2.2rem;
    /* Increased size */
    font-weight: 800;
    /* Bold */
    color: var(--primary-green);
    /* Green bold price */
    margin: 5px 0;
}

.btn-book-card {
    background: var(--primary-green) !important;
    /* Green Button Box */
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
}

.btn-book-card:hover {
    background: var(--secondary-green) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

/* Edit Mode Controls */
.add-benefit-btn {
    display: none !important;
}

body.edit-mode .add-benefit-btn {
    display: block !important;
}