/*
Theme Name: Actinia Clone
Theme URI: https://actinia.si
Author: All4Rent
Author URI: https://all4rent.si
Description: Custom theme for luxury sports car rental - inspired by actinia.si
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: actinia-clone
*/

/* Variables */
:root {
    --primary-color: #2a2a2a;
    --accent-color: #e30613;
    /* All4Rent Red */
    --accent-gradient: linear-gradient(135deg, #e30613 0%, #b0050f 100%);
    /* Red Gradient */
    --text-color: #333;
    --light-text: #999;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --border-radius: 4px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #b0050f;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #2c2c2c;
    /* Softer black */
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.main-navigation a,
.section-title,
.hero-section h1,
.post-title,
.vehicle-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #b0050f;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    letter-spacing: 1px;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Header Styles */
.site-header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s;
    top: 0;
    left: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-branding a {
    color: #fff;
}

.site-branding p {
    display: none;
    /* Hide tagline in header to save space */
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-navigation a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(20, 0, 0, 0.7) 100%), url('https://images.unsplash.com/photo-1503376763036-066120622c74?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 200px 0 150px;
    text-align: center;
    color: #fff;
    border-bottom: 5px solid var(--accent-color);
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section p {
    font-size: 22px;
    color: #eee;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 0;
    z-index: -2;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    transition: all .3s;
    z-index: -1;
}

.btn:hover {
    color: var(--accent-color);
}

.btn:hover:before {
    width: 100%;
}

.btn-secondary {
    background: var(--accent-gradient);
    border: none;
    padding: 17px 37px;
    /* Compensate for missing border */
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4);
}

.section-title:after {
    background: var(--accent-gradient);
    height: 4px;
    border-radius: 2px;
}

/* Process Section */
.section-process {
    padding: 80px 0;
    background-color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.process-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border: 1px solid #eee;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Features Section */
.section-features {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    color: #666;
    font-size: 15px;
}

/* Red CTA Banner */
.section-cta-banner {
    background-color: #1a1a1a;
    padding: 80px 0;
    color: #fff;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cta-box {
    background-color: var(--accent-color);
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.3s;
}

.cta-box:hover {
    transform: translateY(-5px);
}

.cta-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.btn-white {
    display: inline-block;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-white:hover {
    background: #fff;
    color: var(--accent-color);
}

.btn-phone,
.btn-email {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/* Vehicle Grid */
.section-vehicles {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vehicle-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vehicle-image-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.vehicle-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 60px;
}

.vehicle-content {
    padding: 25px;
}

.vehicle-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.vehicle-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.vehicle-specs i {
    color: var(--accent-color);
    margin-right: 5px;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.per-day {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.btn-outline {
    border: 1px solid #ddd;
    padding: 8px 20px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #888;
    padding: 80px 0 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.8;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* Filter Buttons */
.brand-filters {
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.brand-filters .filter-btn {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 14px;
    margin: 0;
    /* Handled by gap */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Disable the generic button red gradient for filters */
.brand-filters .filter-btn:after {
    display: none;
}

.brand-filters .filter-btn:hover,
.brand-filters .filter-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

/* Footer & Other Adjustments */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* Middle column wider for contact+map */
    gap: 30px;
    margin-bottom: 30px;
}

.contact-map-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 0 0 200px;
    /* Map fixed width */
}

.contact-map iframe {
    width: 100%;
    height: 150px;
    border-radius: 4px;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-map-wrapper {
        flex-direction: column;
    }

    .contact-map {
        flex: auto;
        width: 100%;
    }
}

/* Page Headers */
.hero-page {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
    text-align: center;
    color: #fff;
}

.hero-page h1 {
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pricing Table Styles */
.pricing-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table th {
    background-color: var(--primary-color);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 18px 15px;
    text-align: center;
}

.pricing-table th:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 2;
}

.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    transition: background 0.2s;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    background-color: #fcfcfc;
    position: sticky;
    left: 0;
    z-index: 1;
    border-right: 1px solid #eee;
}

.pricing-table tbody tr {
    transition: background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pricing-table tbody tr:hover {
    background-color: #fff;
    box-shadow: 0 6px 24px rgba(227, 6, 19, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    outline: 2px solid rgba(227, 6, 19, 0.3);
    outline-offset: -2px;
    z-index: 10;
    position: relative;
}

.pricing-table tbody tr:hover td {
    background-color: #fff;
    color: #111;
    transition: background 0.3s ease, color 0.3s ease;
}

.pricing-table tbody tr:hover td:first-child {
    background: linear-gradient(90deg, rgba(227, 6, 19, 0.1) 0%, rgba(227, 6, 19, 0.02) 100%);
    color: var(--accent-color);
    font-weight: 700;
}

/* Subtle alternating row tint */
.pricing-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.pricing-table tbody tr:nth-child(even):hover {
    background-color: #fff;
}

/* Fix sticky positioning context */
.pricing-table-container {
    padding: 10px;
    margin: -10px;
}

/* Also enhance costs table hover */
.costs-table tr {
    transition: all 0.3s ease;
    cursor: default;
}

.costs-table tr:hover {
    background-color: rgba(227, 6, 19, 0.04) !important;
    transform: translateX(5px);
}

.costs-table tr:hover td:last-child strong {
    color: var(--accent-color);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

/* Additional Costs Table */
.additional-costs-container {
    max-width: 600px;
    margin-bottom: 40px;
}

.costs-table {
    width: 100%;
    border-collapse: collapse;
}

.costs-table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.costs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.vat-note {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Terms Styling */
.terms-list ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.terms-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.terms-list li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--accent-color);
}

.terms-list li sup {
    display: none;
}

.terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.text-success {
    color: #28a745;
    margin-right: 10px;
}

.text-danger {
    color: #dc3545;
    margin-right: 10px;
}

.terms-grid ul {
    list-style: none;
    padding: 0;
}

@media (max-width: 768px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }
}

/* Tables (Cenik) */
table {
    width: 100%;
    margin-bottom: 30px;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background-color: #f9f9f9;
    font-weight: 700;
    text-transform: uppercase;
}

/* Valid for all lists inside content */
.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 13px;
}

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

    .process-grid,
    .features-grid,
    .cta-grid,
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }

    .process-grid,
    .features-grid,
    .cta-grid,
    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
}

/* FAQ Accordion Styles */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    padding: 20px 0;
    position: relative;
    padding-right: 40px;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-color);
}



.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Adjust if needed */
    padding-bottom: 20px;
}

/* About Us Styles */
.about-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-story img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 100px;
}

.value-item i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.team-section {
    text-align: center;
    padding: 80px 0;
    background: #f9f9f9;
}

.team-grid {
    display: flex;
    /* Centered flex if few items */
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.team-member {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 300px;
    max-width: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    height: 300px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    margin-bottom: 5px;
    font-size: 20px;
    color: var(--primary-color);
}

.team-role {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #999;
}

.contact-text a,
.contact-text p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

@media (max-width: 900px) {

    .about-story,
    .contact-wrapper,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-story {
        gap: 30px;
    }

    .about-image {
        order: -1;
        /* Image first on mobile */
    }
}

/* =========================================
   PREMIUM STYLING UPDATE
   ========================================= */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Start hidden */
}

.delay-1 {
    animation-delay: 0.3s;
}

/* Premium Hero */
.premium-hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.premium-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.premium-hero p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Premium Story Section */
.premium-story-section {
    display: flex;
    align-items: center;
    margin: 100px 0;
    position: relative;
}

.story-image-wrapper {
    width: 55%;
    position: relative;
    z-index: 1;
}

.story-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.story-content-box {
    width: 50%;
    background: #fff;
    padding: 60px;
    margin-left: -5%;
    /* Overlap */
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--accent-color);
}

