/* ============================================
   SAM Automobili – Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --sam-red: #ee2e2d;
    --sam-red-dark: #c41f1e;
    --sam-dark: #111111;
    --sam-dark-alt: #1a1a2e;
    --sam-body-bg: #f8f9fa;
    --sam-gray-bg: #f0f0f0;
    --sam-white: #ffffff;
    --sam-text: #333333;
    --sam-text-light: #666666;
    --sam-border: #e0e0e0;
    --sam-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --sam-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --sam-radius: 12px;
    --sam-radius-sm: 8px;
    --sam-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sam-gradient: linear-gradient(135deg, var(--sam-red) 0%, #ff6b6b 100%);
    --sam-gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--sam-text);
    background: var(--sam-body-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', 'Inter', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sam-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--sam-transition);
}

img {
    max-width: 100%;
    height: auto;
}

.accent {
    color: var(--sam-red);
}

/* ============================================
   HEADER
   ============================================ */
.header-top {
    background: var(--sam-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--sam-border);
}

.header-top .logo img {
    max-height: 50px;
    transition: var(--sam-transition);
}

.header-top .logo img:hover {
    transform: scale(1.05);
}

.header-info-widgets {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.header-widget {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-widget .circle-icon {
    width: 38px;
    height: 38px;
    background: var(--sam-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.header-widget p {
    font-size: 12px;
    color: var(--sam-text-light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-widget a {
    font-size: 14px;
    font-weight: 600;
    color: var(--sam-dark);
}

.header-widget a:hover {
    color: var(--sam-red);
}

.social-follow {
    display: flex;
    gap: 8px;
}

.social-follow a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sam-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: var(--sam-transition);
}

.social-follow a:hover {
    background: var(--sam-red);
    transform: translateY(-2px);
}

/* Navbar */
.main-navbar {
    background: var(--sam-gradient-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-navbar .navbar-brand {
    display: none;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 20px !important;
    position: relative;
    transition: var(--sam-transition);
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--sam-red);
    transition: var(--sam-transition);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: white !important;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
}

/* ============================================
   HERO SEARCH SECTION
   ============================================ */
.search-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 0 30px;
}

.search-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--sam-radius);
    padding: 25px 30px;
    backdrop-filter: blur(10px);
}

.search-form-wrapper .form-select,
.search-form-wrapper .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: var(--sam-radius-sm);
    transition: var(--sam-transition);
}

.search-form-wrapper .form-select:focus,
.search-form-wrapper .form-control:focus {
    border-color: var(--sam-red);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(238, 46, 45, 0.15);
    color: white;
}

.search-form-wrapper .form-select option {
    background: #1a1a2e;
    color: white;
}

.search-form-wrapper label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.btn-search {
    background: var(--sam-gradient);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--sam-radius-sm);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--sam-transition);
    cursor: pointer;
    width: 100%;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 46, 45, 0.4);
}

.btn-reset {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: var(--sam-radius-sm);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: var(--sam-transition);
    width: 100%;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Price range */
.price-range-container {
    padding: 5px 0;
}

.price-range-container label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.price-range-container input[type="range"] {
    width: 100%;
    accent-color: var(--sam-red);
}

.price-values {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1.08);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 700px;
}

.hero-slide-content h2 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 28px;
    font-weight: 300;
}

.hero-slide-content .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sam-red);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--sam-transition);
    border: 2px solid transparent;
}

.hero-slide-content .btn-hero:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-2px);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--sam-transition);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 18px;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--sam-red);
}

.hero-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--sam-red);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 80px 0;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.section-heading h2 span {
    color: var(--sam-dark);
    font-weight: 800;
}

.section-heading .accent {
    color: var(--sam-red);
}

.section-heading p,
.section-heading h4 {
    color: var(--sam-text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--sam-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-carousel .swiper-slide img {
    border-radius: var(--sam-radius);
    height: 350px;
    object-fit: cover;
    width: 100%;
}

/* ============================================
   STATS / COUNTERS SECTION
   ============================================ */
.stats-section {
    background: var(--sam-gradient-dark);
    position: relative;
    padding: 70px 0;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></svg>');
    background-size: 120px;
    opacity: 0.5;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(238, 46, 45, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--sam-red);
    font-size: 22px;
    border: 2px solid rgba(238, 46, 45, 0.3);
}

.stat-card h2 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FEATURED CARS
   ============================================ */
.featured-section {
    padding: 80px 0;
    background: var(--sam-gray-bg);
}

.car-card {
    background: white;
    border-radius: var(--sam-radius);
    overflow: hidden;
    box-shadow: var(--sam-shadow);
    transition: var(--sam-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sam-shadow-lg);
}

.car-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--sam-gray-bg);
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-card-image img {
    transform: scale(1.05);
}

.car-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--sam-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.car-card-actions button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--sam-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--sam-transition);
    backdrop-filter: blur(4px);
}

