/* 
 * Hyundai Albano Custom Styles
 * Inspired by Oliva Automotores Design
 * Author: WORA
 */

/* Global Variables */
:root {
    --primary-color: #002c5f;
    --primary-hover: #004080;
    --secondary-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --border-color: #ddd;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    transition: var(--transition);
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

p {
    margin-bottom: 15px;
}

/* Container */
.boxed {
    background: #fff;
}

#bg-boxed {
    background: #f8f9fa;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Page Scroll Links */
.page-scroll {
    cursor: pointer;
}

/* Loading Animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Overlay Effects */
.overlay-gradient {
    position: relative;
}

.overlay-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 44, 95, 0.85) 0%, rgba(0, 64, 128, 0.85) 100%);
    z-index: 1;
}

.overlay-gradient > * {
    position: relative;
    z-index: 2;
}

/* Image Hover Effect */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 12px;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Card Hover Effect */
.card-hover {
    transition: var(--transition);
}

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

/* Badge */
.badge-custom {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 40px 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    color: #fff;
    text-decoration: none;
}

/* Responsive Video */
.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    .parallax {
        background-attachment: scroll;
    }
    
    .back-to-top {
        bottom: 75px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .navbar-wrapper,
    .whatsapp-float,
    .back-to-top,
    footer {
        display: none !important;
    }
}

/* Accessibility */
.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;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection Style */
::selection {
    background: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background: var(--primary-color);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-in-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-in-out;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease-in-out;
}

/* Spacing Utilities */
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-25 { margin-bottom: 25px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-25 { margin-top: 25px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }

.pt-0 { padding-top: 0 !important; }
.pt-20 { padding-top: 20px !important; }
.pt-40 { padding-top: 40px !important; }
.pt-60 { padding-top: 60px !important; }
.pt-80 { padding-top: 80px !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-20 { padding-bottom: 20px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pb-60 { padding-bottom: 60px !important; }
.pb-80 { padding-bottom: 80px !important; }

/* General Styles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.pt60 { padding-top: 60px; }
.pb60 { padding-bottom: 60px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb40 { margin-bottom: 40px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }

/* Carousel Styles */
#heroCarousel {
    position: relative;
    overflow: hidden;
    height: 500px;
    margin-bottom: 0;
}

#heroCarousel .carousel-inner {
    height: 100%;
}

#heroCarousel .item {
    height: 500px;
    background-color: #000;
}

#heroCarousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#heroCarousel .carousel-caption {
    position: absolute;
    left: 50%;
    bottom: 25%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 900px;
}

#heroCarousel .caption-content {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-block;
    padding: 30px 50px;
    border-radius: 12px;
}

#heroCarousel .carousel-caption h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

#heroCarousel .carousel-caption .subtitle {
    font-size: 20px;
    margin: 0 0 25px 0;
    color: #fff;
    font-weight: 300;
}

#heroCarousel .btn-carousel {
    display: inline-block;
    background: #002c5f;
    color: #fff;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

#heroCarousel .btn-carousel:hover {
    background: #004080;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 44, 95, 0.4);
    text-decoration: none;
    color: #fff;
}

#heroCarousel .carousel-control {
    background: none;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s;
}

#heroCarousel .carousel-control:hover {
    opacity: 1;
}

#heroCarousel .carousel-control.left {
    left: 20px;
}

#heroCarousel .carousel-control.right {
    right: 20px;
}

#heroCarousel .carousel-control i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

#heroCarousel .carousel-indicators {
    bottom: 25px;
}

#heroCarousel .carousel-indicators li {
    border: 2px solid #fff;
    background-color: rgba(255,255,255,0.4);
    width: 12px;
    height: 12px;
}

#heroCarousel .carousel-indicators .active {
    background-color: #002c5f;
    border-color: #002c5f;
}

/* Modelos Scroll Horizontal Container */
.modelos-scroll-container {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
    padding: 0 15px;
}

.modelos-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #002c5f #f0f0f0;
    position: relative;
}

/* Scroll shadows */
.modelos-scroll-wrapper::before,
.modelos-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 20px;
    width: 40px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modelos-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
}

.modelos-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
}

.modelos-scroll-wrapper.has-scroll-left::before {
    opacity: 1;
}

.modelos-scroll-wrapper.has-scroll-right::after {
    opacity: 1;
}

.modelos-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.modelos-scroll-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.modelos-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #002c5f;
    border-radius: 4px;
}

.modelos-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #004080;
}

/* Modelo Card Compact Styles */
.modelo-card-compact {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    flex: 0 0 280px;
    width: 280px;
    display: flex;
    flex-direction: column;
}

.modelo-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.modelo-card-compact-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.modelo-card-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modelo-card-compact:hover .modelo-card-compact-image img {
    transform: scale(1.08);
}