.accent-line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 30px;
}

.premium-quote {
    margin-top: 30px;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    border-left: 3px solid #ddd;
    padding-left: 20px;
}

/* Stats Counter */
.stats-counter-section {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 80px 0;
    background: #111;
    color: #fff;
    margin-bottom: 100px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

/* Glassmorphism Values */
.premium-values {
    gap: 30px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--accent-color);
    transition: all 0.3s;
}

.glass-card:hover .icon-circle {
    background: var(--accent-color);
    color: #fff;
}

/* Team Overlay */
.team-photo {
    position: relative;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-overlay a {
    color: #fff;
    font-size: 24px;
    transition: transform 0.2s;
}

.team-overlay a:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

/* Contact Floating Layout */
.contact-main {
    padding-bottom: 100px;
    margin-top: -100px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
}

.contact-floating-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.floating-card {
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.left-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.right-card {
    flex: 1.5;
    padding: 50px;
}

.card-header {
    margin-bottom: 30px;
}

.accent-line-small {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 15px;
}

.contact-details {
    padding: 40px;
    flex: 1;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* Premium Form Styling */
.form-subtitle {
    color: #666;
    margin-top: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    padding: 15px 10px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #eee;
    background: transparent;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* Floating Label Logic */
.form-group label {
    position: absolute;
    top: 15px;
    left: 10px;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-control:focus~label,
.form-control:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 12px;
    color: var(--accent-color);
}

.form-control::placeholder {
    color: transparent;
    /* Hide placeholder for floating label effect */
}

/* Responsive Premium */
@media (max-width: 900px) {
    .premium-story-section {
        flex-direction: column;
        margin: 50px 0;
    }

    .story-image-wrapper {
        width: 100%;
        margin-bottom: -50px;
    }

    .story-content-box {
        width: 90%;
        margin: 0 auto;
    }

    .stats-counter-section {
        flex-wrap: wrap;
        gap: 40px;
    }

    .contact-floating-wrapper {
        flex-direction: column;
    }

    .contact-main {
        margin-top: 0;
        padding-top: 50px;
    }

    .premium-hero h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   HOME PAGE PREMIUM STYLES
   ========================================= */

/* Hero Buttons */
.btn-primary-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 600;
}

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

/* Split Sections */
.home-split-section {
    display: flex;
    min-height: 600px;
    align-items: center;
}

.home-split-section.reverse-layout {
    flex-direction: row-reverse;
}

.split-image {
    width: 50%;
    height: 600px;
    background-size: cover;
    background-position: center;
}

.split-content {
    width: 50%;
    padding: 80px 100px;
    background: #fff;
}

.text-left {
    text-align: left;
}

.split-content p {
    color: #555;
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-outline-black {
    display: inline-block;
    border: 2px solid #000;
    color: #000;
    padding: 12px 35px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 20px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.btn-outline-black:hover {
    background: #000;
    color: #fff;
}

/* Home Vehicle Grid */
.home-vehicles {
    padding: 100px 0;
    background: #fcfcfc;
}

.vehicle-carousel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* Seamless grid */
}

/* Base Card Styles */
.vehicle-card-home,
.vehicle-card-highlight {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
}

.vehicle-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

/* Overlays */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.overlay-red {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(227, 6, 19, 0.9);
    /* Brand Red */
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* Highlight Card (Always Red or Red on Hover logic) */
.vehicle-card-highlight .overlay-red {
    opacity: 0.85;
    /* Semi-transparent red always visible for highlight */
}

.vehicle-card-home:hover .vehicle-bg-image,
.vehicle-card-highlight:hover .vehicle-bg-image {
    transform: scale(1.1);
}

.vehicle-card-home:hover .overlay-red {
    opacity: 0.9;
}

/* Content Inside Card */
.vehicle-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centered */
    width: 80%;
    text-align: center;
    color: #fff;
    z-index: 3;
    opacity: 0;
    /* Hidden initially for normal cards */
    transition: all 0.4s ease;
}

/* Show content on hover or if highlight */
.vehicle-card-home:hover .vehicle-content-overlay,
.vehicle-card-highlight .vehicle-content-overlay {
    opacity: 1;
}

.vehicle-title-large {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.vehicle-specs-grid {
    margin-bottom: 40px;
}

.spec-item {
    margin-bottom: 20px;
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.spec-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.vehicle-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-action {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}

.btn-action:hover {
    background: #fff;
    color: var(--accent-color);
}

/* Minimal Info (Visible when NOT hovering) */
.vehicle-minimal-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.vehicle-card-home:hover .vehicle-minimal-info,
.vehicle-card-highlight .vehicle-minimal-info {
    opacity: 0;
    /* Hide when full overlay is shown */
}

.info-icon {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.info-price {
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Home */
@media (max-width: 1200px) {
    .vehicle-carousel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .home-split-section,
    .home-split-section.reverse-layout {
        flex-direction: column;
    }

    .split-image,
    .split-content {
        width: 100%;
        height: auto;
    }

    .split-image {
        height: 300px;
    }

    .split-content {
        padding: 40px 20px;
    }

    .vehicle-carousel-grid {
        grid-template-columns: 1fr;
    }

    .premium-hero h1 {
        font-size: 2.5rem !important;
        /* Override inline */
    }
}

/* =========================================
   NEW HOMEPAGE STYLES (Actinia Clone Update)
   ========================================= */

/* 1. Red Hero Card Section (G-Wagon) */
.red-hero-card-section {
    padding: 0;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.red-hero-card {
    position: relative;
    height: 85vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align content to left/center */
}

.red-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.red-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 6, 19, 0.85);
    /* Strong Red Overlay */
    mix-blend-mode: multiply;
    /* Optional: Adjust for better photo visibility if needed, or just opacity */
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.9) 0%, rgba(176, 5, 15, 0.95) 100%);
    z-index: 2;
}

.red-card-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 0 10%;
    max-width: 800px;
    width: 100%;
}

.vehicle-title-hero {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 60px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
}

.hero-specs {
    margin-bottom: 60px;
}

.hero-spec-item {
    margin-bottom: 25px;
}

.spec-label-hero {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.spec-value-hero {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-hero-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--accent-color);
}

/* 2. Detail Carousel Section */
.detail-carousel-section {
    height: 70vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.detail-carousel-container {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

/* Simple JS-less fallback or placeholder structure. 
   For a real carousel, we'd need JS. For now, let's just show one big image or a grid. 
   If user wants carousel, we will assume JS will be added later or we use CSS animation.
   Let's use a simple CSS animation for auto-sliding for now to "wow" them. */

.detail-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.carousel-overlay {
    position: absolute;
    bottom: 50px;
    right: 50px;
    text-align: right;
    color: #fff;
    z-index: 10;
}

.carousel-overlay h3 {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* 3. Vehicle Cards Updates (Hover Effects) */
.vehicle-carousel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* Seamless grid */
}

/* Modern Vehicle Card Design */
/* Modern Vehicle Card Design - Premium Refinement */
.vehicle-card-home {
    position: relative;
    height: 700px;
    /* Taller for grandeur */
    background: #111;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle separator */
}

.vehicle-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1);
    /* Smoother slow zoom */
    opacity: 1.0;
}

.vehicle-card-home:hover .vehicle-bg-image {
    transform: scale(1.05);
    opacity: 0.9;
    /* Darker on hover to make text pop */
}

/* Gradient Overlay - Always visible for readability */
.overlay-gradient-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: background 0.5s ease;
}

.vehicle-card-home:hover .overlay-gradient-modern {
    background: rgba(0, 0, 0, 0.65);
}

.vehicle-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.vehicle-title-large {
    font-size: 2.5rem;
    /* Larger */
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

.vehicle-card-home:hover .vehicle-title-large {
    color: var(--accent-color);
}

.vehicle-price-overlay {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
}

/* Specs - Always visible, clean icons */
.vehicle-specs-grid {
    display: flex;
    /* Flex row instead of grid for icons */
    gap: 30px;
    margin-bottom: 30px;
    opacity: 0.8;
    max-height: none;
    overflow: visible;
    transform: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    justify-content: center;
}

.vehicle-card-home:hover .vehicle-specs-grid {
    opacity: 1;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.spec-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-value i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Actions - Visible on Hover */
.vehicle-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    height: 0;
    overflow: hidden;
    margin-top: 0;
}

.vehicle-card-home:hover .vehicle-actions {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 15px;
    overflow: visible;
}

.btn-action {
    flex: 1;
    padding: 12px 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* 4. Header Animation */
.site-header {
    /* Already has transition from previous CSS */
    animation: slideDown 0.8s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 5. Responsive Adjustments for New Sections */
@media (max-width: 1200px) {
    .vehicle-carousel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .red-hero-card {
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }

    .red-card-content {
        padding: 40px 20px;
        text-align: center;
    }

    .vehicle-title-hero {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .home-split-section {
        flex-direction: column !important;
        /* Force stack */
        height: auto;
    }

    .split-image,
    .split-content {
        width: 100%;
        height: auto;
    }

    .split-image {
        height: 400px;
    }

    .split-content {
        padding: 50px 20px;
    }
}

@media (max-width: 600px) {
    .vehicle-carousel-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-title-hero {
        font-size: 2.5rem;
    }

    .spec-value-hero {
        font-size: 2.5rem;
    }
}

/* Hero Slider */
.hero-slider-section {
    position: relative;
    height: 90vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Dark overlay for readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Zoom effect on active slide */
.hero-slide.active {
    animation: panZoom 20s infinite alternate;
}

@keyframes panZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-bucket {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 1000px;
    padding: 0 20px;
    margin-top: -80px;
    /* Offset for booking bar */
}

/* Hero Typography - Premium Look */
.hero-bucket h1 {
    font-size: 5rem;
    font-weight: 600;
    /* Slightly thinner */
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-bucket p {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Booking Bar - Glass Floating */
.booking-bar-container {
    position: absolute;
    bottom: 60px;
    /* Slightly lower */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    /* Wider */
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.1);
    /* More transparent */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 40px;
    border-radius: 2px;
    /* Sharper corners */
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.booking-bar-form {
    display: flex;
    gap: 40px;
    /* More space between fields */
    align-items: center;
}

.booking-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.booking-field label {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    /* Light text on dark/glass bg */
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.booking-input {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #fff;
    /* White text input */
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
}

.booking-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.booking-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.booking-action {
    flex: 0 0 auto;
}

.btn-booking {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-booking:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Booking Bar */
@media (max-width: 991px) {
    .booking-bar-form {
        flex-direction: column;
        gap: 15px;
    }

    .booking-field {
        width: 100%;
    }

    .booking-action {
        width: 100%;
    }

    .btn-booking {
        width: 100%;
    }

    .hero-bucket h1 {
        font-size: 3rem;
    }
}

/* Pricing Page - Costs Table */
.costs-table {
    width: 100%;
    border-collapse: collapse;
}

.costs-table tr {
    border-bottom: 1px solid #eee;
}

.costs-table td {
    padding: 18px 15px;
    font-size: 1rem;
}

.costs-table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
}

.pricing-notice {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-bottom: 5px;
}

.text-success {
    color: #28a745;
    margin-right: 8px;
}

.text-danger {
    color: #dc3545;
    margin-right: 8px;
}

/* ===== MODERN LAYOUT IMPROVEMENTS ===== */

/* Better section spacing */
.home-vehicles {
    padding: 120px 0;
}

.home-split-section {
    min-height: 80vh;
    /* Taller */
    padding: 100px 0;
}

.detail-carousel-section {
    margin: 0;
}

/* How to Rent Section */
.how-to-rent-section {
    padding: 120px 0;
    background: #f8f8f8;
    text-align: center;
}

.rent-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0;
}

/* Service Icons - Premium Badges */
.rent-step-card {
    background: transparent;
    /* No card bg */
    padding: 20px;
    /* Less padding */
    border: none;
    /* No border */
    align-items: center;
    text-align: center;
}

.rent-step-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    /* Clean */
}

.step-icon {
    width: 100px;
    height: 100px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    color: #222;
}

.rent-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rent-step-card:hover .step-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.05);
}

.step-icon i {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(45deg, #333, #000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.rent-step-card:hover .step-icon i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rent-step-card h4 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.rent-step-card p {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 1rem;
}

/* Modern Section Titles */
.section-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-title.text-left::after {
    left: 0;
    transform: none;
}

/* Modern container-fluid padding */
.container-fluid {
    padding: 0 80px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .rent-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rent-step-card {
        padding: 40px 30px;
    }

    .container-fluid {
        padding: 0 20px !important;
    }

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

    .vehicle-specs-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Custom Utilities for Split Sections */
.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 25px 0;
    display: inline-block;
}

.text-left .accent-line {
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.btn-outline-black {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    margin-top: 20px;
    cursor: pointer;
}

.btn-outline-black:hover {
    border-color: #000;
}

/* Split Section Layout Fix */
.home-split-section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0 !important;
    /* Override previous padding */
    min-height: 80vh;
}

.home-split-section.reverse-layout {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    min-height: 500px;
    /* Ensure visible even if empty content */
    background-size: cover;
    background-position: center;
    position: relative;
}

.split-content {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

/* Ensure text alignment works within flex item */
.split-content .section-title {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .home-split-section {
        flex-direction: column !important;
        height: auto;
        min-height: auto;
    }

    .split-image {
        width: 100%;
        height: 400px;
        flex: none;
        min-height: 400px;
    }

    .split-content {
        padding: 60px 30px;
        flex: none;
    }
}

/* Vehicle Carousel - Horizontal Scroll Snap */
.vehicle-carousel-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    /* Spacing requested */
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look if desired, or thin */
    -ms-overflow-style: none;
}

.vehicle-carousel-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for premium look */
}

.vehicle-card-home {
    flex: 0 0 300px;
    /* Slightly narrower */
    scroll-snap-align: start;
    height: 380px;
    /* Requested shorter height */
    min-height: 380px;
    margin-bottom: 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.vehicle-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.vehicle-card-home:hover .vehicle-bg-image {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Carousel Navigation Arrows */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

@media (max-width: 768px) {
    .vehicle-card-home {
        flex: 0 0 85vw;
        height: 300px;
        min-height: 300px;
    }

    .carousel-nav-btn {
        display: none;
    }
}

/* Trust Bar Marquee */
.trust-bar-content {
    text-align: center;
    color: #fff;
    padding: 10px 20px;
    overflow: hidden;
}

.trust-title {
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Oswald', sans-serif;
}

.trust-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.trust-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    white-space: nowrap;
    opacity: 0.8;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Ensure content is duplicated to fill 200% width or logic */
}

/* --- UPDATES --- */

/* 1. Trust Bar Layout Update (Left Aligned) */
.trust-bar-content {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 15px 40px;
}

.trust-title {
    margin: 0;
    margin-right: 50px;
    /* Space between title and logos */
    font-size: 1rem;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 30px;
}

.trust-marquee {
    flex: 1;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* 2. Photo Grid Box */
.split-image-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    min-height: 500px;
    padding: 0;
    /* Align perfectly */
}

.grid-item {
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.grid-item:hover {
    transform: scale(1.03);
    z-index: 2;
}

/* 3. Vehicle Card Fixes (Text Cutting Off) */
.vehicle-card-home {
    flex: 0 0 340px;
    /* Wider card */
    min-height: 480px;
    /* Taller to fit content comfortably */
    height: auto;
    background: #000;
}

.vehicle-content-overlay {
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 60%, transparent 100%);
}

.vehicle-specs-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 10px;
}

.spec-item {
    flex: 1;
    min-width: 0;
    /* Allow shrinking */
}

.spec-value {
    font-size: 0.9rem;
    /* Smaller font */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-actions {
    display: flex;
    gap: 15px;
}

.btn-action {
    flex: 1;
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Vehicle Carousel Wrapper */
.vehicle-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- MOBILE OPTIMIZATION & NAVIGATION --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    /* Stronger selector to ensure hidden by default */
    .site-header .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 20px;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .site-header .main-navigation.toggled {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .primary-menu {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .primary-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .primary-menu a {
        display: block;
        font-size: 1.1rem;
    }

    /* Trust Bar Mobile */
    .trust-bar-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .trust-title {
        margin-right: 0;
        margin-bottom: 15px;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
        width: 100%;
    }

    /* Split Grid Mobile */
    .split-image-grid {
        min-height: 350px;
    }

    /* Rent Steps Mobile */
    .rent-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .contact-map-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-map {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Hero Text Mobile */
    .hero-bucket h1 {
        font-size: 2.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SPLIT SLIDESHOW --- */
.split-image-slideshow {
    flex: 1;
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

@media (max-width: 768px) {
    .split-image-slideshow {
        min-height: 350px;
    }
}

/* --- GLOBAL LAYOUT FIXES --- */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

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

/* Mobile Specific Overflow Prevention */
@media (max-width: 991px) {
    .site-header {
        position: relative;
        /* Ensure absolute nav is relative to header */
    }

    .site-header .main-navigation {
        width: 100vw;
        max-width: 100vw;
        left: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .trust-bar-content {
        width: 100%;
        padding: 20px 15px;
    }

    .trust-marquee {
        width: 100%;
        max-width: 100%;
    }

    .home-split-section,
    .hero-slider-section {
        width: 100%;
        overflow: hidden;
    }

    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
}

/* Contact Page Heading Fix */
.contact-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ================================================================
   ARCHIVE PAGE — FILTER SYSTEM + VEHICLE CARDS
   ================================================================ */

/* Brand filter strip */
.vp-brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 28px 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.vp-pill {
    background: #fff;
    border: 1.5px solid #ddd;
    color: #222;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.vp-pill:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.vp-pill.active {
    background: #9b1c1c;
    border-color: #9b1c1c;
    color: #fff;
}

/* Advanced filters panel */
.vp-advanced {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    background: #f7f7f7;
    border-bottom: 3px solid #9b1c1c;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.vp-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 130px;
}

.vp-filter-item label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-family: 'Oswald', sans-serif;
}

.vp-filter-item select,
.vp-filter-item input[type="number"] {
    border: 1.5px solid #ddd;
    background: #fff;
    padding: 8px 12px;
    font-size: 13px;
    color: #222;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 3px;
}

.vp-filter-item select:focus,
.vp-filter-item input:focus {
    border-color: #9b1c1c;
}

.vp-range-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vp-range-row select {
    min-width: 80px;
}

.vp-dash {
    color: #aaa;
    font-weight: bold;
}

.vp-sort-item {
    min-width: 180px;
}

.vp-sort-item select {
    width: 100%;
}

.vp-reset-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 9px 22px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-end;
    font-family: 'Oswald', sans-serif;
    border-radius: 3px;
    margin-left: auto;
}

.vp-reset-btn:hover {
    background: #9b1c1c;
}

.vp-results-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 16px;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* Vehicle Grid */
#vp-grid.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* VEHICLE CARD */
a.vehicle-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    border-radius: 3px;
}

a.vehicle-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

/* Media area */
.vpc-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #1a1a1a;
    flex-shrink: 0;
    border-radius: 3px 3px 0 0;
}

.vpc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

a.vehicle-card:hover .vpc-img {
    transform: scale(1.06);
}

.vpc-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.vpc-noimg svg {
    width: 56px;
    height: 56px;
    opacity: 0.25;
}

/* Stats chips on image */
.vpc-chips {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    padding: 32px 12px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    pointer-events: none;
}

.vpc-chip {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Card body */
.vpc-body {
    padding: 16px 20px 8px;
    flex: 1;
}

.vpc-body .vehicle-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 8px;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.vpc-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.vpc-price {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #9b1c1c;
}

.vpc-price-request {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    font-style: italic;
}

/* Card footer */
.vpc-footer {
    padding: 10px 20px 18px;
    border-top: 1px solid #f0f0f0;
}

.vpc-footer .btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* No results */
.vp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    #vp-grid.vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    #vp-grid.vehicle-grid {
        grid-template-columns: 1fr;
    }

    .vp-brand-strip {
        gap: 6px;
    }

    .vp-pill {
        padding: 7px 14px;
        font-size: 11px;
    }

    .vp-advanced {
        padding: 14px;
        gap: 12px;
    }
}

/* ================================================================
   SPLIT SECTION LAYOUT FIX
   Photo is top-aligned with text, has equal right-side margin,
   and its height matches the text content (not 80vh).
   ================================================================ */
.home-split-section {
    min-height: 0 !important;
}

/* Non-reverse layout: image on left with 50px left margin */
.split-image-slideshow {
    margin: 80px 60px 80px 50px !important;
    border-radius: 3px;
    overflow: hidden;
}

/* Reverse layout: image on right */
.home-split-section.reverse-layout .split-image-slideshow {
    margin: 80px 120px 80px 60px !important;
}

@media (max-width: 991px) {
    .split-image-slideshow {
        margin: 0 !important;
        border-radius: 0;
    }
}

/* ── Split slideshow: faster transition to prevent blank-flash glitch ─────── */
.slide-item {
    transition: opacity 0.5s ease-in-out !important;
}

/* ── Vehicle Carousel — definitive layout fix ─────────────────────────────── */
.vehicle-carousel-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: auto !important;
    height: 480px !important;
    gap: 4px !important;
    cursor: default !important;
}

.vehicle-carousel-grid::-webkit-scrollbar {
    display: none !important;
}

.vehicle-card-home {
    position: relative !important;
    flex: 0 0 340px !important;
    width: 340px !important;
    height: 480px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #111 !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    .vehicle-card-home {
        flex: 0 0 85vw !important;
        height: 340px !important;
    }

    .vehicle-carousel-grid {
        height: 340px !important;
    }
}

.vehicle-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.5s ease !important;
    z-index: 1 !important;
    opacity: 1 !important;
}

.vehicle-card-home:hover .vehicle-bg-image {
    transform: scale(1.05) !important;
    opacity: 0.8 !important;
}

.overlay-gradient-modern {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.32) !important;
    z-index: 2 !important;
    transition: background 0.4s ease !important;
}

.vehicle-card-home:hover .overlay-gradient-modern {
    background: rgba(0, 0, 0, 0.65) !important;
}

.vehicle-content-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px !important;
    z-index: 3 !important;
    opacity: 0 !important;
    transform: none !important;
    background: none !important;
    transition: opacity 0.3s ease !important;
}

.vehicle-card-home:hover .vehicle-content-overlay,
.vehicle-card-highlight .vehicle-content-overlay {
    opacity: 1 !important;
}

.vehicle-specs-grid {
    justify-content: center !important;
}

.vehicle-actions {
    justify-content: center !important;
}

/* ================================================================
   SINGLE VEHICLE — PHOTO GALLERY CAROUSEL
   ================================================================ */
.vpc-gallery {
    margin-bottom: 32px;
}

.vpc-main-wrap {
    position: relative;
    background: #111;
    border-radius: 3px;
    overflow: hidden;
    line-height: 0;
}

#vpc-main {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.vpc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 5;
}

.vpc-arrow:hover {
    background: rgba(155, 28, 28, 0.85);
    border-color: #9b1c1c;
}

.vpc-prev {
    left: 14px;
}

.vpc-next {
    right: 14px;
}

.vpc-img-counter {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.vpc-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.vpc-thumb {
    width: 90px;
    height: 62px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 3px;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.vpc-thumb:hover {
    opacity: 0.85;
}

.vpc-thumb.active {
    opacity: 1;
    border-color: #9b1c1c;
}

/* ================================================================
   HERO SLIDER STYLES (Added for Fix)
   ================================================================ */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay for text readability */
}

.hero-bucket {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-bucket h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-bucket p {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

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

/* ================================================================
   SINGLE VEHICLE HEADER FIX
   ================================================================ */
.single-vehicle-hero {
    padding-top: 160px;
    /* Increased to ensure clearance */
    padding-bottom: 60px;
    background: #f4f4f4;
    text-align: center;
}

.single-vehicle-hero h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-transform: uppercase;
}