.car-card-actions button:hover {
    background: var(--sam-red);
    color: white;
}

.car-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-card-body h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--sam-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-card-body h6 a {
    color: var(--sam-dark);
}

.car-card-body h6 a:hover {
    color: var(--sam-red);
}

.car-price {
    margin-bottom: 14px;
}

.car-price .original-price {
    text-decoration: line-through;
    color: var(--sam-text-light);
    font-size: 13px;
    margin-right: 8px;
}

.car-price .current-price {
    color: var(--sam-red);
    font-weight: 700;
    font-size: 1.3rem;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--sam-border);
}

.car-specs li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--sam-text-light);
}

.car-specs li i {
    color: var(--sam-red);
    font-size: 12px;
    width: 14px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-sam {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sam-gradient);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--sam-transition);
    border: none;
    cursor: pointer;
}

.btn-sam:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(238, 46, 45, 0.4);
    color: white;
}

.btn-sam-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--sam-red);
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--sam-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--sam-transition);
    cursor: pointer;
}

.btn-sam-outline:hover {
    background: var(--sam-red);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   BRAND LOGOS
   ============================================ */
.brands-section {
    padding: 50px 0;
    background: var(--sam-gray-bg);
}

.brands-section h5 {
    text-align: center;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    color: var(--sam-text-light);
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 30px;
}

.brand-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.brand-logo-item {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--sam-transition);
    cursor: pointer;
}

.brand-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
}

.brand-logo-item img {
    max-height: 45px;
    max-width: 70px;
}

/* ============================================
   CTA / INTRO SECTION
   ============================================ */
.cta-section {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section h2 span {
    color: var(--sam-dark);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 24px;
    color: var(--sam-text-light);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--sam-gradient-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 50px 0 30px;
}

.footer-top h6 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-top p,
.footer-top a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-top a:hover {
    color: var(--sam-red);
}

.footer-top .red-label {
    color: var(--sam-red);
    font-weight: 600;
}

.footer-top .footer-logo img {
    max-height: 55px;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--sam-red);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.footer-social span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--sam-transition);
}

.footer-social a:hover {
    background: var(--sam-red);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--sam-transition);
    cursor: pointer;
    border: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    border: none;
    border-radius: var(--sam-radius);
    box-shadow: var(--sam-shadow-lg);
}

.modal-header {
    background: var(--sam-gradient-dark);
    color: white;
    border-radius: var(--sam-radius) var(--sam-radius) 0 0;
    padding: 20px 24px;
}

.modal-header .modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 24px;
}

.modal-body .form-control {
    border-radius: var(--sam-radius-sm);
    padding: 12px 16px;
    border: 1px solid var(--sam-border);
    margin-bottom: 12px;
}

.modal-body .form-control:focus {
    border-color: var(--sam-red);
    box-shadow: 0 0 0 3px rgba(238, 46, 45, 0.1);
}

.modal-body .btn-sam {
    width: 100%;
    justify-content: center;
}

/* ============================================
   CATALOG PAGE
   ============================================ */
.page-header {
    background: var(--sam-gradient-dark);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
}

.catalog-section {
    padding: 50px 0;
}

.filter-sidebar {
    background: white;
    border-radius: var(--sam-radius);
    padding: 24px;
    box-shadow: var(--sam-shadow);
    position: sticky;
    top: 80px;
}

.filter-sidebar h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sam-red);
}

.filter-group {
    margin-bottom: 18px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sam-text);
    margin-bottom: 6px;
    display: block;
}

.filter-group .form-select,
.filter-group .form-control {
    border-radius: var(--sam-radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    border: 1px solid var(--sam-border);
}

.results-count {
    font-family: 'Inter', sans-serif;
    color: var(--sam-text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.results-count strong {
    color: var(--sam-dark);
}

/* ============================================
   CAR DETAIL PAGE
   ============================================ */
.car-detail-section {
    padding: 40px 0 60px;
}

.car-gallery {
    border-radius: var(--sam-radius);
    overflow: hidden;
    box-shadow: var(--sam-shadow);
}

.car-gallery .main-image {
    height: 450px;
    background: var(--sam-gray-bg);
    overflow: hidden;
}

.car-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-gallery .thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: white;
}

.car-gallery .thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--sam-transition);
    border: 2px solid transparent;
}

