/* ==========================================================================
   HOMEPAGE STYLES - Modern Car Rental Aesthetic
   ========================================================================== */

/* Color Variables */
:root {
    --primary-deep-blue: #1e3a5f;
    --primary-teal: #2d7a8c;
    --accent-orange: #ff6b35;
    --accent-coral: #ff8c69;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --border-light: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.home-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-deep-blue) 0%, var(--primary-teal) 100%);
    color: white;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* When slider is active — gradient hidden, dark fallback until images load */
.home-hero.has-slider {
    background: #1a1a2e;
}

/* Grid pattern not needed when banner images are showing */
.home-hero.has-slider::before {
    display: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark overlay — ensures text readability over any image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Slider dots */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: #ffffff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-dots {
        bottom: 12px;
        gap: 6px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }
}

.home-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.home-hero p {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search Form */
.home-hero-search {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.home-hero-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    margin-bottom: 20px;
    align-items: end;
    /* Align to bottom (where labels end) */
}

.home-hero-search-group {
    display: flex;
    flex-direction: column;
}

.home-hero-search-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: left;
}

.home-hero-search-group input,
.home-hero-search-group select {
    height: 48px;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.home-hero-search-group input:focus,
.home-hero-search-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 122, 140, 0.1);
}

/* Disabled state for category select */
.home-hero-search-group select:disabled {
    background: #F3F4F6;
    cursor: not-allowed;
    opacity: 0.6;
}

.home-hero-search-submit {
    height: 48px;
    /* Match input field height */
    padding: 0 32px;
    /* Horizontal padding only */
    background: #FF6B35;
    /* Vibrant orange */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.home-hero-search-submit:hover {
    background: #E55A2B;
    /* Darker orange */
    transform: translateY(-1px);
}

.home-hero-search-submit i {
    font-size: 14px;
}


/* ==========================================================================
   FEATURED CARS / SERVICES SECTION
   ========================================================================== */
.home-section {
    padding: 100px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.home-section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
}

.home-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
    border-radius: 2px;
}

/* Featured Cars Grid */
.home-featured-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.home-car-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.home-car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.home-car-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.home-car-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-car-card:hover .home-car-card-image {
    transform: scale(1.1);
}

.home-car-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-orange);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.home-car-card-content {
    padding: 24px;
}

.home-car-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.home-car-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.home-car-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fbbf24;
    font-size: 14px;
    font-weight: 600;
}

.home-car-card-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.home-car-card-spec {
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-car-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.home-car-card-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-teal);
}

.home-car-card-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
}

.home-car-card-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-deep-blue) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.home-car-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 122, 140, 0.3);
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.home-why-choose {
    background: var(--bg-light);
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.home-benefit-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.home-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.home-benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(45, 122, 140, 0.1) 0%, rgba(30, 58, 95, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-teal);
}

.home-benefit-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.home-benefit-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.home-testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.home-testimonials-slider {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-teal) var(--bg-light);
}

.home-testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.home-testimonials-slider::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.home-testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 4px;
}

.home-testimonial-card {
    min-width: 350px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
}

.home-testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 20px;
}

.home-testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-deep-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.home-testimonial-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.home-testimonial-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ==========================================================================
   BRAND PARTNERS SECTION
   ========================================================================== */
.home-brands {
    background: var(--bg-light);
}