.modelo-badge-compact {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #002c5f;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.modelo-card-compact-content {
    padding: 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modelo-card-compact-title {
    font-size: 18px;
    font-weight: 700;
    color: #002c5f;
    margin-bottom: 8px;
    text-transform: uppercase;
    line-height: 1.2;
}

.modelo-card-compact-price {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.modelo-card-compact-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.modelo-card-compact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modelo-card-compact-actions .btn-sm {
    padding: 8px 15px;
    font-size: 13px;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 15px;
    color: #999;
    font-size: 13px;
    animation: fadeInOut 2s infinite;
}

.scroll-indicator i {
    margin: 0 8px;
    font-size: 12px;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: #002c5f;
    color: #fff;
}

.btn-primary:hover {
    background: #004080;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 44, 95, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: #002c5f;
    border: 2px solid #002c5f;
}

.btn-outline-primary:hover {
    background: #002c5f;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #002c5f;
}

.btn-light:hover {
    background: #f8f9fa;
    color: #002c5f;
}

/* Test Drive Background Section */
.test-drive-background {
    background-image: url('https://ftp.rural-server.com/images/images/djwzuDtAcMWsCbyI.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

.test-drive-overlay {
    background: rgba(0, 44, 95, 0.85);
    padding: 80px 0;
}

.test-drive-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.test-drive-subtitle {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Contact Info Box */
.contact-info-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: #002c5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-info-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.contact-info-value {
    font-size: 20px;
    font-weight: 700;
    color: #002c5f;
    text-decoration: none;
}

.contact-info-value:hover {
    color: #004080;
    text-decoration: none;
}

/* Form Card */
.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #002c5f;
    box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.15);
}

textarea.form-control {
    height: auto;
    resize: vertical;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #002c5f;
}

/* Google Rating Summary */
.google-rating-summary {
    background: #fff;
    display: inline-block;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Google Reviews Carousel */
#google-reviews-carousel {
    position: relative;
}

#google-reviews-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

#google-reviews-carousel .owl-nav button {
    position: absolute;
    width: 45px;
    height: 45px;
    background: #002c5f !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#google-reviews-carousel .owl-nav button:hover {
    background: #004080 !important;
    transform: scale(1.1);
}

#google-reviews-carousel .owl-nav button.owl-prev {
    left: -20px;
}

#google-reviews-carousel .owl-nav button.owl-next {
    right: -20px;
}

#google-reviews-carousel .owl-nav button i {
    margin: 0;
}

#google-reviews-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

#google-reviews-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#google-reviews-carousel .owl-dot.active {
    background: #002c5f;
    width: 30px;
    border-radius: 6px;
}

#google-reviews-carousel .owl-dot:hover {
    background: #004080;
}

#google-reviews-carousel .item {
    padding: 10px;
}

/* Testimonial Card */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    display: none !important;
}

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

.testimonial-google {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    min-height: 100px;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Features List */
.features-list {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.features-title {
    color: #002c5f;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.features-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-items li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #666;
}

.features-items li:last-child {
    border-bottom: none;
}

.features-items li i {
    color: #002c5f;
    margin-right: 12px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {

    #heroCarousel {
        height: 270px;
    }
    
    #heroCarousel .item {
        height: 270px;
    }
    .section-title {
        font-size: 28px;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 16px;
        text-align: center !important;
    }
    
    /* Scroll horizontal responsive */
    .modelo-card-compact {
        flex: 0 0 250px;
        width: 250px;
    }
    
    .modelo-card-compact-image {
        height: 160px;
    }
    
    .modelo-card-compact-content {
        padding: 15px;
    }
    
    .modelo-card-compact-title {
        font-size: 16px;
    }
    
    .modelo-card-compact-price {
        font-size: 20px;
    }
    
    .modelo-card-compact-description {
        font-size: 12px;
    }
    
    .scroll-indicator {
        font-size: 12px;
    }
    
    #nuevos .btn-primary {
        width: 100%;
        margin-top: 10px;
    }
    
    #heroCarousel .carousel-caption h2 {
        font-size: 32px;
    }
    
    #heroCarousel .carousel-caption .subtitle {
        font-size: 16px;
    }
    
    #heroCarousel .caption-content {
        padding: 20px 30px;
    }
    
    .test-drive-background {
        background-attachment: scroll;
        padding: 60px 0;
    }
    
    .test-drive-overlay {
        padding: 40px 0;
    }
    
    .test-drive-title {
        font-size: 32px;
    }
    
    .test-drive-subtitle {
        font-size: 18px;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .contact-info-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-info-icon i {
        font-size: 24px;
    }
    
    .contact-info-value {
        font-size: 16px;
    }
    
    /* Carousel responsive */
    #google-reviews-carousel .owl-nav button.owl-prev {
        left: -10px;
    }
    
    #google-reviews-carousel .owl-nav button.owl-next {
        right: -10px;
    }
    
    #google-reviews-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .google-rating-summary {
        padding: 15px 25px;
    }
    
    #google-rating-value {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    #heroCarousel {
        height: 200px;
    }
    
    #heroCarousel .item {
        height: 200px;
    }
    
    #heroCarousel .carousel-caption h2 {
        font-size: 24px;
    }
    
    #heroCarousel .carousel-caption .subtitle {
        font-size: 14px;
    }
    
    #heroCarousel .caption-content {
        padding: 15px 20px;
    }
    
    /* Modelos scroll mobile */
    .modelo-card-compact {
        flex: 0 0 220px;
        width: 220px;
    }
    
    .modelo-card-compact-image {
        height: 140px;
    }
    
    .modelo-card-compact-title {
        font-size: 15px;
    }
    
    .modelo-card-compact-price {
        font-size: 18px;
    }
    
    .scroll-indicator span {
        display: none;
    }
    
    /* Carousel reviews mobile */
    #google-reviews-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    #google-reviews-carousel .owl-nav button.owl-prev {
        left: -5px;
    }
    
    #google-reviews-carousel .owl-nav button.owl-next {
        right: -5px;
    }
    
    .google-rating-summary {
        padding: 15px 20px;
    }
    
    .google-rating-summary img {
        height: 20px !important;
    }
    
    #google-rating-value {
        font-size: 18px !important;
    }
    
    .testimonial-text {
        font-size: 14px !important;
        min-height: auto !important;
    }
}


