/*
Theme Name: Riviera
Description: A clean and modern WordPress theme with elegant design and responsive layout
Version: 1.0.0
Author: Custom Development
Text Domain: riviera
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 14px;
}
main#main {
    background-color:#1A2027;
}
/* Color Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}
.header-separator {
    display:none;
}

/* Header Styles */
.site-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
}

.header-container {
    margin: 0 auto;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo img.custom-logo {
    max-height: 48px;
    width: auto;
    height: auto;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #D8B65D;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-title a {
    color: #D8B65D;
    text-decoration: none;
}

.site-description {
    font-size: 0.8rem;
    color: #ffffff;
    margin: -0.2rem 0 0 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-navigation {
    flex: 1;
    margin: 0 2rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: end;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    display: inline-block;
}

.main-navigation a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
}

/* Add padding-right only to menu items with submenus */
#site-navigation li.menu-item-has-children > a {
    padding-right: 20px;
}

/* Add arrow to main menu items that have submenus */
#site-navigation li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 10px;
    background-image: url('images/right-arrow-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #D8B65D;
}

/* Submenu Styles */
#site-navigation ul.sub-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    
    position: absolute;
    background-color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 4px;
    width: 228px;
    border: solid #F5F5F5;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    margin-top: 10px;
}

#site-navigation ul.sub-menu li {
    padding: 0px;
}

#site-navigation ul.sub-menu li a {
    padding: 0px;
    color: #1A2027;
    display: block;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

#site-navigation ul.sub-menu li a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('images/right-arrow-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#site-navigation ul.sub-menu li a:hover {
    color: #1A2027;
    font-weight: bold;
}

/* Show submenu on hover - disabled in favor of JavaScript with delay */
/* #site-navigation li:hover > ul.sub-menu {
    display: flex;
} */

/* Active/Current Menu Item */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: #D8B65D;
}

/* Prevent Active Menu Item Highlighting */
.main-navigation .no-active-highlight.current-menu-item > a,
.main-navigation .no-active-highlight.current-menu-ancestor > a,
.main-navigation .no-active-highlight.current-page-ancestor > a,
.main-navigation .no-active-highlight.current-page-item > a {
    color: #ffffff !important;
}

/* Header Actions */
.header-actions {
    flex: 0 0 auto;
}

.rent-car-btn {
    background: #D8B65D;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.rent-car-btn:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Header Separator */
.header-separator {
    height: 1px;
    background: #ffffff;
    width: 100%;
}

/* Main Content */
.site-main {
    padding: 6rem 0 2rem;
    min-height: 60vh;
}

.content-area {
    max-width: 1120px;
    margin: 0 auto;
}

/* Post Styles */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.post:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.7;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

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

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

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-toggle-icon span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .main-navigation.toggled {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 2rem;
        color: #000000;
        font-size: 14px;
        position: relative;
    }
    
    /* Add padding-right only to mobile menu items with submenus */
    #site-navigation li.menu-item-has-children > a {
        padding-right: 3rem;
    }
    
    /* Add arrow to mobile menu items that have submenus */
    #site-navigation li.menu-item-has-children > a::after {
        content: "";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background-image: url('images/right-arrow-svgrepo-com.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .main-navigation a:hover {
        background: #f5f5f5;
        color: #000000;
    }
    
    #site-navigation ul.sub-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #ffffff;
        margin-top: 0.5rem;
        border-radius: 4px;
        width: auto;
        border: 1px solid #e0e0e0;
    }
    
    #site-navigation ul.sub-menu a {
        color: #000000;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem 1.5rem;
        min-height: 2.5rem;
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
        padding-right: 2.5rem;
    }
    
    #site-navigation ul.sub-menu a::after {
        content: "";
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background-image: url('images/right-arrow-svgrepo-com.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #site-navigation ul.sub-menu a:hover {
        background: #f5f5f5;
        color: #000000;
        font-weight: bold;
    }
    
    .header-container {
        position: relative;
        flex-wrap: wrap;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 0rem;
    }
}

/* Header Scroll Effect */
.site-header {
    transition: transform 0.3s ease, background-color 0.3s ease;
    background: transparent;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.scrolled:not(.header-hidden) {
    background: rgba(26, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Image Loading Animation */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Keyboard Focus Styles */
.keyboard-focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Footer Styles */
.site-footer {
    background: #1a2027;
    color: #ffffff;
    padding: 3rem 3rem;
    margin-top: 0rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    /* justify-content: end; */
    gap: 0.5rem;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 440px;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5rem;
}

.footer-copyright p {
    color: #cccccc;
    font-size: 12px;
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #cccccc;
    font-size: 12px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #D8B65D;
}

/* Footer Links Section */
.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0rem;
}

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

.footer-menu li {
    margin-top: 1.3rem;
}

.footer-menu a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #D8B65D;
}

/* Footer Contact Section */
.contact-item {
    margin-bottom: 0.5rem;
}

.contact-label {
    color: #D8B65D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 16px;
    height: 16px;
}

.contact-details span {
    color: #ffffff;
    font-size: 14px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #D8B65D;
}

.contact-link:hover .contact-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(67%) saturate(1234%) hue-rotate(358deg) brightness(102%) contrast(95%);
}

.social-section {
    margin-top: 1rem;
}

.social-title {
    color: #D8B65D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ffffff;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #D8B65D;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile Header Styles */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    /* border-top: 3px solid #8B5CF6; */
    transition: background-color 0.3s ease, transform 0.3s ease;
    overflow: visible;
}