.home-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.home-brand-logo {
    width: 100%;
    max-width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.home-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-brand-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   FOOTER CTA SECTION
   ========================================================================== */
.home-footer-cta {
    background: linear-gradient(135deg, var(--primary-deep-blue) 0%, var(--primary-teal) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.home-footer-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-footer-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.home-footer-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.home-footer-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-footer-cta-button {
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-footer-cta-button i {
    font-size: 16px;
    margin-right: 8px;
}

.home-footer-cta-button-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.home-footer-cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.home-footer-cta-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.home-footer-cta-button-secondary:hover {
    background: white;
    color: var(--primary-teal);
}

.home-footer-cta-contact {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.home-footer-cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: white;
}

.home-footer-cta-contact-item i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    width: 24px;
    text-align: center;
}

.home-footer-cta-social {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.home-footer-cta-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.home-footer-cta-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.home-footer-cta-social-link i {
    font-size: 20px;
}

/* Category Icon Placeholder */
.category-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
}

.category-icon-text {
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   BUSINESS TYPES GRID (Browse by Category)
   ========================================================================== */
.browse-categories {
    background: var(--bg-light);
}

.home-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.home-section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 8px;
}

/* Business Types Grid */
.business-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

/* Business Type Card */
.business-type-card {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.business-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Image */
.business-type-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-deep-blue) 0%, var(--primary-teal) 100%);
}

.business-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.business-type-card:hover .business-type-image img {
    transform: scale(1.1);
}

.business-type-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Content */
.business-type-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.business-type-icon {
    font-size: 32px;
    color: #5B6EF5;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.business-type-icon i {
    font-size: 32px;
}

.business-type-icon-emoji {
    font-size: 32px;
    line-height: 1;
}

.business-type-name {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.business-type-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.business-type-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #5B6EF5;
    margin-top: auto;
}

.business-type-cta i {
    font-size: 12px;
    transition: transform 0.2s;
}

.business-type-card:hover .business-type-cta i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1199px) {
    .business-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .business-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .business-type-card {
        height: 280px;
    }

    .business-type-image {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .business-types-grid {
        grid-template-columns: 1fr;
    }
}

/* Car Card Image Placeholder */
.home-car-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d7a8c 100%);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .home-hero {
        min-height: 500px;
        padding: 100px 20px 60px;
    }

    .home-hero-search-form {
        grid-template-columns: 1fr;
    }

    .home-hero-search-submit {
        grid-column: 1;
    }

    .home-section {
        padding: 60px 20px;
    }

    .home-featured-cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-benefits-grid {
        grid-template-columns: 1fr;
    }

    .home-testimonial-card {
        min-width: 300px;
    }

    .home-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .home-footer-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .home-footer-cta-button {
        text-align: center;
    }

    .home-footer-cta-contact {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .home-hero {
        min-height: 400px;
        padding: 80px 15px 40px;
    }

    .home-hero-search {
        padding: 20px;
    }

    .home-section {
        padding: 40px 15px;
    }

    .home-car-card-content {
        padding: 20px;
    }

    .home-testimonial-card {
        min-width: 280px;
        padding: 30px 20px;
    }

    .home-brands-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.home-hero-search-group input:focus,
.home-hero-search-group select:focus,
.home-hero-search-submit:focus,
.home-car-card:focus,
.home-car-card-button:focus,
.home-footer-cta-button:focus {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
}

/* ==========================================================================
   CATEGORY SECTIONS - Three Separate Sections by Business Type
   ========================================================================== */

/* Category Section Container */
.home-category-section {
    padding: 60px 0;
    background: white;
}

.home-category-section:nth-child(even) {
    background: #F9FAFB;
    /* Alternate background */
}

/* Section Header */
.home-category-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-category-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-category-title-wrapper i {
    font-size: 32px;
    color: #5B6EF5;
}

.home-category-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

/* View All Link */
.home-category-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #5B6EF5;
    border: 2px solid #5B6EF5;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.home-category-view-all:hover {
    background: #5B6EF5;
    color: white;
    transform: translateX(4px);
}

.home-category-view-all i {
    font-size: 14px;
    transition: transform 0.2s;
}

.home-category-view-all:hover i {
    transform: translateX(4px);
}

/* Services Grid (reuse existing) */
.home-category-section .services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Category-specific accent colors */
.home-category-car-rental .home-category-title-wrapper i {
    color: #2563EB;
    /* Blue for cars */
}

