/* Base Styles */
:root {
    --primary-color: #d93636; /* Darkened for WCAG AA contrast compliance */
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Sticky Navigation Bar */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 15px 20px;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}
.sticky-nav.visible {
    transform: translateY(0);
}
.sticky-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sticky-nav-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-dark);
}

/* Header / Hero Section */
header {
    position: relative; /* Needed for absolute positioning of children */
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    overflow: hidden; /* Ensures the image doesn't bleed out */
    display: flex; /* Use flexbox to center content */
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2d3436; /* Fallback color */
    z-index: -1; /* Place it behind the content */
}
.hero-image-container::after {
    content: ''; /* Creates the dark overlay */
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Same as background-size: cover */
    object-position: center; /* Same as background-position: center */
}
header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    background-color: #c22a2a; /* Darkened hover state */
}

/* Loading Spinner for Buttons */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Section Formatting */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

/* Fleet / Pictures Section */
.fleet-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.fleet-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    width: 320px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.fleet-card:hover {
    transform: translateY(-10px);
}

.fleet-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fleet-info {
    padding: 20px;
    text-align: center;
}

.fleet-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2980b9;
    margin-bottom: 15px;
    display: block;
}

/* Booking Form */
.booking-section {
    background: var(--text-light);
    padding: 50px 20px;
    margin: 0 auto;
    border-top: 5px solid var(--secondary-color);
    border-bottom: 5px solid var(--secondary-color);
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 40px 20px 60px;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--text-light);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    width: 350px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.testimonial-quote {
    font-style: italic;
    color: #555;
    flex-grow: 1; /* Allows quote to take up available space */
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 15px;
    text-align: right;
}

/* FAQ Section */
.faq-section {
    padding: 40px 20px 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f3f3f3;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease-out;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fdfdfd;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #555;
}

/* This style is added by JS to show the answer */
.faq-answer.show {
    /* A height large enough to accommodate any answer */
    max-height: 300px; 
}

/* Payment Summary Box */
.payment-summary {
    background-color: #e8f8f5;
    border: 2px solid var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.payment-summary h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

/* Payment Success Message Styles */
.payment-success {
    text-align: center;
}
.payment-success h3 {
    color: #27ae60;
    font-size: 2rem;
    margin-bottom: 10px;
}
.payment-success p {
    font-size: 1.1rem;
}
.payment-success hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Responsive */
@media(max-width: 768px) {
    header h1 { font-size: 2.5rem; }
    .fleet-card { width: 100%; }
    .testimonial-card { width: 100%; }
}
/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Gallery Lightbox Modal - Specific Styles */
#galleryModal {
    display: none; /* Hidden by default */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

.gallery-modal-image {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 5px;
}

/* T&C Modal (Pop-up) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: var(--text-light); 
    margin: 5% auto; 
    padding: 40px; 
    border-radius: 10px; 
    max-width: 800px; 
    max-height: 80vh; 
    overflow-y: auto; 
    position: relative;
}

.close-btn {
    /* Reset button styles */
    background: none;
    border: none;
    padding: 0;
    /* Original styles */
    position: absolute; 
    top: 15px; 
    right: 25px; 
    font-size: 30px; 
    font-weight: bold; 
    color: #aaa; 
    cursor: pointer;    
}

.close-btn:hover { color: var(--text-dark); }
.modal-content h2 { margin-bottom: 20px; color: var(--primary-color); }
.modal-content p { margin-bottom: 15px; font-size: 0.95rem; }

/* Back to Top Button */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, opacity 0.3s;
}

#backToTopBtn:hover {
    background-color: #ff5252;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* For staggered animations, we override the parent's opacity so it doesn't interfere */
.reveal-on-scroll .stagger-children {
    opacity: 1;
}

/* The children of a stagger container get their own animation properties */
.stagger-children > * {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* When the parent becomes visible, the children animate in with a delay */
.reveal-on-scroll.is-visible .stagger-children > * { opacity: 1; transform: translateY(0); }
.reveal-on-scroll.is-visible .stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-on-scroll.is-visible .stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-on-scroll.is-visible .stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-on-scroll.is-visible .stagger-children > *:nth-child(4) { transition-delay: 0.4s; }