/*
Theme:
Primary #00A896 (teal), Secondary BG #F0F4F8, Accent/CTA #FFD166, Text #33415C
Fonts: Poppins (UI) + Inter (body)
Mobile-First: Base styles are for mobile; media queries expand for desktop.
*/

/* --- CSS Variables (Defined in inline style for critical CSS) ---
:root {
    --color-primary: #00A896;
    --color-secondary-bg: #F0F4F8;
    --color-accent-cta: #FFD166;
    --color-text: #33415C;
    --font-ui: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --card-radius: 16px;
    --card-shadow: 0 4px 16px rgba(0,0,0,.12);
    --transition-speed: 0.3s;
}
*/

/* --- Global & Base Styles (Mobile-First) --- */

html {
    scroll-behavior: smooth;
    /* Prevent text size changes on orientation change */
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.6;
    background-color: white;
    font-size: 16px;
    padding-bottom: 70px; /* Space for fixed mobile bottom bar */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed), opacity var(--transition-speed);
}
a:hover {
    color: var(--color-text);
}

/* Headings */
h1, h2, h3 {
    margin-top: 0;
    line-height: 1.2;
}
h2 {
    font-size: 1.8rem;
    font-weight: 700;
}
h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Sections */
section {
    padding: 40px 16px;
}
.bg-secondary {
    background-color: var(--color-secondary-bg);
}
.section-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--color-primary);
}
.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #667085;
}

/* --- Buttons (CTAs) --- */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #008f7e; /* Darker primary */
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.4);
}

.btn-accent {
    background-color: var(--color-accent-cta);
    color: var(--color-text);
}
.btn-accent:hover, .btn-accent:focus {
    background-color: #ffc133; /* Darker accent */
    box-shadow: 0 4px 12px rgba(255, 209, 102, 0.5);
}

.enquiry-cta {
    width: 100%;
    margin-top: auto; /* Push button to the bottom in flex container */
}


/* --- Hero Section & Widgets --- */

.hero {
    padding-top: 55px; /* Adjust for fixed header */
}

.hero-widgets {
    display: flex;
    flex-direction: column; /* Stacked on mobile */
    gap: 20px;
    margin-top: 30px;
}

.widget-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed);
    text-decoration: none;
    color: var(--color-text);
}
.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.widget-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.widget-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Card Grids --- */

.card-grid {
    display: grid;
    /* Mobile: Single column with some gap */
    grid-template-columns: 1fr;
    gap: 20px;
}

.destination-card, .temple-card, .taxi-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.destination-card:hover, .temple-card:hover, .taxi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.destination-card img, .temple-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.destination-card h3, .temple-card h3 {
    margin: 15px 15px 5px;
    color: var(--color-primary);
}
.destination-card p, .temple-card p {
    margin: 0 15px 15px;
    font-size: 0.9rem;
    flex-grow: 1; /* Ensures equal height content */
}

.destination-card .btn, .temple-card .btn {
    margin: 0 15px 15px;
}

/* Destination-Specific Styling for large grids (mobile adjustment) */
.destination-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.destination-grid-large h3 {
    margin: 10px 10px 5px;
    font-size: 1rem;
}
.destination-grid-large .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    margin: 0 10px 10px;
}

/* Taxi Card Styling */
.taxi-card {
    text-align: center;
    padding: 20px;
}
.taxi-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}
.taxi-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    font-size: 0.9rem;
    text-align: left;
    flex-grow: 1;
}
.taxi-features li {
    margin-bottom: 8px;
    padding-left: 1.5em;
    position: relative;
}
.taxi-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* --- Testimonials Slider --- */

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 30px;
    text-align: center;
    opacity: 0;
    display: none; /* Hide slides by default, JS will manage visibility */
    transition: opacity var(--transition-speed);
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}
.testimonial-slide.active {
    opacity: 1;
    display: block;
}

.testimonial-rating {
    color: var(--color-accent-cta);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-footer {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #667085;
}
.testimonial-name {
    font-weight: 600;
    color: var(--color-text);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }
.slider-btn:hover { background: var(--color-primary); }

/* Hide desktop buttons on mobile */
.floating-buttons-desktop {
    display: none;
}

/* --- Mobile Bottom Bar --- */

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99;
}
.bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 5px 0;
    transition: color 0.2s;
}
.bar-btn .icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.bar-whatsapp { color: #25D366; }
.bar-call { color: var(--color-primary); }
.bar-enquire { color: var(--color-accent-cta); }

/* Focus and Hover states for mobile bar */
.bar-btn:hover, .bar-btn:focus {
    opacity: 0.8;
}

/* --- Footer --- */

footer {
    background-color: var(--color-text);
    color: white;
    padding: 40px 16px 10px;
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h3 {
    color: var(--color-accent-cta);
    margin-bottom: 15px;
}
.footer-col p, .footer-col li {
    margin-bottom: 10px;
    line-height: 1.5;
}
.footer-col a {
    color: white;
}
.footer-col a:hover {
    color: var(--color-accent-cta);
}
.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}


/* --- Desktop/Tablet Styles (min-width: 768px) --- */

@media (min-width: 768px) {
    /* Adjust body padding for fixed header and remove mobile bar space */
    body {
        padding-top: 60px; /* Space for wider header */
        padding-bottom: 0;
    }
    
    .header-strip {
        padding: 10px 30px;
        justify-content: flex-end; /* Align to the right */
        font-size: 0.9rem;
    }
    .header-strip span:first-child {
        margin-right: 20px;
    }

    section {
        padding: 60px 30px;
    }

    /* Hero Layout */
    .hero-widgets {
        flex-direction: row; /* Side-by-side on desktop */
        max-width: 900px;
        margin: 30px auto 0;
    }

    /* Grid Layouts */
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .destination-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Footer Layout */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto 30px;
    }
    .footer-col {
        flex: 1;
        min-width: 200px;
    }
    
    /* Hide Mobile Bottom Bar on Desktop */
    .mobile-bottom-bar {
        display: none;
    }

    /* --- Desktop Floating Buttons --- */
    .floating-buttons-desktop {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 20px;
        right: 20px;
        gap: 10px;
        z-index: 100;
    }

    .float-btn {
        display: flex;
        align-items: center;
        background-color: white;
        padding: 10px 15px;
        border-radius: 50px;
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
        text-decoration: none;
        color: var(--color-text);
        transition: all 0.2s;
        cursor: pointer;
        border: none;
    }
    .float-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0,0,0,.3);
    }
    .float-btn .icon {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    .float-btn .text {
        font-weight: 600;
        font-family: var(--font-ui);
    }
    .float-whatsapp { color: #25D366; }
    .float-call-travel { color: var(--color-primary); }
    .float-call-taxi { color: #FF9800; /* Use a distinct color for taxi call */ }
    .float-enquiry { color: var(--color-accent-cta); }
}

/* Optional: Animation for Hero (Lighthouse optimization) */
.animate-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}
.hero p {
    animation-delay: 0.3s;
}
.hero-widgets {
    animation-delay: 0.6s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}