.home-category-wine .home-category-title-wrapper i {
    color: #7C3AED;
    /* Purple for wine */
}

.home-category-tours .home-category-title-wrapper i {
    color: #10B981;
    /* Green for tours */
}

/* Responsive */
@media (max-width: 1199px) {
    .home-category-section .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* ========================================
       MOBILE GRID LAYOUT - REMOVE GAP
       Cards use their own margins for spacing
       ======================================== */
    .home-category-section .services-grid,
    .wine-experiences-section .services-grid,
    .tours-section .services-grid {
        grid-template-columns: 1fr !important;
        /* Single column */
        gap: 0 !important;
        /* Remove gap, cards have their own margins */
        row-gap: 0 !important;
        column-gap: 0 !important;
        padding: 0 !important;
    }

    /* ========================================
       COMPACT CATEGORY HEADERS - MOBILE
       ======================================== */

    /* Header Container - Horizontal Layout */
    .home-category-header {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 16px;
        margin-bottom: 20px;
    }

    /* Title Wrapper - Icon + Title inline */
    .home-category-title-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
        /* Allow shrinking */
    }

    /* Icon Styling - Category-specific colors */
    .home-category-title-wrapper i {
        font-size: 24px;
        flex-shrink: 0;
        margin: 0;
    }

    /* Car Rental - Blue */
    .home-category-car-rental .home-category-title-wrapper i {
        color: #2563eb !important;
    }

    /* Wine Experiences - Wine Red */
    .home-category-wine .home-category-title-wrapper i {
        color: #7c2d12 !important;
    }

    /* Tours & Experiences - Green */
    .home-category-tours .home-category-title-wrapper i {
        color: #10b981 !important;
    }

    /* Title - Compact size */
    .home-category-title {
        font-size: 20px;
        font-weight: 700;
        color: #1f2937;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* View All Button - Compact */
    .home-category-view-all {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: white;
        border: 2px solid #2563eb;
        color: #2563eb;
        font-size: 14px;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .home-category-view-all:hover {
        background: #2563eb;
        color: white;
        transform: translateX(2px);
    }

    .home-category-view-all i {
        font-size: 12px;
        color: inherit !important;
        margin: 0 !important;
        transition: transform 0.2s;
    }

    .home-category-view-all:hover i {
        transform: translateX(2px);
    }

    /* Category-specific button colors */
    .home-category-car-rental .home-category-view-all {
        border-color: #2563eb;
        color: #2563eb;
    }

    .home-category-car-rental .home-category-view-all:hover {
        background: #2563eb;
        color: white;
    }

    .home-category-wine .home-category-view-all {
        border-color: #7c2d12;
        color: #7c2d12;
    }

    .home-category-wine .home-category-view-all:hover {
        background: #7c2d12;
        color: white;
    }

    .home-category-tours .home-category-view-all {
        border-color: #10b981;
        color: #10b981;
    }

    .home-category-tours .home-category-view-all:hover {
        background: #10b981;
        color: white;
    }

    /* Services Grid */
    .home-category-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    /* Even more compact for small screens */
    .home-category-header {
        padding: 0 12px;
        margin-bottom: 16px;
    }

    .home-category-title-wrapper {
        gap: 8px;
    }

    .home-category-title-wrapper i {
        font-size: 20px;
    }

    .home-category-title {
        font-size: 18px;
    }

    .home-category-view-all {
        font-size: 13px;
        padding: 6px 12px;
        gap: 4px;
    }

    .home-category-view-all i {
        font-size: 11px;
    }

    .home-category-section .services-grid {
        grid-template-columns: 1fr;
        gap: 0 !important;
        /* Remove gap, cards have their own margins */
        padding: 0 !important;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .home-category-title {
        font-size: 17px;
    }

    .home-category-view-all {
        font-size: 12px;
        padding: 6px 10px;
    }

    .home-category-view-all i {
        font-size: 11px;
    }
}