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

:root {
    /* Color Palette - Inspired by Lotus & Venkateswara Swamy */
    --primary-deep-blue: #2A0A4A; /* A rich, deep, almost indigo-purple blue - Venkateswara Swamy's divine form */
    --secondary-lotus-pink: #D8BFD8; /* A soft, spiritual light purple/pink - Lotus petal feel */
    --tertiary-divine-gold: #FFD700; /* Rich, vibrant gold - Opulence, divinity */
    --accent-vermilion: #C85A17; /* Deep orange/red - Kumkum, sacred fire, sunset glow */
    --calm-teal: #78C2AD; /* A calming, soft blue-green - Serenity, water */

    /* Neutrals */
    --text-heading: #331A4D; /* Darker text for headings, harmonizes with deep blue */
    --text-body: #555555; /* Slightly softer body text */
    --bg-light: #FDF9F3; /* Very light, warm off-white */
    --bg-white: #FFFFFF; /* Pure white for cards, forms */
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.15);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-body);
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Increased padding */
}

/* --- Header --- */
header {
    background: rgba(42, 10, 74, 0.95); /* Using primary-deep-blue with transparency */
    backdrop-filter: blur(5px); /* Subtle blur effect */
    color: var(--bg-white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px var(--shadow-light); /* Softer shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem; /* Slightly larger */
    font-weight: 700;
    color: var(--tertiary-divine-gold); /* Divine Gold for logo */
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.logo .fa-om {
    font-size: 1.6rem;
    color: var(--secondary-lotus-pink); /* Lotus Pink/Purple for Om symbol */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem; /* More spacing */
}

.nav-links a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px; /* For underline effect */
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--tertiary-divine-gold); /* Gold underline */
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-out;
}

.nav-links a:hover {
    color: var(--tertiary-divine-gold); /* Gold on hover */
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.8rem; /* Larger icon */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0; /* Remove top margin, header is fixed */
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7); /* Slightly darken video */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(42, 10, 74, 0.6) 0%, rgba(26, 46, 91, 0.8) 100%); /* Deeper blue/purple gradient */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px; /* Ensure content is not too wide */
    animation: fadeInUp 1s ease-out forwards; /* Apply animation */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem; /* Larger heading */
    margin-bottom: 1.5rem;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem; /* Larger paragraph */
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(45deg, var(--tertiary-divine-gold), var(--accent-vermilion)); /* Gold to Vermilion gradient */
    color: var(--bg-white);
    padding: 18px 40px; /* Larger button */
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3); /* Gold shadow */
}

.cta-button:hover {
    transform: translateY(-5px); /* More pronounced lift */
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.5);
}

/* Specific style for the darker explore button */
.cta-button.explore-darker-button {
    background: linear-gradient(45deg, #A88600, #C27D00); /* Darker gold to darker orange */
    box-shadow: 0 5px 15px rgba(168, 134, 0, 0.3); /* Adjust shadow to match */
}

.cta-button.explore-darker-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(168, 134, 0, 0.5); /* Adjust shadow to match */
}


/* --- Sections General --- */
section {
    padding: 100px 0; /* More vertical padding */
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 3.2rem; /* Larger title */
    margin-bottom: 4rem; /* More space below title */
    color: var(--primary-deep-blue); /* Deep blue for titles */
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    width: 100px; /* Wider underline */
    height: 4px; /* Thicker underline */
    background: var(--tertiary-divine-gold); /* Gold underline */
    position: absolute;
    bottom: -15px; /* Lower position */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- Tours Section --- */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly smaller min-width for flexibility */
    gap: 2.5rem; /* Increased gap */
    height: 100%;
}

.tour-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Flex container for image and content */
    flex-direction: column;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px var(--shadow-medium);
}

.tour-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 5px solid var(--secondary-lotus-pink); /* Lotus pink line */
}