.mobile-header.scrolled:not(.header-hidden) {
    background: rgba(26, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-header.header-hidden {
    transform: translateY(-100%);
}

/* Ensure mobile header doesn't create containing block when menu is open */
.mobile-header:has(.mobile-menu-overlay.active) {
    transform: none !important;
}

.mobile-header-top {
    display: flex;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    gap: 1rem;
}

.mobile-logo {
    justify-self: start;
    flex: 1;
}

.mobile-logo-img {
    max-height: 28px;
    width: auto;
}

.mobile-center-actions {
    justify-self: center;
}

.mobile-right-actions {
    justify-self: end;
}

.mobile-rent-car-btn {
    background: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.mobile-rent-car-btn:hover {
    transform: translateY(-1px);
    opacity: 0.8;
}

.mobile-whatsapp-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.mobile-menu-toggle {
    background: #D8B65D;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background: #b8941f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #191F25;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ensure mobile menu overlay is always positioned correctly relative to viewport */
.mobile-header .mobile-menu-overlay {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    /* border-bottom: 1px solid #333; */
    flex-shrink: 0;
}

.mobile-menu-logo-img {
    max-height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #D8B65D;
    transition: all 0.3s ease;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-navigation {
    padding: 1rem 1.5rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    overflow-y: auto;
    min-height: 0;
}

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

.mobile-navigation li {
    margin-bottom: 1.5rem;
}

.mobile-navigation a {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-navigation a:hover {
    color: #D8B65D;
}

/* Prevent Active Menu Item Highlighting - Mobile */
.mobile-navigation .no-active-highlight.current-menu-item > a,
.mobile-navigation .no-active-highlight.current-menu-ancestor > a,
.mobile-navigation .no-active-highlight.current-page-ancestor > a,
.mobile-navigation .no-active-highlight.current-page-item > a {
    color: #ffffff !important;
}

.mobile-navigation li.menu-item-has-children > a::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('images/right-arrow-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: none;
}

/* Hide submenu items in mobile main menu */
.mobile-navigation .sub-menu {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu-footer {
    padding: 1rem 1.5rem;
    /* border-top: 1px solid #333; */
    text-align: center;
    flex-shrink: 0;
}

.mobile-menu-rent-btn {
    background: #D8B65D;
    display:flex;
    align-items:center;
    justify-content:center;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    width: 90%;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-rent-btn:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-menu-whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Submenu Overlay */
.mobile-submenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #191F25;
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-submenu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    flex-shrink: 0;
}

.mobile-submenu-logo {
    flex: 1;
}

.mobile-submenu-logo img {
    max-height: 35px;
    width: auto;
}

.mobile-submenu-close {
    background: none;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-submenu-close:hover {
    background: #D8B65D;
}

.mobile-submenu-close .close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #D8B65D;
    transition: all 0.3s ease;
}

.mobile-submenu-close:hover .close-line {
    background-color: #1A1C20;
}

.mobile-submenu-close .close-line:first-child {
    transform: rotate(45deg);
}

.mobile-submenu-close .close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-submenu-back {
    background: none;
    border: none;
    color: #D8B65D;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    /* align-items: center; */
    transition: color 0.3s ease;
    margin: 1rem 1.5rem 0 1.5rem;
    padding: 0;
    flex-shrink: 0;
}

.mobile-submenu-back:hover {
    color: #ffffff;
}

.mobile-submenu-back:hover .back-arrow {
    fill: #ffffff;
}

.back-arrow {
    width: 15px;
    /* height: 18px; */
    transform: scaleX(-1);
    fill: #D8B65D;
}

.mobile-submenu-navigation {
    flex: 1;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    min-height: 0;
}

.mobile-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-submenu-list li {
    margin-bottom: 2rem;
}

.mobile-submenu-list a {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    display: block;
    /* padding: 0.5rem 0; */
    transition: color 0.3s ease;
}

.mobile-submenu-list a:hover,
.mobile-submenu-list a.active {
    color: #D8B65D;
}

.mobile-submenu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #333;
    display:flex;
    justify-content:center;
    flex-shrink: 0;
}
.mobile-submenu-rent-btn {
    background: #D8B65D;
    
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 90%;
}

.mobile-submenu-rent-btn:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-submenu-whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Show/Hide Headers Based on Screen Size */
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-header {
        display: block;
    }
    
    .mobile-header {
        display: none;
    }
}

/* Mobile Footer */
/* Desktop Footer - Hide on mobile */
@media (max-width: 768px) {
    .desktop-footer {
        display: none;
    }
}

/* Mobile Footer Styles */
.mobile-footer {
    display: none; /* Hidden by default, shown via media query */
    background: #191F25;
    color: #ffffff;
    padding: 3rem 2rem;
}
h3.mobile-footer-title.mobile-footer-title-contact {
    margin-bottom:2rem;
}
.mobile-footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}

.mobile-footer-section {
    width: 100%;
}

/* Mobile Footer Brand Section */
.mobile-footer-brand {
    text-align: left;
}

.mobile-footer-logo {
    margin-bottom: 1rem;
}

.mobile-footer-logo-img {
    max-height: 40px;
    width: auto;
}

.mobile-footer-description {
    margin-bottom: 0;
}

.mobile-footer-description p {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.8;
    margin: 0;
}

/* Mobile Footer Bottom Section */
.mobile-footer-bottom {
    text-align: left;
    /* border-top: 1px solid #333; */
    padding-top: 1.5rem;
    /* margin-top: 1rem; */
}

.mobile-footer-copyright {
    margin-bottom: 1rem;
}

.mobile-footer-copyright p {
    color: #cccccc;
    font-size: 14px;
    margin: 0;
}

.mobile-footer-legal {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.mobile-footer-legal a {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 200;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mobile-footer-legal a:hover {
    color: #ffffff;
}

/* Mobile Footer Links Section */
.mobile-footer-links {
    text-align: left;
}

.mobile-footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

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

.mobile-footer-menu li {
    margin-bottom: 0.75rem;
}

.mobile-footer-menu a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-footer-menu a:hover {
    color: #D8B65D;
}

/* Mobile Footer Contact Section */
.mobile-footer-contact {
    text-align: left;
}

.mobile-contact-item {
    margin-bottom: 1.5rem;
}

.mobile-contact-label {
    color: #D8B65D;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.mobile-contact-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.mobile-contact-icon {
    width: 16px;
    height: 16px;
    fill: #25D366;
}

.mobile-contact-details span {
    color: #cccccc;
    font-size: 14px;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.mobile-contact-link:hover {
    color: #D8B65D;
}

.mobile-contact-link:hover .mobile-contact-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(67%) saturate(1234%) hue-rotate(358deg) brightness(102%) contrast(95%);
}

/* Mobile Footer Social Media Section */
.mobile-social-section {
    margin-top: 1.5rem;
}

.mobile-social-title {
    color: #D8B65D;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.mobile-social-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.mobile-social-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-social-link:hover {
    color: #D8B65D;
}

.mobile-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mobile-social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Show mobile footer on mobile devices */
@media (max-width: 768px) {
    .mobile-footer {
        display: block;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.375rem;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.search-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

/* Error 404 Styles */
.error-404.not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.error-404-number {
    font-size: 8rem;
    font-weight: 800;
    color: #D8B65D;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Mulish', sans-serif;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(216, 182, 93, 0.3);
}

.error-404-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-family: 'Mulish', sans-serif;
    letter-spacing: -0.01em;
}

.error-404-message {
    font-size: 1.125rem;
    color: #B0B0B0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-family: 'Mulish', sans-serif;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.error-404-btn {
    display: inline-block;
    background: #D8B65D;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Mulish', sans-serif;
    border: none;
    cursor: pointer;
}

.error-404-btn:hover {
    background: #C4A04A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 182, 93, 0.4);
}

@media (max-width: 768px) {
    .error-404-content {
        padding: 2rem 1rem;
    }
    
    .error-404-number {
        font-size: 5rem;
    }
    
    .error-404-title {
        font-size: 1.75rem;
    }
    
    .error-404-message {
        font-size: 1rem;
    }
    
    .error-404-btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-main {
        padding: 1rem 0;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
}
h3.footer-title.contact-us {
    margin-bottom:1.5rem;
}
/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
div#rvr-contact-us-button .elementor-button-icon svg{
    width:20px;
    height:20px;
}
div#rvr-contact-us-button .elementor-button-content-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
}

ul#mobile-primary-menu {
    /* margin-top: 35px; */
    width: 100%;
}

/* Hide desktop sections on desktop and tablet */
@media (min-width: 769px) {
    .rvr-hide-desktop-sections {
        display: none !important;
    }
}

/* Hide mobile sections on mobile and tablet */
@media (max-width: 768px) {
    .rvr-hide-mobile-sections {
        display: none !important;
    }
}

/* Mobile submenu visibility control */
.mobile-submenu-overlay {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-submenu-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Testimonials Shortcode Styles */
.testimonials-container {
    position: relative;
    margin: 2rem 0;
    padding: 0;
}

.testimonial-rating-badge {
    background: #1a2027;
    color: #ffffff;
    padding: 0rem 1rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-rating-badge .rating-star {
    color: #D8B65D;
    font-size: 28px;
    font-weight: bold;
}

.testimonial-rating-badge .rating-text {
    color: #D8B65D;
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 0;
}

.testimonials-grid.testimonials-count-1 {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.testimonials-grid.testimonials-count-2 {
    grid-template-columns: 1fr 1fr;
}

.testimonials-grid.testimonials-count-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.testimonials-grid.testimonials-count-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.testimonial-card {
    background: #C3C3C3;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 80px;
    color: #1A2027;
    font-weight: bold;
    height: fit-content;
    line-height: 20px;
    margin-top: 20px;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-content {
    position: relative;
}

.testimonial-text {
    color: #1A2027;
    font-size: 24px;
    line-height: 1.6;
    flex:1;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-author {
    color: #1A2027;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-description {
    color: #1A2027;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-grid.testimonials-count-2,
    .testimonials-grid.testimonials-count-3,
    .testimonials-grid.testimonials-count-4 {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 36px;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    .testimonial-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-quote {
        font-size: 80px;
    }
    
    .testimonial-rating-badge {
        /* padding: 0.5rem 1rem; */
        font-size: 13px;
    }
}

.testimonial-card {
    display:flex;
    flex-direction:column;
    justify-content:space-between
}

.testimonial-content {
    display:flex;
    flex-direction:column;
    flex:1;
    justify-content:space-between
}

/* Car Single Template */
.car-single { color: #F5F5F5; }
.car-header { margin: 1.5rem 0 1rem; }
.car-title {color: #ffffff;font-size: 42px;font-weight: 400;margin: 0 0 .25rem;}
.car-subtitle {
    color: #D8B65D;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.desktop-share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: block; /* Show on desktop */
}

.desktop-share-btn .share-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.desktop-share-btn:hover .share-icon {
    transform: scale(1.1);
}

/* Share Dropdown */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1A2027;
    border: 2px solid #D8B65D;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 12px;
    overflow: hidden;
}

.share-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Mulish', sans-serif;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(216, 182, 93, 0.2);
    position: relative;
}

.share-option:last-child {
    border-bottom: none;
}

.share-option:hover {
    background: linear-gradient(135deg, rgba(216, 182, 93, 0.15), rgba(216, 182, 93, 0.05));
    color: #D8B65D;
    transform: translateX(4px);
}

.share-option:active {
    transform: translateX(2px);
}

.share-option-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Clipboard Notification */
.clipboard-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #1A2027;
    color: #F5F5F5;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #D8B65D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
    text-align: center;
}

.clipboard-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile notification positioning */
@media (max-width: 768px) {
    .clipboard-notification {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(100%);
        max-width: none;
    }
    
    .clipboard-notification.show {
        transform: translateY(0);
    }
}

.share-option:hover .share-option-icon {
    transform: scale(1.1);
}

/* Add subtle animation to dropdown */
.share-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #D8B65D;
}

.share-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 21px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #1A2027;
}

/* Mobile Navigation Bar - Hidden on desktop */
.car-mobile-nav {
    display: none; /* Hidden on desktop */
    background: #1A2027;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.back-to-listing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.back-arrow {
    font-size: 40px;
    font-weight: 300;
    /* margin-bottom: -12px; */
    margin-right: 10px;
}

.back-text {
    font-family: 'Mulish', sans-serif;
    margin-bottom: -10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
}

.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: -20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-icon {
    width: 24px;
    height: 24px;
    fill: #d8b65d;
}

/* Mobile Share Dropdown */
.mobile-share-dropdown {
    position: relative;
    display: inline-block;
}

.mobile-share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: -20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.mobile-share-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mobile-share-btn .share-icon {
    width: 24px;
    height: 24px;
    fill: #d8b65d;
}

.mobile-share-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1A2027;
    border: 2px solid #D8B65D;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 12px;
    overflow: hidden;
}

.mobile-share-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Mulish', sans-serif;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(216, 182, 93, 0.2);
    position: relative;
}

.mobile-share-option:last-child {
    border-bottom: none;
}

.mobile-share-option:hover {
    background: linear-gradient(135deg, rgba(216, 182, 93, 0.15), rgba(216, 182, 93, 0.05));
    color: #D8B65D;
    transform: translateX(4px);
}

.mobile-share-option:active {
    transform: translateX(2px);
}

.mobile-share-option .share-option-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mobile-share-option:hover .share-option-icon {
    transform: scale(1.1);
}

/* Add arrow pointer for mobile dropdown */
.mobile-share-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #D8B65D;
}

.mobile-share-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 21px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #1A2027;
}

.car-gallery { margin: 1rem 0 2rem; }
.car-gallery-main { position: relative; }
.car-gallery-main img {width: 100%;height: 520px;object-fit: cover;border-radius: 3px;display: none;}
.car-gallery-main img.active { display: block; }
.car-slide-nav {position: absolute;top: 50%;transform: translateY(-50%);background: rgb(0 0 0 / 0%);color: #fff;border: none;width: 50px;font-size: 30px;height: 50px;border-radius: 50%;cursor: pointer;display: flex;align-items: center;justify-content: center;}
.car-slide-nav.prev { left: 10px; }
.car-slide-nav.next { right: 10px; }
.car-gallery-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.car-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-dot.active {
    background: #D8B65D;
}

.car-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.car-intro p { color: #F5F5F5; }
.car-description {color: #F5F5F5;font-size: 18px;}
.car-description.collapsed { max-height: 96px; overflow: hidden; position: relative; }
.car-description.collapsed:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(180deg, rgba(26,32,39,0) 0%, #1A2027 80%); }
.car-read-more {background: none;border: none;color: #D8B65D;font-weight: 600;margin-top: .5rem;font-size: 14px;cursor: pointer;text-decoration: none;display: inline-flex;align-items: center;gap: .5rem;}
.car-read-more .arrow {width: 12px;height: 12px;margin-top: auto;transform: rotate(90deg);transition: transform .2s ease;filter: none;}
.car-read-more[aria-expanded="true"] .arrow { transform: rotate(-90deg); }

.car-specs {margin: 2rem 0;padding-top: 1rem;border-top: 1px solid #707070;}
.car-specs h2 {color: #F5F5F5;font-size: 32px;margin-bottom: 1rem;}

/* Desktop: Show regular headings, hide toggle buttons */
.desktop-heading {
    display: block;
    color: #F5F5F5;
    font-size: 32px;
    margin-bottom: 1rem;
}

.car-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Collapsible Section Toggle - Hidden on desktop */
.car-section-toggle {
    background: none;
    border: none;
    width: 100%;
    display: none; /* Hidden on desktop */
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
}

.car-section-toggle h2 {
    margin: 0;
    color: #F5F5F5;
    font-size: 32px;
}

.toggle-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    fill: #FFFFFF;
}

.car-section-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(90deg);
}

.car-section-toggle[aria-expanded="false"] .toggle-arrow {
    /* transform: rotate(-90deg); */
}

.car-specs-content,
.car-features-content {
    overflow: visible; /* No overflow hidden on desktop */
    transition: none; /* No transition on desktop */
    max-height: none; /* No height restriction on desktop */
}

.car-specs-content.collapsed,
.car-features-content.collapsed {
    max-height: none; /* No collapsing on desktop */
}
.car-specs .spec { margin: .5rem 0; color: #F5F5F5; }
.car-specs .label {color: #F5F5F5;font-weight: 600;margin-right: 6px;font-size: 18px;}
.car-specs .value { color: #F5F5F5; }

.car-features {margin: 2rem 0;padding-top: 1rem;border-top: 1px solid #707070;}
.car-features h2 {color: #F5F5F5;font-size: 31px;margin-bottom: 1rem;}
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.feature-item {position: relative;display: flex;align-items: center;padding-left: 30px;color: #F5F5F5;line-height: 1.4;}
.feature-item:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 16px;
    height: 16px;
    background-image: url('images/checkmark.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car-related { margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.car-related h2 { color: #ffffff; font-size: 22px; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.car-card { background: #ffffff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.car-card-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.car-card-body { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.car-card-title { font-size: 18px; color: #1A2027; margin: 0 0 .25rem; font-weight: 700; }
.car-card-specs { color: #1A2027; font-size: 13px; display: grid; gap: .25rem; }
.car-card-specs .label { color: #64748b; font-weight: 600; margin-right: 6px; }
.car-card-cta { margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.car-card-price { color: #1A2027; font-weight: 700; }
.car-card-price .per { color: #64748b; font-weight: 500; }

@media (max-width: 768px) {
    .car-specs-grid { grid-template-columns: 1fr; }
    .car-title {font-size: 32px;font-weight: 600;}
    .car-gallery-main img {height: 200px;}
    .car-gallery-thumbs .car-thumb { height: 100px; }
    .car-card-thumb img { height: 160px; }
    .car-gallery {margin-bottom: 0rem;margin-top: 0px;}
    .car-subtitle {
        font-size: 14px;
        font-weight: normal;
        display: block; /* Stack on mobile */
    }
    
    .desktop-share-btn {
        display: none !important; /* Hide on mobile */
    }
}

/* Car Search Styles */
.car-search-container {
    /* background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23333" width="1200" height="400"/></svg>'); */
    background-size: cover;
    background-position: center;
    /* padding: 3rem 0; */
    margin-bottom: 2rem;
}

.search-title {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
    text-align: left;
}

.car-search-form {
    background: #FFFFFF;
    border-radius: 5px;
    padding: 0.5rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-filters {
    display: flex;
    /* flex: 1; */
    gap: 0;
}

.filter-group {
    /* flex: 1; */
    display: flex;
    position: relative;
}

.filter-group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: #E0E0E0;
}

.filter-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    color: #191F25;
    font-family: 'Mulish', sans-serif;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 2rem;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
}

.filter-select:focus {
    outline: none;
}

.search-button {
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    margin-left: 1rem;
}

.search-button:hover {
    background: #C4A04A;
}

/* Car Search Results */
.car-search-results {
    padding: 2rem 0;
}

.results-header {
    text-align: right;
    margin-bottom: 1rem;
}
a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

.results-count {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 400;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.car-card {
    background: #FFFFFF;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.car-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    background-color: #f0f0f0;
    display: block;
    border: none;
    outline: none;
    opacity: 1 !important; /* Override global img opacity rule */
    transition: opacity 0.3s ease; /* Smooth transition for image changes */
    flex-shrink: 0; /* Prevent image from shrinking */
    min-height: 200px;
    max-height: 200px;
}

.car-card-image:not([src]),
.car-card-image[src=""],
.car-card-image[src*="undefined"],
.car-card-image[src*="null"] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #e0e0e0;
}

.car-card-image-placeholder {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    border: 2px dashed #ccc;
    flex-shrink: 0;
}

.car-card-content {
    padding: 1.5rem;
}

.car-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #191F25;
    margin: 0 0 1rem 0;
    font-family: 'Mulish', sans-serif;
}

.car-card-specs {
    margin-bottom: 1rem;
}

.car-spec-item {
    display: flex;
    justify-content: start;
    gap: 6px;
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #191F25;
}

.car-spec-label {
    font-weight: 800;
}

.car-spec-value {
    font-weight: 600;
}

.car-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #D8B65D;
    /* margin-bottom: 1.5rem; */
    font-family: 'Mulish', sans-serif;
}

.car-card-actions {
    display: flex;
    padding: 20px;
    padding-top: 0px;
    gap: 1rem;
}

.book-now-btn {
    flex: 1;
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.5rem; */
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
}

.book-now-btn:hover {
    background: #C4A04A;
    color: #FFFFFF;
}

.book-now-btn::before {
    content: '';
    background-image: url('images/social_media/whatsapp.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.5rem;
}

.read-more-btn {
    flex: 1;
    background: transparent;
    color: #1A2027;
    border: 2px solid #1A2027;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
    text-align: center;
}

.read-more-btn:hover {
    background: #1A2027;
    color: #FFFFFF;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #B0B0B0;
    font-size: 18px;
}

.view-more-btn {
    background: transparent;
    color: #F5F5F5;
    border: solid 2px;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    margin: 2rem auto;
    display: block;
    width: fit-content;
}

.view-more-btn .mobile-text {
    display: none;
}

.view-more-btn .desktop-text {
    display: inline;
}

@media (max-width: 768px) {
    .view-more-btn .mobile-text {
        display: inline;
    }
    
    .view-more-btn .desktop-text {
        display: none;
    }
}



.view-more-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Loading States */
.cars-loading {
    text-align: center;
    padding: 2rem;
    color: #B0B0B0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    grid-column: 1 / -1; /* Span all columns in the grid */
    width: 100%;
}

.cars-error {
    text-align: center;
    padding: 2rem;
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    grid-column: 1 / -1; /* Span all columns in the grid */
    width: 100%;
}

/* Car Related Section Styles */
.car-related {
    margin-top: 3rem;
    padding: 2rem 0;
}

.car-related h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2rem 0;
}

.car-related .popular-cars-carousel {
    overflow: hidden;
}

.car-related .popular-cars-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.car-related .popular-car-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
}

.car-related-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.car-related-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-related-dot.active {
    background: #D8B65D;
    transform: scale(1.2);
}

.car-related-dot:hover {
    background: #b8941f;
}

/* Mobile Search Styles */
.mobile-search-form {
    display: none;
}

.mobile-search-trigger {
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    width: 100%;
    margin-top: 1rem;
}

.mobile-search-trigger:hover {
    background: #C4A04A;
}

/* Mobile Filter Popup */
.mobile-filter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1A2027;
    border-radius: 0;
    height: 100vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.popup-content.show {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1rem 1rem 0;
    position: relative;
    min-height: 60px;
}

.popup-title {
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0 0 2rem 0;
    font-family: 'Mulish', sans-serif;
    text-align: center;
    width: 100%;
}

.popup-close-container {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.popup-close {
    background: none;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.popup-close:hover {
    background: #D8B65D;
}

.popup-close .close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #D8B65D;
    transition: all 0.3s ease;
}

.popup-close:hover .close-line {
    background-color: #1A2027;
}

.popup-close .close-line:first-child {
    transform: rotate(45deg);
}

.popup-close .close-line:last-child {
    transform: rotate(-45deg);
}

.popup-body {
    padding: 1rem 1.5rem 6rem;
    display: flex;
    justify-content: center;
    padding-bottom: 50%;
    /* align-self: center; */
    flex: 1;
    /* justify-self: center; */
    flex-direction: column;
    /* min-height: calc(100vh - 200px); */
}

.mobile-filter-group {
    margin-bottom: 1.5rem;
}

.mobile-filter-select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 14px;
    color: #1A2027;
    font-family: 'Mulish', sans-serif;
    font-weight: 800;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2027' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mobile-filter-select option {
    background: #FFFFFF;
    color: #1A2027;
    padding: 0.75rem 1rem;
    font-size: 16px;
    font-family: 'Mulish', sans-serif;
    border: none;
    outline: none;
    line-height: 1.4;
}

.mobile-filter-select option:hover {
    background: #F5F5F5;
    color: #D8B65D;
}

.mobile-filter-select option:checked {
    background: #D8B65D;
    color: #1A2027;
    font-weight: 600;
}

.mobile-filter-select option:focus {
    background: #F5F5F5;
    outline: none;
}

.mobile-filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #D8B65D;
}

.popup-footer {
    padding: 1.5rem;
    background: #1A2027;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.popup-search-btn {
    width: 100%;
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    letter-spacing: 0.5px;
}

.popup-search-btn:hover {
    background: #C4A04A;
}

/* Mobile Responsive for Search */
@media (max-width: 768px) {
    
    
    .desktop-search-form {
        display: none;
    }
    
    .mobile-search-form {
        display: block;
    }
    
    .search-title {
        font-size: 16px;
        margin-bottom: 1rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .car-card-content {
        padding: 1rem;
    }
    
    .car-card-title {
        font-size: 24px;
    }
    
    .car-card-actions {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .mobile-search-form {
        display: none;
    }
    
    .desktop-search-form {
        display: flex;
    }
}

.post.single-car {margin-bottom: 0px;}

.testimonial-text {
    flex:1
}
.post.single-car{
    font-family: Mulish !important;
}

span.label {
    font-family: Mulish;
}
.car-description.collapsed {
    font-size:18px;
}

/* Car Content Layout */
.car-content-wrapper {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.car-pricing-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    bottom: 0px;
    align-self: end;
}

/* Desktop: Show sidebar pricing, hide mobile pricing */
.desktop-pricing {
    display: block;
}

.mobile-pricing,
.mobile-pricing-first {
    display: none;
}

.price-display {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 10px;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 32px;
    font-weight: 600;
    color: #1A2027;
    display: block;
}

.price-period {
    font-size: 14px;
    padding-bottom: 10px;
    color: #1A2027;
    font-weight: 600;
}
.rvr-car-brand-type{
    font-family:mulish;
    font-size:42px;
    font-weight:600;
    color:#F5F5F5;
}
.book-car-btn {
    width: 100%;
    background: #D8B65D;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 1rem;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-car-btn:hover {
    background: #b8941f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.rvr-car-brand-about{
    font-family:mulish;
    font-size:32px;
    font-weight:600;
    color:#F5F5F5;
}
.rvr-cat-desc-shortcode{
    font-family:mulish;
    font-size:18px;
    font-weight:300;
    color:#F5F5F5;
}
@media (max-width: 768px) {
    .car-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 35px;
        padding-top: 0px;
        margin-top: 0px;
    }
    .mobile-search-trigger {
        padding: 1rem 2rem;
    }
    .rvr-car-brand-type{
        font-size:32px;
    }
    .rvr-car-brand-about{
        font-size:18px;
    }
    .rvr-white-color-mobile h2{
        color:#F5F5F5 !important;
    }

    .results-header {
        text-align: left;
    }
    
    /* Mobile: Show navigation bar */
    .car-mobile-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 35px;
        padding-top: 0px;
        margin-top: 55px;
        border-top: solid 1px #363636;
        flex-wrap: nowrap;
    }
    
    /* Mobile: Show mobile pricing widgets, hide desktop pricing */
    .desktop-pricing {
        display: none !important;
    }
    
    .mobile-pricing-first {
        display: block !important;
        position: static;
        margin: 1.5rem 0;
        padding: 20px 20px;
    }
    
    .mobile-pricing {
        display: block !important;
        position: static;
        margin-top: 2rem;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    /* Mobile: Single column for specs and features */
    .car-specs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile: Show dots for car related section */
    .car-related-dots {
        display: flex !important;
    }
    
    /* Mobile: Show only one card at a time */
    .car-related .popular-cars-track {
        gap: 0;
    }
    
    .car-related .popular-car-card {
        flex: 0 0 100%;
        min-width: 0;
        display: none;
    }
    
    .car-related .popular-car-card.active {
        display: block;
    }
    
    .car-related h2 {
        font-size: 24px;
    }
    
    /* Mobile: Smaller section headers */
    .car-section-toggle h2 {
        font-size: 24px;
        margin-bottom: 0px;
    }
    
    /* Mobile: Hide desktop headings, show toggle buttons */
    .desktop-heading {
        display: none !important;
    }
    
    .car-section-toggle {
        display: flex !important; /* Show toggle buttons on mobile */
        margin-bottom: 30px;
    }
    
    .car-specs-content,
    .car-features-content {
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        max-height: 1000px;
    }
    
    .car-specs-content.collapsed,
    .car-features-content.collapsed {
        max-height: 0;
    }
}
.car-card-price span.per-day {
    font-size:14px
}

/* Hide navigation arrows and dots on desktop */
@media (min-width: 769px) {
    .car-slide-nav {
        display: none !important;
    }
    
    .car-gallery-dots {
        display: none !important;
    }
}

/* Gallery View Button */
.gallery-view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    /* Debug: Make sure it's visible */
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-view-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    color: #333;
}

/* Gallery Popup */
.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-popup.show {
    display: flex;
    opacity: 1;
}

.gallery-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-popup-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background: #fff;
    border-radius: 12px;
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.gallery-popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.gallery-popup-close {
    width: 40px;
    height: 40px;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-popup-close:hover {
    background: #D8B65D;
}

.gallery-popup-close .close-line {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #D8B65D;
    transition: all 0.3s ease;
}

.gallery-popup-close:hover .close-line {
    background: #fff;
}

.gallery-popup-close .close-line:first-child {
    transform: rotate(45deg);
}

.gallery-popup-close .close-line:last-child {
    transform: rotate(-45deg);
}

.gallery-popup-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-height: 100%;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.1);
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.show {
    display: flex;
    opacity: 1;
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.fullscreen-close:hover {
    background: #fff;
}

.fullscreen-close .close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.fullscreen-close:hover .close-line {
    background: #000;
}

.fullscreen-close .close-line:first-child {
    transform: rotate(45deg);
}

.fullscreen-close .close-line:last-child {
    transform: rotate(-45deg);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.fullscreen-nav:hover {
    background: #fff;
    color: #000;
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

.fullscreen-image-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.fullscreen-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
    .gallery-view-btn {
        display: none !important;
    }
    
    .gallery-popup-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .gallery-popup-header {
        padding: 16px 20px;
    }
    
    .gallery-popup-title {
        font-size: 18px;
    }
    
    .gallery-popup-body {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .fullscreen-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .fullscreen-prev {
        left: 15px;
    }
    
    .fullscreen-next {
        right: 15px;
    }
    
    .fullscreen-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .fullscreen-content {
        padding: 50px 15px 15px;
    }
}

/* Popular Cars Section */
.popular-cars-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px;
    font-family: 'Mulish', sans-serif;
}

.popular-cars-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.popular-cars-title {
    display: flex;
    align-items: center;
}

.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1A2027;
    color: #D8B65D;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.popular-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.popular-cars-nav {
    display: flex;
    /* gap: 10px; */
}

.popular-nav-btn {
    background: transparent;
    border: none;
    color: #000000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popular-nav-btn:hover {
    transform: scale(1.1);
}

.popular-nav-btn svg {
    width: 40px;
    height: 40px;
    fill: #000000;
}

.popular-cars-carousel {
    overflow: visible;
    margin-bottom: 30px;
    padding: 10px 0;
}

.popular-cars-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: transform 0.3s ease;
}

.popular-car-card {
    background: #FFFFFF;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.popular-car-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 10;
    flex: 1;
}

.popular-car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    background-color: #f0f0f0;
    display: block;
    border: none;
    outline: none;
    opacity: 1 !important; /* Override global img opacity rule */
    transition: opacity 0.3s ease; /* Smooth transition for image changes */
    flex-shrink: 0; /* Prevent image from shrinking */
    min-height: 200px;
    max-height: 200px;
}
*:focus {
    outline: none !important;
    box-shadow: none !important;
  }
.popular-car-image:not([src]),
.popular-car-image[src=""],
.popular-car-image[src*="undefined"],
.popular-car-image[src*="null"] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #e0e0e0;
}

.popular-car-image-placeholder {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    /* border: 2px dashed #ccc; */
    flex-shrink: 0;
}

.popular-car-content {
    padding: 1.5rem;
}

.popular-car-title {
    font-size: 24px;
    font-weight: 600;
    color: #191F25;
    margin: 0 0 1rem 0;
    font-family: 'Mulish', sans-serif;
}

.popular-car-specs {
    margin-bottom: 1rem;
}

.popular-car-spec {
    display: flex;
    justify-content: start;
    gap: 6px;
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #191F25;
}

.popular-car-spec-label {
    font-weight: 700;
}

.popular-car-spec-value {
    font-weight: 400;
}

.popular-car-price {
    font-size: 20px;
    font-weight: 700;
    color: #D8B65D;
    /* margin-bottom: 1.5rem; */
    font-family: 'Mulish', sans-serif;
}

.popular-car-actions {
    display: flex;
    gap: 1rem;
    padding: 20px;
    padding-top: 0px;
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 20;
}

.popular-book-now-btn {
    flex: 1;
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.5rem; */
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
}

.popular-book-now-btn:hover {
    background: #C4A04A;
    color: #FFFFFF;
}

.popular-book-now-btn::before {
    content: '';
    background-image: url('images/social_media/simple-whatsapp.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.5rem;
}

.popular-read-more-btn {
    flex: 1;
    background: transparent;
    color: #1A2027;
    border: 2px solid #1A2027;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
    text-align: center;
}

.popular-read-more-btn:hover {
    background: #1A2027;
    color: #FFFFFF;
}

.popular-cars-footer {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    background: white;
    color: #1A2027;
    border: 2px solid #1A2027;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #1A2027;
    color: white;
    transform: translateY(-2px);
}

/* Mobile Responsive for Popular Cars */
@media (max-width: 768px) {
    .popular-cars-container {
        padding: 20px 0px;
    }
    .popular-car-price .per-day{
        font-size:14px ;
    }
    section.car-related {
        padding:30px
    }
    .popular-cars-header {
        flex-direction: row;
        gap: 20px;
        /* align-items: flex-start; */
        margin-bottom: 12px;
    }
    
    .popular-cars-nav {
        align-self: flex-end;
    }
    
    .popular-cars-track {
        grid-template-columns: 1fr;
        gap: 15px;
        display: flex;
        flex-direction: column;
    }
    
    .popular-car-card {
        width: 100%;
        display: block;
    }
    
    .popular-car-image {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    
    .popular-car-image-placeholder {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    
    .popular-car-content {
        padding: 1rem;
    }
    
    .popular-car-title {
        font-size: 24px;
    }
    
    .popular-car-actions {
        flex-direction: column;
    }
    
    .popular-book-now-btn,
    .popular-read-more-btn {
        flex: none;
    }
    .car-description.collapsed{
        font-weight: normal;
    }
    .car-description{
        font-weight: normal;
    }
    .car-specs{
        padding-top: 2rem   ;
    }
    .car-features{
        padding-top: 2rem;;
    }
}
select#brand {
    width:145px;
}

select#type {
    width:135px
}

select#model {
    width:115px
}

select#seats {
    width:105px
}

select#colour {
    width:120px
}

select#price_range {
    width:165px;
    padding-right:1rem !important;
    background-position:right 2.1rem center;
}
.filter-group.price-range {
    width:180px
}
form#car-search-form {
    width:max-content
}
.footer-section.footer-links h3.footer-title {
    font-size:18px !important
}
#menu-footer-menu .menu-item{
    font-size:14px;
    margin-top: 24px;
}
.footer-section.footer-brand{
    padding-top:6px
}

.footer-section.footer-links {
    gap:0px;
}

.footer-section.footer-contact {
    gap:0px;
}

.contact-item.rvr-footer-email {
    margin-top:18px
}

.footer-logo {
    padding:0rem 2rem;
    padding-bottom:1rem;
}
.contact-details .rvr-phone-footer{
    font-size:16px
}
/*
Theme Name: Riviera
Description: A clean and modern WordPress theme with elegant design and responsive layout
Version: 1.0.0
Author: Custom Development
Text Domain: riviera
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 14px;
}
main#main {
    background-color:#1A2027;
}
/* Color Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}
.header-separator {
    display:none;
}

/* Header Styles */
.site-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
}

.header-container {
    margin: 0 auto;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo img.custom-logo {
    max-height: 48px;
    width: auto;
    height: auto;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #D8B65D;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-title a {
    color: #D8B65D;
    text-decoration: none;
}

.site-description {
    font-size: 0.8rem;
    color: #ffffff;
    margin: -0.2rem 0 0 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-navigation {
    flex: 1;
    margin: 0 2rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: end;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    display: inline-block;
}

.main-navigation a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
}

/* Add padding-right only to menu items with submenus */
#site-navigation li.menu-item-has-children > a {
    padding-right: 20px;
}

/* Add arrow to main menu items that have submenus */
#site-navigation li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 10px;
    background-image: url('images/right-arrow-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #D8B65D;
}

/* Submenu Styles */
#site-navigation ul.sub-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    
    position: absolute;
    background-color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 4px;
    width: 228px;
    border: solid #F5F5F5;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    margin-top: 10px;
}

#site-navigation ul.sub-menu li {
    padding: 0px;
}

#site-navigation ul.sub-menu li a {
    padding: 0px;
    color: #1A2027;
    display: block;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

#site-navigation ul.sub-menu li a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('images/right-arrow-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#site-navigation ul.sub-menu li a:hover {
    color: #1A2027;
    font-weight: bold;
}

/* Show submenu on hover - disabled in favor of JavaScript with delay */
/* #site-navigation li:hover > ul.sub-menu {
    display: flex;
} */

/* Active/Current Menu Item */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: #D8B65D;
}

/* Prevent Active Menu Item Highlighting */
.main-navigation .no-active-highlight.current-menu-item > a,
.main-navigation .no-active-highlight.current-menu-ancestor > a,
.main-navigation .no-active-highlight.current-page-ancestor > a,
.main-navigation .no-active-highlight.current-page-item > a {
    color: #ffffff !important;
}

/* Header Actions */
.header-actions {
    flex: 0 0 auto;
}

.rent-car-btn {
    background: #D8B65D;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.rent-car-btn:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Header Separator */
.header-separator {
    height: 1px;
    background: #ffffff;
    width: 100%;
}

/* Main Content */
.site-main {
    padding: 6rem 0 2rem;
    min-height: 60vh;
}

.content-area {
    max-width: 1120px;
    margin: 0 auto;
}

/* Post Styles */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.post:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.7;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

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

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

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-toggle-icon span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .main-navigation.toggled {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 2rem;
        color: #000000;
        font-size: 14px;
        position: relative;
    }
    
    /* Add padding-right only to mobile menu items with submenus */
    #site-navigation li.menu-item-has-children > a {
        padding-right: 3rem;
    }
    
    /* Add arrow to mobile menu items that have submenus */
    #site-navigation li.menu-item-has-children > a::after {
        content: "";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background-image: url('images/right-arrow-svgrepo-com.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .main-navigation a:hover {
        background: #f5f5f5;
        color: #000000;
    }
    
    #site-navigation ul.sub-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #ffffff;
        margin-top: 0.5rem;
        border-radius: 4px;
        width: auto;
        border: 1px solid #e0e0e0;
    }
    
    #site-navigation ul.sub-menu a {
        color: #000000;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem 1.5rem;
        min-height: 2.5rem;
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
        padding-right: 2.5rem;
    }
    
    #site-navigation ul.sub-menu a::after {
        content: "";
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background-image: url('images/right-arrow-svgrepo-com.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #site-navigation ul.sub-menu a:hover {
        background: #f5f5f5;
        color: #000000;
        font-weight: bold;
    }
    
    .header-container {
        position: relative;
        flex-wrap: wrap;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 0rem;
    }
}

/* Header Scroll Effect */
.site-header {
    transition: transform 0.3s ease, background-color 0.3s ease;
    background: transparent;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.scrolled:not(.header-hidden) {
    background: rgba(26, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Image Loading Animation */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Keyboard Focus Styles */
.keyboard-focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Footer Styles */
.site-footer {
    background: #1a2027;
    color: #ffffff;
    padding: 3rem 3rem;
    margin-top: 0rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    /* justify-content: end; */
    gap: 0.5rem;
}

/* Footer Brand Section */
.footer-brand {
    max-width: 440px;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5rem;
}

.footer-copyright p {
    color: #cccccc;
    font-size: 12px;
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #cccccc;
    font-size: 12px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #D8B65D;
}

/* Footer Links Section */
.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0rem;
}

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

.footer-menu li {
    margin-top: 1.3rem;
}

.footer-menu a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #D8B65D;
}

/* Footer Contact Section */
.contact-item {
    margin-bottom: 0.5rem;
}

.contact-label {
    color: #D8B65D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 16px;
    height: 16px;
}

.contact-details span {
    color: #ffffff;
    font-size: 14px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #D8B65D;
}

.contact-link:hover .contact-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(67%) saturate(1234%) hue-rotate(358deg) brightness(102%) contrast(95%);
}

.social-section {
    margin-top: 1rem;
}

.social-title {
    color: #D8B65D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ffffff;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #D8B65D;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile Header Styles */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    /* border-top: 3px solid #8B5CF6; */
    transition: background-color 0.3s ease, transform 0.3s ease;
    overflow: visible;
}

.mobile-header.scrolled:not(.header-hidden) {
    background: rgba(26, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-header.header-hidden {
    transform: translateY(-100%);
}

/* Ensure mobile header doesn't create containing block when menu is open */
.mobile-header:has(.mobile-menu-overlay.active) {
    transform: none !important;
}

.mobile-header-top {
    display: flex;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    gap: 1rem;
}

.mobile-logo {
    justify-self: start;
    flex: 1;
}

.mobile-logo-img {
    max-height: 28px;
    width: auto;
}

.mobile-center-actions {
    justify-self: center;
}

.mobile-right-actions {
    justify-self: end;
}

.mobile-rent-car-btn {
    background: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.mobile-rent-car-btn:hover {
    transform: translateY(-1px);
    opacity: 0.8;
}

.mobile-whatsapp-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.mobile-menu-toggle {
    background: #D8B65D;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background: #b8941f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #191F25;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ensure mobile menu overlay is always positioned correctly relative to viewport */
.mobile-header .mobile-menu-overlay {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    /* border-bottom: 1px solid #333; */
    flex-shrink: 0;
}

.mobile-menu-logo-img {
    max-height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #D8B65D;
    transition: all 0.3s ease;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-navigation {
    padding: 1rem 1.5rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    overflow-y: auto;
    min-height: 0;
}

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

.mobile-navigation li {
    margin-bottom: 1.5rem;
}

.mobile-navigation a {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-navigation a:hover {
    color: #D8B65D;
}

/* Prevent Active Menu Item Highlighting - Mobile */
.mobile-navigation .no-active-highlight.current-menu-item > a,
.mobile-navigation .no-active-highlight.current-menu-ancestor > a,
.mobile-navigation .no-active-highlight.current-page-ancestor > a,
.mobile-navigation .no-active-highlight.current-page-item > a {
    color: #ffffff !important;
}

.mobile-navigation li.menu-item-has-children > a::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('images/right-arrow-svgrepo-com.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: none;
}

/* Hide submenu items in mobile main menu */
.mobile-navigation .sub-menu {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu-footer {
    padding: 1rem 1.5rem;
    /* border-top: 1px solid #333; */
    text-align: center;
    flex-shrink: 0;
}

.mobile-menu-rent-btn {
    background: #D8B65D;
    display:flex;
    align-items:center;
    justify-content:center;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    width: 90%;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-rent-btn:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-menu-whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Submenu Overlay */
.mobile-submenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #191F25;
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-submenu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    flex-shrink: 0;
}

.mobile-submenu-logo {
    flex: 1;
}

.mobile-submenu-logo img {
    max-height: 35px;
    width: auto;
}

.mobile-submenu-close {
    background: none;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-submenu-close:hover {
    background: #D8B65D;
}

.mobile-submenu-close .close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #D8B65D;
    transition: all 0.3s ease;
}

.mobile-submenu-close:hover .close-line {
    background-color: #1A1C20;
}

.mobile-submenu-close .close-line:first-child {
    transform: rotate(45deg);
}

.mobile-submenu-close .close-line:last-child {
    transform: rotate(-45deg);
}

.mobile-submenu-back {
    background: none;
    border: none;
    color: #D8B65D;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    /* align-items: center; */
    transition: color 0.3s ease;
    margin: 1rem 1.5rem 0 1.5rem;
    padding: 0;
    flex-shrink: 0;
}

.mobile-submenu-back:hover {
    color: #ffffff;
}

.mobile-submenu-back:hover .back-arrow {
    fill: #ffffff;
}

.back-arrow {
    width: 15px;
    /* height: 18px; */
    transform: scaleX(1);
    fill: #D8B65D;
}

.mobile-submenu-navigation {
    flex: 1;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    min-height: 0;
}

.mobile-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-submenu-list li {
    margin-bottom: 2rem;
}

.mobile-submenu-list a {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    display: block;
    /* padding: 0.5rem 0; */
    transition: color 0.3s ease;
}

.mobile-submenu-list a:hover,
.mobile-submenu-list a.active {
    color: #D8B65D;
}

.mobile-submenu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #333;
    display:flex;
    justify-content:center;
    flex-shrink: 0;
}
.mobile-submenu-rent-btn {
    background: #D8B65D;
    
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 90%;
}

.mobile-submenu-rent-btn:hover {
    background: #b8941f;
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-submenu-whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Show/Hide Headers Based on Screen Size */
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-header {
        display: block;
    }
    
    .mobile-header {
        display: none;
    }
}

/* Mobile Footer */
/* Desktop Footer - Hide on mobile */
@media (max-width: 768px) {
    .desktop-footer {
        display: none;
    }
}

/* Mobile Footer Styles */
.mobile-footer {
    display: none; /* Hidden by default, shown via media query */
    background: #191F25;
    color: #ffffff;
    padding: 3rem 2rem;
}
h3.mobile-footer-title.mobile-footer-title-contact {
    margin-bottom:2rem;
}
.mobile-footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
}

.mobile-footer-section {
    width: 100%;
}

/* Mobile Footer Brand Section */
.mobile-footer-brand {
    text-align: left;
}

.mobile-footer-logo {
    margin-bottom: 1rem;
}

.mobile-footer-logo-img {
    max-height: 40px;
    width: auto;
}

.mobile-footer-description {
    margin-bottom: 0;
}

.mobile-footer-description p {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.8;
    margin: 0;
}

/* Mobile Footer Bottom Section */
.mobile-footer-bottom {
    text-align: left;
    /* border-top: 1px solid #333; */
    padding-top: 1.5rem;
    /* margin-top: 1rem; */
}

.mobile-footer-copyright {
    margin-bottom: 1rem;
}

.mobile-footer-copyright p {
    color: #cccccc;
    font-size: 14px;
    margin: 0;
}

.mobile-footer-legal {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.mobile-footer-legal a {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 200;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mobile-footer-legal a:hover {
    color: #ffffff;
}

/* Mobile Footer Links Section */
.mobile-footer-links {
    text-align: left;
}

.mobile-footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

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

.mobile-footer-menu li {
    margin-bottom: 0.75rem;
}

.mobile-footer-menu a {
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-footer-menu a:hover {
    color: #D8B65D;
}

/* Mobile Footer Contact Section */
.mobile-footer-contact {
    text-align: left;
}

.mobile-contact-item {
    margin-bottom: 1.5rem;
}

.mobile-contact-label {
    color: #D8B65D;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.mobile-contact-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.mobile-contact-icon {
    width: 16px;
    height: 16px;
    fill: #25D366;
}

.mobile-contact-details span {
    color: #cccccc;
    font-size: 14px;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.mobile-contact-link:hover {
    color: #D8B65D;
}

.mobile-contact-link:hover .mobile-contact-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(67%) saturate(1234%) hue-rotate(358deg) brightness(102%) contrast(95%);
}

/* Mobile Footer Social Media Section */
.mobile-social-section {
    margin-top: 1.5rem;
}

.mobile-social-title {
    color: #D8B65D;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.mobile-social-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.mobile-social-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-social-link:hover {
    color: #D8B65D;
}

.mobile-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mobile-social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Show mobile footer on mobile devices */
@media (max-width: 768px) {
    .mobile-footer {
        display: block;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.375rem;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.search-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

/* Error 404 Styles */
.error-404.not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.error-404-number {
    font-size: 8rem;
    font-weight: 800;
    color: #D8B65D;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Mulish', sans-serif;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(216, 182, 93, 0.3);
}

.error-404-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-family: 'Mulish', sans-serif;
    letter-spacing: -0.01em;
}

.error-404-message {
    font-size: 1.125rem;
    color: #B0B0B0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-family: 'Mulish', sans-serif;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.error-404-btn {
    display: inline-block;
    background: #D8B65D;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Mulish', sans-serif;
    border: none;
    cursor: pointer;
}

.error-404-btn:hover {
    background: #C4A04A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 182, 93, 0.4);
}

@media (max-width: 768px) {
    .error-404-content {
        padding: 2rem 1rem;
    }
    
    .error-404-number {
        font-size: 5rem;
    }
    
    .error-404-title {
        font-size: 1.75rem;
    }
    
    .error-404-message {
        font-size: 1rem;
    }
    
    .error-404-btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-main {
        padding: 1rem 0;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
}
h3.footer-title.contact-us {
    margin-bottom:1.5rem;
}
/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
div#rvr-contact-us-button .elementor-button-icon svg{
    width:20px;
    height:20px;
}
div#rvr-contact-us-button .elementor-button-content-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
}

ul#mobile-primary-menu {
    /* margin-top: 35px; */
    width: 100%;
}

/* Hide desktop sections on desktop and tablet */
@media (min-width: 769px) {
    .rvr-hide-desktop-sections {
        display: none !important;
    }
}

/* Hide mobile sections on mobile and tablet */
@media (max-width: 768px) {
    .rvr-hide-mobile-sections {
        display: none !important;
    }
}

/* Mobile submenu visibility control */
.mobile-submenu-overlay {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-submenu-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Testimonials Shortcode Styles */
.testimonials-container {
    position: relative;
    margin: 2rem 0;
    padding: 0;
}

.testimonial-rating-badge {
    background: #1a2027;
    color: #ffffff;
    padding: 0rem 1rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-rating-badge .rating-star {
    color: #D8B65D;
    font-size: 28px;
    font-weight: bold;
}

.testimonial-rating-badge .rating-text {
    color: #D8B65D;
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 0;
}

.testimonials-grid.testimonials-count-1 {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.testimonials-grid.testimonials-count-2 {
    grid-template-columns: 1fr 1fr;
}

.testimonials-grid.testimonials-count-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.testimonials-grid.testimonials-count-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.testimonial-card {
    background: #C3C3C3;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 80px;
    color: #1A2027;
    font-weight: bold;
    height: fit-content;
    line-height: 20px;
    margin-top: 20px;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-content {
    position: relative;
}

.testimonial-text {
    color: #1A2027;
    font-size: 24px;
    line-height: 1.6;
    flex:1;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-author {
    color: #1A2027;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-description {
    color: #1A2027;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-grid.testimonials-count-2,
    .testimonials-grid.testimonials-count-3,
    .testimonials-grid.testimonials-count-4 {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 36px;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    .testimonial-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-quote {
        font-size: 80px;
    }
    
    .testimonial-rating-badge {
        /* padding: 0.5rem 1rem; */
        font-size: 13px;
    }
}

.testimonial-card {
    display:flex;
    flex-direction:column;
    justify-content:space-between
}

.testimonial-content {
    display:flex;
    flex-direction:column;
    flex:1;
    justify-content:space-between
}

/* Car Single Template */
.car-single { color: #F5F5F5; }
.car-header { margin: 1.5rem 0 1rem; }
.car-title {color: #ffffff;font-size: 42px;font-weight: 400;margin: 0 0 .25rem;}
.car-subtitle {
    color: #D8B65D;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.desktop-share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: block; /* Show on desktop */
}

.desktop-share-btn .share-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.desktop-share-btn:hover .share-icon {
    transform: scale(1.1);
}

/* Share Dropdown */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1A2027;
    border: 2px solid #D8B65D;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 12px;
    overflow: hidden;
}

.share-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Mulish', sans-serif;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(216, 182, 93, 0.2);
    position: relative;
}

.share-option:last-child {
    border-bottom: none;
}

.share-option:hover {
    background: linear-gradient(135deg, rgba(216, 182, 93, 0.15), rgba(216, 182, 93, 0.05));
    color: #D8B65D;
    transform: translateX(4px);
}

.share-option:active {
    transform: translateX(2px);
}

.share-option-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Clipboard Notification */
.clipboard-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #1A2027;
    color: #F5F5F5;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #D8B65D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
    text-align: center;
}

.clipboard-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile notification positioning */
@media (max-width: 768px) {
    .clipboard-notification {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(100%);
        max-width: none;
    }
    
    .clipboard-notification.show {
        transform: translateY(0);
    }
}

.share-option:hover .share-option-icon {
    transform: scale(1.1);
}

/* Add subtle animation to dropdown */
.share-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #D8B65D;
}

.share-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 21px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #1A2027;
}

/* Mobile Navigation Bar - Hidden on desktop */
.car-mobile-nav {
    display: none; /* Hidden on desktop */
    background: #1A2027;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.back-to-listing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.back-arrow {
    font-size: 37px;
    font-weight: 300;
    /* margin-bottom: -12px; */
    margin-right: 10px;
}

.back-text {
    font-family: 'Mulish', sans-serif;
    margin-bottom: -10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
}

.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: -20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-icon {
    width: 24px;
    height: 24px;
    fill: #d8b65d;
}

/* Mobile Share Dropdown */
.mobile-share-dropdown {
    position: relative;
    display: inline-block;
}

.mobile-share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: -20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.mobile-share-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mobile-share-btn .share-icon {
    width: 24px;
    height: 24px;
    fill: #d8b65d;
}

.mobile-share-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1A2027;
    border: 2px solid #D8B65D;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 12px;
    overflow: hidden;
}

.mobile-share-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Mulish', sans-serif;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(216, 182, 93, 0.2);
    position: relative;
}

.mobile-share-option:last-child {
    border-bottom: none;
}

.mobile-share-option:hover {
    background: linear-gradient(135deg, rgba(216, 182, 93, 0.15), rgba(216, 182, 93, 0.05));
    color: #D8B65D;
    transform: translateX(4px);
}

.mobile-share-option:active {
    transform: translateX(2px);
}

.mobile-share-option .share-option-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mobile-share-option:hover .share-option-icon {
    transform: scale(1.1);
}

/* Add arrow pointer for mobile dropdown */
.mobile-share-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #D8B65D;
}

.mobile-share-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 21px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #1A2027;
}

.car-gallery { margin: 1rem 0 2rem; }
.car-gallery-main { position: relative; }
.car-gallery-main img {width: 100%;height: 520px;object-fit: cover;border-radius: 3px;display: none;}
.car-gallery-main img.active { display: block; }
.car-slide-nav {position: absolute;top: 50%;transform: translateY(-50%);background: rgb(0 0 0 / 0%);color: #fff;border: none;width: 50px;font-size: 30px;height: 50px;border-radius: 50%;cursor: pointer;display: flex;align-items: center;justify-content: center;}
.car-slide-nav.prev { left: 10px; }
.car-slide-nav.next { right: 10px; }
.car-gallery-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.car-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-dot.active {
    background: #D8B65D;
}

.car-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.car-intro p { color: #F5F5F5; }
.car-description {color: #F5F5F5;font-size: 18px;}
.car-description.collapsed { max-height: 96px; overflow: hidden; position: relative; }
.car-description.collapsed:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(180deg, rgba(26,32,39,0) 0%, #1A2027 80%); }
.car-read-more {background: none;border: none;color: #D8B65D;font-weight: 600;margin-top: .5rem;font-size: 14px;cursor: pointer;text-decoration: none;display: inline-flex;align-items: center;gap: .5rem;}
.car-read-more .arrow {width: 12px;height: 12px;margin-top: auto;transform: rotate(90deg);transition: transform .2s ease;filter: none;}
.car-read-more[aria-expanded="true"] .arrow { transform: rotate(-90deg); }

.car-specs {margin: 2rem 0;padding-top: 1rem;border-top: 1px solid #707070;}
.car-specs h2 {color: #F5F5F5;font-size: 32px;margin-bottom: 1rem;}

/* Desktop: Show regular headings, hide toggle buttons */
.desktop-heading {
    display: block;
    color: #F5F5F5;
    font-size: 32px;
    margin-bottom: 1rem;
}

.car-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Collapsible Section Toggle - Hidden on desktop */
.car-section-toggle {
    background: none;
    border: none;
    width: 100%;
    display: none; /* Hidden on desktop */
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
}

.car-section-toggle h2 {
    margin: 0;
    color: #F5F5F5;
    font-size: 32px;
}

.toggle-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    fill: #FFFFFF;
}

.car-section-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(0deg);
}

.car-section-toggle[aria-expanded="false"] .toggle-arrow {
    transform: rotate(90deg);
}

.car-specs-content,
.car-features-content {
    overflow: visible; /* No overflow hidden on desktop */
    transition: none; /* No transition on desktop */
    max-height: none; /* No height restriction on desktop */
}

.car-specs-content.collapsed,
.car-features-content.collapsed {
    max-height: none; /* No collapsing on desktop */
}
.car-specs .spec { margin: .5rem 0; color: #F5F5F5; }
.car-specs .label {color: #F5F5F5;font-weight: 600;margin-right: 6px;font-size: 18px;}
.car-specs .value { color: #F5F5F5; }

.car-features {margin: 2rem 0;padding-top: 1rem;border-top: 1px solid #707070;}
.car-features h2 {color: #F5F5F5;font-size: 31px;margin-bottom: 1rem;}
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.feature-item {position: relative;display: flex;align-items: center;padding-left: 30px;color: #F5F5F5;line-height: 1.4;}
.feature-item:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 16px;
    height: 16px;
    background-image: url('images/checkmark.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car-related { margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.car-related h2 { color: #ffffff; font-size: 22px; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.car-card { background: #ffffff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.car-card-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.car-card-body { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.car-card-title { font-size: 18px; color: #1A2027; margin: 0 0 .25rem; font-weight: 700; }
.car-card-specs { color: #1A2027; font-size: 13px; display: grid; gap: .25rem; }
.car-card-specs .label { color: #64748b; font-weight: 600; margin-right: 6px; }
.car-card-cta { margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.car-card-price { color: #1A2027; font-weight: 700; }
.car-card-price .per { color: #64748b; font-weight: 500; }

@media (max-width: 768px) {
    .car-specs-grid { grid-template-columns: 1fr; }
    .car-title {font-size: 32px;font-weight: 600;}
    .car-gallery-main img {height: 200px;}
    .car-gallery-thumbs .car-thumb { height: 100px; }
    .car-card-thumb img { height: 160px; }
    .car-gallery {margin-bottom: 0rem;margin-top: 0px;}
    .car-subtitle {
        font-size: 14px;
        font-weight: normal;
        display: block; /* Stack on mobile */
    }
    
    .desktop-share-btn {
        display: none !important; /* Hide on mobile */
    }
}

/* Car Search Styles */
.car-search-container {
    /* background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23333" width="1200" height="400"/></svg>'); */
    background-size: cover;
    background-position: center;
    /* padding: 3rem 0; */
    margin-bottom: 2rem;
}

.search-title {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
    text-align: left;
}

.car-search-form {
    background: #FFFFFF;
    border-radius: 5px;
    padding: 0.5rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-filters {
    display: flex;
    /* flex: 1; */
    gap: 0;
}

.filter-group {
    /* flex: 1; */
    display: flex;
    position: relative;
}

.filter-group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: #E0E0E0;
}

.filter-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    color: #191F25;
    font-family: 'Mulish', sans-serif;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 2rem;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
}

.filter-select:focus {
    outline: none;
}

.search-button {
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    margin-left: 1rem;
}

.search-button:hover {
    background: #C4A04A;
}

/* Car Search Results */
.car-search-results {
    padding: 2rem 0;
}

.results-header {
    text-align: right;
    margin-bottom: 1rem;
}
a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

.results-count {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 400;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.car-card {
    background: #FFFFFF;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.car-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    background-color: #f0f0f0;
    display: block;
    border: none;
    outline: none;
    opacity: 1 !important; /* Override global img opacity rule */
    transition: opacity 0.3s ease; /* Smooth transition for image changes */
    flex-shrink: 0; /* Prevent image from shrinking */
    min-height: 200px;
    max-height: 200px;
}

.car-card-image:not([src]),
.car-card-image[src=""],
.car-card-image[src*="undefined"],
.car-card-image[src*="null"] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #e0e0e0;
}

.car-card-image-placeholder {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    border: 2px dashed #ccc;
    flex-shrink: 0;
}

.car-card-content {
    padding: 1.5rem;
}

.car-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #191F25;
    margin: 0 0 1rem 0;
    font-family: 'Mulish', sans-serif;
}

.car-card-specs {
    margin-bottom: 1rem;
}

.car-spec-item {
    display: flex;
    justify-content: start;
    gap: 6px;
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #191F25;
}

.car-spec-label {
    font-weight: 800;
}

.car-spec-value {
    font-weight: 600;
}

.car-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #D8B65D;
    /* margin-bottom: 1.5rem; */
    font-family: 'Mulish', sans-serif;
}

.car-card-actions {
    display: flex;
    padding: 20px;
    padding-top: 0px;
    gap: 1rem;
}

.book-now-btn {
    flex: 1;
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.5rem; */
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
}

.book-now-btn:hover {
    background: #C4A04A;
    color: #FFFFFF;
}

.book-now-btn::before {
    content: '';
    background-image: url('images/social_media/whatsapp.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.5rem;
}

.read-more-btn {
    flex: 1;
    background: transparent;
    color: #1A2027;
    border: 2px solid #1A2027;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
    text-align: center;
}

.read-more-btn:hover {
    background: #1A2027;
    color: #FFFFFF;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #B0B0B0;
    font-size: 18px;
}

.view-more-btn {
    background: transparent;
    color: #F5F5F5;
    border: solid 2px;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    margin: 2rem auto;
    display: block;
    width: fit-content;
}

.view-more-btn .mobile-text {
    display: none;
}

.view-more-btn .desktop-text {
    display: inline;
}

@media (max-width: 768px) {
    .view-more-btn .mobile-text {
        display: inline;
    }
    
    .view-more-btn .desktop-text {
        display: none;
    }
}



.view-more-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Loading States */
.cars-loading {
    text-align: center;
    padding: 2rem;
    color: #B0B0B0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    grid-column: 1 / -1; /* Span all columns in the grid */
    width: 100%;
}

.cars-error {
    text-align: center;
    padding: 2rem;
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    grid-column: 1 / -1; /* Span all columns in the grid */
    width: 100%;
}

/* Car Related Section Styles */
.car-related {
    margin-top: 3rem;
    padding: 2rem 0;
}

.car-related h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2rem 0;
}

.car-related .popular-cars-carousel {
    overflow: hidden;
}

.car-related .popular-cars-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.car-related .popular-car-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
}

.car-related-dots {
    display: none;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.car-related-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: solid #ccc 2px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-related-dot.active {
    background: #D8B65D;
    border: solid #D8B65D;
    transform: scale(1.2);
}

.car-related-dot:hover {
    background: #b8941f;
}

/* Mobile Search Styles */
.mobile-search-form {
    display: none;
}

.mobile-search-trigger {
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    width: 100%;
    margin-top: 1rem;
}

.mobile-search-trigger:hover {
    background: #C4A04A;
}

/* Mobile Filter Popup */
.mobile-filter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1A2027;
    border-radius: 0;
    height: 100vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.popup-content.show {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1rem 1rem 0;
    position: relative;
    min-height: 60px;
}

.popup-title {
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0 0 2rem 0;
    font-family: 'Mulish', sans-serif;
    text-align: center;
    width: 100%;
}

.popup-close-container {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.popup-close {
    background: none;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.popup-close:hover {
    background: #D8B65D;
}

.popup-close .close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #D8B65D;
    transition: all 0.3s ease;
}

.popup-close:hover .close-line {
    background-color: #1A2027;
}

.popup-close .close-line:first-child {
    transform: rotate(45deg);
}

.popup-close .close-line:last-child {
    transform: rotate(-45deg);
}

.popup-body {
    padding: 1rem 1.5rem 6rem;
    display: flex;
    justify-content: center;
    padding-bottom: 50%;
    /* align-self: center; */
    flex: 1;
    /* justify-self: center; */
    flex-direction: column;
    /* min-height: calc(100vh - 200px); */
}

.mobile-filter-group {
    margin-bottom: 1.5rem;
}

.mobile-filter-select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 14px;
    color: #1A2027;
    font-family: 'Mulish', sans-serif;
    font-weight: 800;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2027' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mobile-filter-select option {
    background: #FFFFFF;
    color: #1A2027;
    padding: 0.75rem 1rem;
    font-size: 16px;
    font-family: 'Mulish', sans-serif;
    border: none;
    outline: none;
    line-height: 1.4;
}

.mobile-filter-select option:hover {
    background: #F5F5F5;
    color: #D8B65D;
}

.mobile-filter-select option:checked {
    background: #D8B65D;
    color: #1A2027;
    font-weight: 600;
}

.mobile-filter-select option:focus {
    background: #F5F5F5;
    outline: none;
}

.mobile-filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #D8B65D;
}

.popup-footer {
    padding: 1.5rem;
    background: #1A2027;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.popup-search-btn {
    width: 100%;
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Mulish', sans-serif;
    letter-spacing: 0.5px;
}

.popup-search-btn:hover {
    background: #C4A04A;
}

/* Mobile Responsive for Search */
@media (max-width: 768px) {
    
    
    .desktop-search-form {
        display: none;
    }
    
    .mobile-search-form {
        display: block;
    }
    
    .search-title {
        font-size: 16px;
        margin-bottom: 1rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .car-card-content {
        padding: 1rem;
    }
    
    .car-card-title {
        font-size: 24px;
    }
    
    .car-card-actions {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .mobile-search-form {
        display: none;
    }
    
    .desktop-search-form {
        display: flex;
    }
}

.post.single-car {margin-bottom: 0px;}

.testimonial-text {
    flex:1
}
.post.single-car{
    font-family: Mulish !important;
}

span.label {
    font-family: Mulish;
}
.car-description.collapsed {
    font-size:18px;
}

/* Car Content Layout */
.car-content-wrapper {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.car-pricing-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    bottom: 0px;
    align-self: end;
}

/* Desktop: Show sidebar pricing, hide mobile pricing */
.desktop-pricing {
    display: block;
}

.mobile-pricing,
.mobile-pricing-first {
    display: none;
}

.price-display {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 10px;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 32px;
    font-weight: 600;
    color: #1A2027;
    display: block;
}

.price-period {
    font-size: 14px;
    padding-bottom: 10px;
    color: #1A2027;
    font-weight: 600;
}
.rvr-car-brand-type{
    font-family:mulish;
    font-size:42px;
    font-weight:600;
    color:#F5F5F5;
}
.book-car-btn {
    width: 100%;
    background: #D8B65D;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 1rem;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-car-btn:hover {
    background: #b8941f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.rvr-car-brand-about{
    font-family:mulish;
    font-size:32px;
    font-weight:600;
    color:#F5F5F5;
}
.rvr-cat-desc-shortcode{
    font-family:mulish;
    font-size:18px;
    font-weight:300;
    color:#F5F5F5;
}
@media (max-width: 768px) {
    .car-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 35px;
        padding-top: 0px;
        margin-top: 0px;
    }
    .mobile-search-trigger {
        padding: 1rem 2rem;
    }
    .rvr-car-brand-type{
        font-size:32px;
    }
    .rvr-car-brand-about{
        font-size:18px;
    }
    .rvr-white-color-mobile h2{
        color:#F5F5F5 !important;
    }

    .results-header {
        text-align: left;
    }
    
    /* Mobile: Show navigation bar */
    .car-mobile-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 35px;
        padding-top: 0px;
        margin-top: 55px;
        border-top: solid 1px #363636;
        flex-wrap: nowrap;
    }
    
    /* Mobile: Show mobile pricing widgets, hide desktop pricing */
    .desktop-pricing {
        display: none !important;
    }
    
    .mobile-pricing-first {
        display: block !important;
        position: static;
        margin: 1.5rem 0;
        padding: 20px 20px;
    }
    
    .mobile-pricing {
        display: block !important;
        position: static;
        margin-top: 2rem;
        padding: 14px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    /* Mobile: Single column for specs and features */
    .car-specs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile: Show dots for car related section */
    .car-related-dots {
        display: flex !important;
    }
    
    /* Mobile: Show only one card at a time */
    .car-related .popular-cars-track {
        gap: 0;
    }
    
    .car-related .popular-car-card {
        flex: 0 0 100%;
        min-width: 0;
        display: none;
    }
    
    .car-related .popular-car-card.active {
        display: block;
    }
    
    .car-related h2 {
        font-size: 24px;
        margin-bottom: 1rem;
    }
    
    /* Mobile: Smaller section headers */
    .car-section-toggle h2 {
        font-size: 24px;
        margin-bottom: 0px;
    }
    
    /* Mobile: Hide desktop headings, show toggle buttons */
    .desktop-heading {
        display: none !important;
    }
    
    .car-section-toggle {
        display: flex !important; /* Show toggle buttons on mobile */
        margin-bottom: 30px;
    }
    
    .car-specs-content,
    .car-features-content {
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        max-height: 1000px;
    }
    
    .car-specs-content.collapsed,
    .car-features-content.collapsed {
        max-height: 0;
    }
}
.car-card-price span.per-day {
    font-size:14px
}

/* Hide navigation arrows and dots on desktop */
@media (min-width: 769px) {
    .car-slide-nav {
        display: none !important;
    }
    
    .car-gallery-dots {
        display: none !important;
    }
}

/* Gallery View Button */
.gallery-view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    /* Debug: Make sure it's visible */
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-view-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    color: #333;
}

/* Gallery Popup */
.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-popup.show {
    display: flex;
    opacity: 1;
}

.gallery-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-popup-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background: #fff;
    border-radius: 12px;
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.gallery-popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.gallery-popup-close {
    width: 40px;
    height: 40px;
    border: 2px solid #D8B65D;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-popup-close:hover {
    background: #D8B65D;
}

.gallery-popup-close .close-line {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #D8B65D;
    transition: all 0.3s ease;
}

.gallery-popup-close:hover .close-line {
    background: #fff;
}

.gallery-popup-close .close-line:first-child {
    transform: rotate(45deg);
}

.gallery-popup-close .close-line:last-child {
    transform: rotate(-45deg);
}

.gallery-popup-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-height: 100%;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.1);
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.show {
    display: flex;
    opacity: 1;
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
}

.fullscreen-close:hover {
    background: #fff;
}

.fullscreen-close .close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.fullscreen-close:hover .close-line {
    background: #000;
}

.fullscreen-close .close-line:first-child {
    transform: rotate(45deg);
}

.fullscreen-close .close-line:last-child {
    transform: rotate(-45deg);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.fullscreen-nav:hover {
    background: #fff;
    color: #000;
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

.fullscreen-image-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.fullscreen-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
    .gallery-view-btn {
        display: none !important;
    }
    
    .gallery-popup-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .gallery-popup-header {
        padding: 16px 20px;
    }
    
    .gallery-popup-title {
        font-size: 18px;
    }
    
    .gallery-popup-body {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .fullscreen-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .fullscreen-prev {
        left: 15px;
    }
    
    .fullscreen-next {
        right: 15px;
    }
    
    .fullscreen-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .fullscreen-content {
        padding: 50px 15px 15px;
    }
}

/* Popular Cars Section */
.popular-cars-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px;
    font-family: 'Mulish', sans-serif;
}

.popular-cars-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.popular-cars-title {
    display: flex;
    align-items: center;
}

.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1A2027;
    color: #D8B65D;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.popular-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.popular-cars-nav {
    display: flex;
    /* gap: 10px; */
}

.popular-nav-btn {
    background: transparent;
    border: none;
    color: #000000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popular-nav-btn:hover {
    transform: scale(1.1);
}

.popular-nav-btn svg {
    width: 40px;
    height: 40px;
    fill: #000000;
}

.popular-cars-carousel {
    overflow: visible;
    margin-bottom: 30px;
    padding: 10px 0;
}

.popular-cars-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: transform 0.3s ease;
}

.popular-car-card {
    background: #FFFFFF;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.popular-car-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 10;
    flex: 1;
}

.popular-car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    background-color: #f0f0f0;
    display: block;
    border: none;
    outline: none;
    opacity: 1 !important; /* Override global img opacity rule */
    transition: opacity 0.3s ease; /* Smooth transition for image changes */
    flex-shrink: 0; /* Prevent image from shrinking */
    min-height: 200px;
    max-height: 200px;
}
*:focus {
    outline: none !important;
    box-shadow: none !important;
  }
.popular-car-image:not([src]),
.popular-car-image[src=""],
.popular-car-image[src*="undefined"],
.popular-car-image[src*="null"] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #e0e0e0;
}

.popular-car-image-placeholder {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    /* border: 2px dashed #ccc; */
    flex-shrink: 0;
}

.popular-car-content {
    padding: 1.5rem;
}

.popular-car-title {
    font-size: 24px;
    font-weight: 600;
    color: #191F25;
    margin: 0 0 1rem 0;
    font-family: 'Mulish', sans-serif;
}

.popular-car-specs {
    margin-bottom: 1rem;
}

.popular-car-spec {
    display: flex;
    justify-content: start;
    gap: 6px;
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #191F25;
}

.popular-car-spec-label {
    font-weight: 700;
}

.popular-car-spec-value {
    font-weight: 400;
}

.popular-car-price {
    font-size: 20px;
    font-weight: 700;
    color: #D8B65D;
    /* margin-bottom: 1.5rem; */
    font-family: 'Mulish', sans-serif;
}

.popular-car-actions {
    display: flex;
    gap: 1rem;
    padding: 20px;
    padding-top: 0px;
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 20;
}

.popular-book-now-btn {
    flex: 1;
    background: #D8B65D;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.5rem; */
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
}

.popular-book-now-btn:hover {
    background: #C4A04A;
    color: #FFFFFF;
}

.popular-book-now-btn::before {
    content: '';
    background-image: url('images/social_media/simple-whatsapp.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0.5rem;
}

.popular-read-more-btn {
    flex: 1;
    background: transparent;
    color: #1A2027;
    border: 2px solid #1A2027;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Mulish', sans-serif;
    text-decoration: none;
    text-align: center;
}

.popular-read-more-btn:hover {
    background: #1A2027;
    color: #FFFFFF;
}

.popular-cars-footer {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    background: white;
    color: #1A2027;
    border: 2px solid #1A2027;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #1A2027;
    color: white;
    transform: translateY(-2px);
}

/* Mobile Responsive for Popular Cars */
@media (max-width: 768px) {
    .popular-cars-container {
        padding: 20px 0px;
    }
    .popular-car-price .per-day{
        font-size:14px ;
    }
    section.car-related {
        padding:30px;
        padding-bottom: 0px;
        margin-top: 1rem;
        border: none;
    }
    .popular-cars-header {
        flex-direction: row;
        gap: 20px;
        /* align-items: flex-start; */
        margin-bottom: 12px;
    }
    
    .popular-cars-nav {
        align-self: flex-end;
    }
    
    .popular-cars-track {
        grid-template-columns: 1fr;
        gap: 15px;
        display: flex;
        flex-direction: column;
    }
    
    .popular-car-card {
        width: 100%;
        display: block;
    }
    
    .popular-car-image {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    
    .popular-car-image-placeholder {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    
    .popular-car-content {
        padding: 1rem;
    }
    
    .popular-car-title {
        font-size: 24px;
    }
    
    .popular-car-actions {
        flex-direction: column;
    }
    
    .popular-book-now-btn,
    .popular-read-more-btn {
        flex: none;
    }
    .car-description.collapsed{
        font-weight: normal;
    }
    .car-description{
        font-weight: normal;
    }
    .car-specs{
        padding-top: 2rem   ;
    }
    .car-features{
        padding-top: 2rem;;
    }
    .car-read-more{
        font-weight: 700;
    }
    .car-specs .spec{
        font-size: 18px;
    }
    .car-specs .label{
        font-weight: normal;
    }
    .feature-item{
        font-size: 18px;
        font-weight: normal;
    }
    .feature-item:before{
        margin-bottom: 5px;
    }
}
select#brand {
    width:145px;
}

select#type {
    width:135px
}

select#model {
    width:115px
}

select#seats {
    width:105px
}

select#colour {
    width:120px
}

select#price_range {
    width:165px;
    padding-right:1rem !important;
    background-position:right 2.1rem center;
}
.filter-group.price-range {
    width:180px
}
form#car-search-form {
    width:max-content
}
.footer-section.footer-links h3.footer-title {
    font-size:18px !important
}
#menu-footer-menu .menu-item{
    font-size:14px;
    margin-top: 24px;
}
.footer-section.footer-brand{
    padding-top:6px
}

.footer-section.footer-links {
    gap:0px;
}

.footer-section.footer-contact {
    gap:0px;
}

.contact-item.rvr-footer-email {
    margin-top:18px
}

.footer-logo {
    padding:0rem 2rem;
    padding-bottom:1rem;
}
.contact-details .rvr-phone-footer{
    font-size:16px
}
img.back-arrow.back-menu.loaded {
    transform: scaleX(-1) !important;
}