.car-gallery .thumb.active,
.car-gallery .thumb:hover {
    opacity: 1;
    border-color: var(--sam-red);
}

.car-gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-info-panel {
    background: white;
    border-radius: var(--sam-radius);
    padding: 30px;
    box-shadow: var(--sam-shadow);
}

.car-info-panel h1 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.car-info-panel .car-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sam-border);
}

.car-info-panel .car-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--sam-text-light);
}

.car-info-panel .car-meta span i {
    color: var(--sam-red);
}

.specs-table {
    width: 100%;
    margin-bottom: 24px;
}

.specs-table tr:nth-child(even) {
    background: var(--sam-gray-bg);
}

.specs-table td {
    padding: 10px 14px;
    font-size: 13px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--sam-dark);
    width: 40%;
}

.detail-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-info-card {
    background: white;
    border-radius: var(--sam-radius);
    padding: 30px;
    box-shadow: var(--sam-shadow);
    height: 100%;
}

.contact-info-card .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(238, 46, 45, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sam-red);
    font-size: 20px;
    margin-bottom: 16px;
}

.contact-info-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--sam-radius);
    padding: 30px;
    box-shadow: var(--sam-shadow);
}

.map-container {
    border-radius: var(--sam-radius);
    overflow: hidden;
    height: 350px;
    margin-top: 30px;
    box-shadow: var(--sam-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   NEWS PAGE
   ============================================ */
.news-card {
    background: white;
    border-radius: var(--sam-radius);
    overflow: hidden;
    box-shadow: var(--sam-shadow);
    transition: var(--sam-transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sam-shadow-lg);
}

.news-card .news-img {
    height: 200px;
    overflow: hidden;
    background: var(--sam-gray-bg);
}

.news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .news-body {
    padding: 20px;
}

.news-card .news-body .date {
    font-size: 12px;
    color: var(--sam-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.news-card .news-body h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--sam-dark);
}

.news-card .news-body p {
    font-size: 14px;
    color: var(--sam-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-card {
    background: white;
    border-radius: var(--sam-radius);
    padding: 30px;
    box-shadow: var(--sam-shadow);
    text-align: center;
    transition: var(--sam-transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sam-shadow-lg);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(238, 46, 45, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--sam-red);
    font-size: 28px;
    transition: var(--sam-transition);
}

.service-card:hover .service-icon {
    background: var(--sam-gradient);
    color: white;
    transform: scale(1.1);
}

.service-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--sam-text-light);
    line-height: 1.7;
}

/* ============================================
   ABOUT / AUTOSALONE PAGE EXTRAS
   ============================================ */
.about-content-section {
    padding: 60px 0;
}

.about-content-section .about-photo {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.about-content-section .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-block p {
    color: var(--sam-text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.values-section {
    padding: 60px 0;
    background: var(--sam-gray-bg);
}

/* Contact page helpers */
.contact-link {
    color: var(--sam-red);
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--sam-red-dark);
}

.contact-select {
    border-radius: var(--sam-radius-sm);
    padding: 12px 16px;
    border: 1px solid var(--sam-border);
    margin-bottom: 0;
}

/* About carousel image styling */
.about-carousel .swiper-slide img {
    height: 350px;
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404-section {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404-section h1 {
    font-size: 8rem;
    color: var(--sam-red);
    font-weight: 900;
    line-height: 1;
}

.error-404-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-404-section p {
    color: var(--sam-text-light);
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .header-info-widgets {
        display: none;
    }

    .main-navbar .navbar-brand {
        display: block;
    }

    .main-navbar .navbar-brand img {
        height: 35px;
    }

    .hero-slider .swiper-slide {
        height: 380px;
    }

    .hero-slide-content h2 {
        font-size: 2rem;
    }

    .search-form-wrapper {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .hero-slider .swiper-slide {
        height: 320px;
    }

    .hero-slide-content h2 {
        font-size: 1.6rem;
    }

    .hero-slide-content p {
        font-size: 0.95rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .stat-card h2 {
        font-size: 2.2rem;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .car-gallery .main-image {
        height: 280px;
    }

    .car-info-panel {
        margin-top: 20px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */
.elementor-page .entry-content,
.elementor-page .page-content {
    margin: 0;
    padding: 0;
}

.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 1140px;
}