/* ============================================
   Big Wheels Car Rentals - Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #10B981;
    --color-primary-hover: #059669;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F8FAFC;
    --color-bg-tertiary: #F1F5F9;
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-accent: #F59E0B;
    --color-error: #EF4444;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--color-primary);
    font-size: 1.75rem;
}

.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 32px;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-only {
    display: none;
}

@media (min-width: 640px) {
    .desktop-only {
        display: inline;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--color-bg-secondary);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px;
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-bg-tertiary);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    padding: 12px 16px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-md {
    padding: 12px 24px;
    font-size: 0.9375rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-xl {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-text-primary);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    background: var(--color-text-primary);
    color: white;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-text-primary);
}

.btn-white {
    background: white;
    color: var(--color-text-primary);
}

.btn-white:hover {
    background: var(--color-bg-tertiary);
    transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 70px;
    background-image: url('https://customer-assets.emergentagent.com/job_big-wheels-goa/artifacts/cwvdgx5k_360_F_265090260_WxhniVfWjfXUtBjyQaRR3e9Bv3GEHlBe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title .highlight {
    color: var(--color-primary);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .hero-cta {
        flex-direction: row;
        gap: 16px;
    }
}

/* Trust Badges */
.trust-badges {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 20px 0;
    margin-top: auto;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .badges-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

.badge-item i {
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.badge-item span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

@media (min-width: 640px) {
    .badge-item span {
        font-size: 0.875rem;
    }
}

/* ============================================
   Urgency Banner
   ============================================ */
.urgency-banner {
    background: var(--color-accent);
    color: white;
    padding: 12px 0;
    text-align: center;
}

.urgency-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.urgency-banner i {
    animation: pulse 1.5s infinite;
}

.urgency-banner span {
    font-weight: 600;
    font-size: 0.9375rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

/* ============================================
   Cars Section
   ============================================ */
.cars-section {
    padding: 64px 0;
    background: var(--color-bg-primary);
}

@media (min-width: 768px) {
    .cars-section {
        padding: 96px 0;
    }
}

.cars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1280px) {
    .cars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Car Card */
.car-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--color-bg-tertiary);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.car-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-bg-secondary);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.car-badge-auto {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-accent);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.car-badge-seats {
    position: absolute;
    top: 48px;
    left: 12px;
    background: #3B82F6;
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.car-badge-premium {
    position: absolute;
    top: 48px;
    right: 12px;
    background: #8B5CF6;
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.car-badge-adventure {
    position: absolute;
    top: 48px;
    left: 12px;
    background: #EC4899;
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.car-details {
    padding: 20px;
}

.car-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.car-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.car-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.spec i {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.car-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us-section {
    padding: 64px 0;
    background: var(--color-bg-secondary);
}

@media (min-width: 768px) {
    .why-us-section {
        padding: 96px 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    border-radius: var(--radius-lg);
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   Locations Section
   ============================================ */
.locations-section {
    padding: 64px 0;
    background: var(--color-bg-primary);
}

@media (min-width: 768px) {
    .locations-section {
        padding: 96px 0;
    }
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (min-width: 640px) {
    .locations-grid {
        gap: 16px;
    }
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.location-tag:hover {
    background: white;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.location-tag i {
    color: var(--color-primary);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 64px 0;
    background: var(--color-bg-secondary);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 96px 0;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.testimonial-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-bg-tertiary);
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--color-accent);
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 120px 0;
    }
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 64px 0 24px;
    background: var(--color-text-primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: white;
}

.footer-brand .logo-img.footer-logo {
    height: 50px;
    filter: brightness(1.1);
}

.footer-brand .logo i {
    color: var(--color-primary);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp i {
    font-size: 1.75rem;
    color: white;
}

@media (min-width: 768px) {
    .floating-whatsapp {
        width: 68px;
        height: 68px;
    }
    
    .floating-whatsapp i {
        font-size: 2rem;
    }
}

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

.car-card {
    animation: fadeInUp 0.5s ease forwards;
}

.car-card:nth-child(1) { animation-delay: 0.05s; }
.car-card:nth-child(2) { animation-delay: 0.1s; }
.car-card:nth-child(3) { animation-delay: 0.15s; }
.car-card:nth-child(4) { animation-delay: 0.2s; }
.car-card:nth-child(5) { animation-delay: 0.25s; }
.car-card:nth-child(6) { animation-delay: 0.3s; }
.car-card:nth-child(7) { animation-delay: 0.35s; }
.car-card:nth-child(8) { animation-delay: 0.4s; }
.car-card:nth-child(9) { animation-delay: 0.45s; }
.car-card:nth-child(10) { animation-delay: 0.5s; }
.car-card:nth-child(11) { animation-delay: 0.55s; }
.car-card:nth-child(12) { animation-delay: 0.6s; }
.car-card:nth-child(13) { animation-delay: 0.65s; }

/* ============================================
   Utility Classes
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