/* Footer Styles - Inspired by Oliva Automotores */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #002c5f;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer ul li a:hover {
    color: aliceblue;
    padding-left: 5px;
}

.footer ul li i {
    margin-right: 10px;
    color: #FFF;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-description {
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-contact-info {
    background: rgba(0, 44, 95, 0.2);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.footer-contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #b8b8b8;
}

.footer-contact-info strong {
    color: #fff;
    font-size: 16px;
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.footer-copyright a {
    color: #FFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: #004080;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px !important;
    }
    
    .footer .mb40 {
        margin-bottom: 30px;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .col-sm-6,
    .footer .col-md-3 {
        text-align: center;
    }
    
    .footer ul li a {
        display: inline-block;
    }
}

#heroCarousel{
    box-shadow: 5px 5px 20px 5px #000;
    margin-top: 20px !important;
}
/* Navbar Styles - Inspired by Oliva Automotores */
.navbar-wrapper {
background: #002c5f;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
position: sticky;
top: 0;
z-index: 1000;
transition: all 0.3s ease;
}

.navbar-main {
background: #002c5f !important;
border: none;
margin-bottom: 0;
min-height: 80px;
}

.navbar-brand {
padding: 15px 15px;
height: auto;
}

.navbar-brand img {
height: 65px;
}

.navbar-main .navbar-nav {
margin-top: 15px;
}

.navbar-main .navbar-nav > li > a {
color: #fff;
font-size: 15px;
font-weight: 600;
padding: 10px 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.3s ease;
position: relative;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus {
color: #fff;
background: rgba(255, 255, 255, 0.1);
}

.navbar-main .navbar-nav > li > a::after {
content: '';
position: absolute;
bottom: 5px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 3px;
background: #fff;
transition: width 0.3s ease;
}

.navbar-main .navbar-nav > li > a:hover::after {
width: 60%;
}

.navbar-main .navbar-nav > li.active > a {
color: #fff;
background: rgba(255, 255, 255, 0.1);
}

.navbar-main .navbar-nav > li.active > a::after {
width: 60%;
}

/* Botón Test Drive especial */
.navbar-main .navbar-nav > li.btn-test-drive > a {
background: #fff;
color: #002c5f !important;
border-radius: 25px;
padding: 10px 25px;
margin-left: 10px;
}

.navbar-main .navbar-nav > li.btn-test-drive > a:hover {
background: #f0f0f0;
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.navbar-main .navbar-nav > li.btn-test-drive > a::after {
display: none;
}

/* Mobile menu */
.navbar-toggle {
border: 2px solid #fff;
margin-top: 23px;
}

.navbar-toggle .icon-bar {
background-color: #fff;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
background-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggle:hover .icon-bar {
background-color: #fff;
}

@media (max-width: 767px) {
.navbar-main {
    min-height: 60px;
}

.navbar-brand {
    padding: 10px 15px;
}

.navbar-brand img {
    height: 40px;
    margin-top: 10px;
}

.navbar-main .navbar-nav {
    margin-top: 0;
}

.navbar-main .navbar-nav > li > a {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.navbar-main .navbar-nav > li.btn-test-drive > a {
    margin-left: 0;
    margin: 10px 20px;
    text-align: center;
}

.navbar-main .navbar-nav > li > a::after {
    display: none;
}
}

/* Scrolled state */
.navbar-wrapper.scrolled {
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-wrapper.scrolled .navbar-main {
min-height: 70px;
}