.tour-price {
    position: absolute;
    bottom: 20px; /* Position at bottom */
    left: 20px; /* Position at left */
    background: linear-gradient(90deg, var(--tertiary-divine-gold), var(--accent-vermilion)); /* Gold to Vermilion gradient */
    color: var(--bg-white);
    padding: 10px 20px; /* More padding */
    border-radius: 25px; /* More rounded */
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tour-content {
    padding: 2.5rem; /* More padding */
    flex-grow: 1; /* Allows content to take available space */
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-family: var(--font-heading);
    font-size: 1.8rem; /* Larger title */
    margin-bottom: 1.2rem;
    color: var(--primary-deep-blue); /* Deep blue title */
    font-weight: 700;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align items vertically */
    margin-bottom: 1.5rem;
    color: var(--text-body); /* Softer body text color */
    font-size: 0.95rem;
}

.tour-meta span i {
    margin-right: 5px;
    color: var(--tertiary-divine-gold); /* Gold icon */
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 8px; /* More space */
}

.stars {
    color: var(--accent-vermilion); /* Vermilion stars */
    font-size: 1.1rem;
}

.tour-highlights {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    flex-grow: 1; /* Allows highlights to push button down */
}

.tour-highlights li {
    padding: 8px 0; /* More padding */
    position: relative;
    padding-left: 28px; /* Space for icon */
    font-size: 1rem;
    color: var(--text-body);
}

.tour-highlights li i { /* For Font Awesome checkmark */
    position: absolute;
    left: 0;
    color: var(--calm-teal); /* Calm Teal checkmark */
    font-weight: bold;
    font-size: 1.1rem;
}

.book-button {
    background: var(--primary-deep-blue); /* Deep blue button */
    color: var(--bg-white);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Pushes button to the bottom */
    text-align: center; /* Ensure text alignment for `a` tag */
    display: inline-block; /* Essential for padding/margin on anchor */
    width: 100%; /* Make it full width */
    box-sizing: border-box; /* Include padding in width */
}

.book-button:hover {
    background: var(--tertiary-divine-gold); /* Gold on hover */
    transform: translateY(-2px);
}

/* --- Testimonials Section --- */
.testimonials {
    background: linear-gradient(135deg, var(--primary-deep-blue) 0%, #4D0C80 100%);
    color: var(--bg-white);
    padding: 100px 0;
}

.testimonials .section-title {
    color: var(--bg-white);
}

.testimonials .section-title::after {
    background: var(--tertiary-divine-gold);
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(255,255,255,0.15);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.testimonial-name {
    font-weight: 700;
    color: var(--secondary-lotus-pink);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    font-size: 1.1rem;
}

.testimonial-rating i {
    color: var(--tertiary-divine-gold);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.95);
    padding: 0.5rem 0;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-lotus-pink);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Specific styling for the "no reviews" testimonial card */
.testimonial.no-reviews-testimonial {
    text-align: center;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin: 0 auto;
}

.testimonial.no-reviews-testimonial::before {
    display: none;
}

.testimonial.no-reviews-testimonial .testimonial-text {
    margin-bottom: 0;
    font-size: 1.3rem;
    color: var(--bg-white);
}


/* --- Forms Section (Combines Review Submit and Contact) --- */
.forms-section {
    background: var(--bg-white);
    padding: 100px 0;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch; /* Ensures cards are equal height */
}

.form-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    display: flex;
    flex-direction: column; /* This is key for button alignment */
}

.form-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-deep-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-deep-blue);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-lotus-pink);
    box-shadow: 0 0 0 3px rgba(216, 191, 216, 0.4);
}

/* Ensure the form element itself is a flex container and fills its parent */
.review-form, .contact-form {
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes the form fill the form-card's height */
}

/* Push the button to the bottom within its flex column parent (.review-form or .contact-form) */
.review-form .cta-button,
.contact-form .cta-button {
    margin-top: auto;
    width: 100%; /* Ensure it takes full width of the form */
}


/* Specific styling for rating stars within forms */
.rating-stars {
    display: flex;
    gap: 5px;
    font-size: 1.8rem;
    cursor: pointer;
    margin-bottom: 1rem;
    justify-content: center;
}

.rating-stars i {
    color: #ccc;
    transition: color 0.2s ease;
}

.rating-stars i.fas {
    color: var(--tertiary-divine-gold);
}


/* --- Footer --- */
footer {
    background: var(--primary-deep-blue);
    color: var(--bg-white);
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.95rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
    .forms-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
    }
    .form-card {
        padding: 2.5rem;
    }
    .testimonials-grid {
        flex-direction: column;
        max-width: 500px;
    }
    .testimonial {
        margin: 0 auto;
    }
    .testimonial.no-reviews-testimonial {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-video {
        object-fit: cover;
        height: 120%;
        top: -10%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(42, 10, 74, 0.98);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 15px var(--shadow-medium);
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    section {
        padding: 80px 0;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    .tours-grid {
        grid-template-columns: 1fr;
    }
    .testimonial {
        padding: 2rem;
    }
    .form-card {
        padding: 2rem;
    }
    .forms-grid {
        max-width: 400px;
    }
    .testimonial.no-reviews-testimonial .testimonial-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo {
        font-size: 1.6rem;
    }
    .logo .fa-om {
        font-size: 1.4rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .tour-title {
        font-size: 1.6rem;
    }
    .tour-content {
        padding: 1.8rem;
    }
    .form-card {
        padding: 1.5rem;
    }
    .forms-grid {
        max-width: 350px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}