:root {
    --primary-color: #1a365d;
    --secondary-color: #d4681a;
    --accent-color: #2d5aa0;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --background-light: #f7fafc;
    --white: #ffffff;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: var(--white);
    padding: 8px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 2px dashed var(--border-color);
    font-size: 24px;
}

.company-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
    letter-spacing: -0.025em;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #cbd5e0;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.025em;
}

.contact-header {
    text-align: right;
}

.contact-header p {
    margin: 4px 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-header a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-header a:hover {
    color: #cbd5e0;
}

/* Navigation */
nav {
    background-color: var(--white);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-container a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 20px 32px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.025em;
}

.nav-container a:hover,
.nav-container a.active {
    background-color: #f1f5f9;
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('images/bg1.jpg') center/cover no-repeat,
        url('images/bg2.jpg') center/cover no-repeat;

    color: white;
    text-align: center;
    padding: 120px 0 100px;
    position: relative;
    background-blend-mode: overlay;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #f7fafc;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #bf5a16);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.025em;
}

.cta-button:hover {
    background: linear-gradient(135deg, #bf5a16, #a04915);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: -0.025em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Fleet Section */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.vehicle-card, .tour-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.vehicle-card:hover, .tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.vehicle-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
    background-color: #f1f5f9;
    border: 2px solid var(--border-color);
}

.vehicle-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    padding: 20px;
}

.vehicle-card h3, .tour-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

.vehicle-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.book-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 0.875rem;
}

.book-button:hover {
    background-color: #bf5a16;
    transform: translateY(-1px);
}

/* Tour Packages */
.tour-packages-section {
    background-color: var(--white);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.tour-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 24px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.tour-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.tour-content {
    padding: 32px;
    border-radius: 0 0 16px 16px;
    background: var(--white);
}

.tour-content h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.125rem;
    font-weight: 600;
}

.tour-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.tour-content li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    font-size: 0.875rem;
}

.tour-content li::before {
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Reviews Carousel Section */
.reviews-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 60px;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

/* Desktop: 3 cards per slide */
.review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 24px;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:last-child {
    margin-right: 0;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    flex-grow: 1;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.stars {
    color: #f6ad55;
    font-size: 1.125rem;
    text-align: right;
    margin-bottom: 8px;
}

.review-destination {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: right;
    font-style: normal;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.prev-btn {
    left: -24px;
}

.next-btn {
    right: -24px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--secondary-color);
    opacity: 0.7;
}

/* Star Rating - Interactive */
.star-rating {
    display: flex;
    gap: 4px;
    margin: 12px 0;
    font-size: 1.5rem;
    justify-content: flex-start;
    cursor: pointer;
}

.star {
    transition: all 0.2s ease;
    opacity: 0.3;
    color: #f6ad55;
    cursor: pointer;
}

.star.active,
.star.hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Review Form */
.add-review-section {
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
    margin-top: 60px;
}

.review-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.review-form-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.whatsapp-review-card {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 104, 26, 0.1);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.submit-button:hover {
    background-color: #153951;
    transform: translateY(-1px);
}

.submit-button:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

.whatsapp-button {
    background: white;
    color: #25d366;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.whatsapp-button:hover {
    background: #f7fafc;
    transform: translateY(-1px);
}

/* Loading and Success States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.success-message, .error-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-weight: 500;
}

.success-message {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.error-message {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.thank-you-modal.show {
    opacity: 1;
    visibility: visible;
}

.thank-you-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 90%;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.thank-you-modal.show .thank-you-content {
    transform: translateY(0);
}

.thank-you-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--success-color);
}

.thank-you-content h3 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.thank-you-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.close-modal-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.close-modal-btn:hover {
    background-color: #bf5a16;
    transform: translateY(-1px);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 48px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.375rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.contact-info p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    color: var(--text-primary);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: #cbd5e0;
    text-align: center;
    padding: 40px 0;
    font-size: 0.875rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .company-info h1 {
        font-size: 1.875rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h2 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
    }

    .nav-container a {
        padding: 16px 20px;
        font-size: 0.8125rem;
    }

    .fleet-grid,
    .tour-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vehicle-card,
    .tour-card {
        padding: 24px;
    }

    /* Mobile Carousel Adjustments - 1 card per slide */
    .reviews-carousel-container {
        margin: 0 -20px 60px -20px;
        padding: 0 20px;
    }

    .review-card {
        flex: 0 0 calc(100% - 0px);
        margin-right: 16px;
        padding: 24px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -16px;
    }

    .next-btn {
        right: -16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 32px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .thank-you-content {
        padding: 32px;
        width: 95%;
    }

    .review-methods {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav-container a {
        padding: 12px 16px;
        font-size: 0.75rem;
    }

    .vehicle-card,
    .tour-card {
        padding: 20px;
    }

    .review-card {
        padding: 20px;
        margin-right: 12px;
    }

    .contact-form {
        padding: 24px;
    }

    .thank-you-content {
        padding: 24px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .prev-btn {
        left: -12px;
    }

    .next-btn {
        right: -12px;
    }
}

/* Smooth scrolling behavior for carousel */
@media (prefers-reduced-motion: no-preference) {
    .reviews-carousel {
        scroll-behavior: smooth;
    }
}

/* Hide overflow for cleaner carousel appearance */
.reviews-carousel-container {
    padding: 0 20px;
}

@media (max-width: 768px) {
    .reviews-carousel-container {
        padding: 0;
    }
}