/* Sharaf Automotive - Frontend Styles */
/* Complete CSS for the main website */

:root {
    /* Luxury color palette - matching sharafautomotive.com exactly */
    --color-luxury-black: #000000;
    --color-luxury-gold: #FFD700;
    --color-luxury-dark-gold: #B8860B;
    --color-luxury-dark-gray: #1a1a1a;
    --color-luxury-light-gray: #f8f8f8;
    --color-luxury-white: #ffffff;
    --color-luxury-accent: #333333;
    
    /* Main color variables - matching sharafautomotive.com */
    --color-primary: var(--color-luxury-gold);
    --color-secondary: var(--color-luxury-dark-gray);
    --color-accent: var(--color-luxury-gold);
    --color-luxury-gold: #FFD700;
    --color-text: var(--color-luxury-white); /* White text on black background */
    --color-text-light: #cccccc; /* Light gray for secondary text */
    --color-background: var(--color-luxury-black); /* Black background */
    --color-white: var(--color-luxury-dark-gray); /* Dark gray for cards */
    --color-border: var(--color-luxury-accent);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.4);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.5);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.6);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--color-luxury-gold);
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

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

body {
    font-family: 'Inter', 'FKGroteskNeue', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    max-width: 1600px; /* Increased from 1400px */
    margin: 0 auto;
    padding: 0 40px; /* Increased from 20px */
}

/* Header Styles */
.header {
    background: #000000; /* Black background */
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #FFD700; /* Luxury gold bottom line */
}

.nav {
    display: grid;
    grid-template-columns: 340px 1fr 400px; /* Increased actions area from 300px to 400px */
    align-items: center;
    padding: 1rem 0;
    gap: 2rem; /* Reduced from 3rem to bring elements closer */
    width: 100%;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 8px; /* Increased from 6px for better spacing with larger logo */
    justify-content: flex-start;
    max-width: 150px; /* Increased from 120px to accommodate larger logo */
    flex-shrink: 0;
    min-width: 120px; /* Increased minimum width to match larger logo */
    margin-right: 60px; /* Keep same margin */
}

.brand-logo {
    width: 70px; /* Increased from 50px for better prominence */
    height: 70px; /* Increased from 50px to maintain aspect ratio */
    border-radius: 0; /* Removed border radius to eliminate border effect */
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1; /* Tighter line height for better stacking */
    margin: 0;
    padding: 0;
    text-align: left;
    align-items: flex-start;
    flex-shrink: 1; /* Allow text to shrink if needed */
    min-width: 0; /* Allow text to shrink below content size */
    gap: 1px; /* Reduced gap for tighter stacking */
}

.brand-name {
    font-size: 1rem; /* Reduced from 1.2rem to fit in smaller space */
    font-weight: 700;
    color: #FFD700; /* Luxury Gold color */
    margin: 0;
    padding: 0;
    line-height: 1.0; /* Very tight line height */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis for long text */
}

.brand-subtitle {
    font-size: 0.9rem; /* Reduced from 1.1rem to fit in smaller space */
    font-weight: 600; /* Slightly lighter weight */
    color: #FFD700; /* Same gold color */
    margin: 0;
    padding: 0;
    line-height: 1.0; /* Very tight line height */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis for long text */
}

.brand-tagline {
    font-size: 0.65rem; /* Reduced from 0.75rem to fit in smaller space */
    color: #ffffff; /* White text for black header */
    margin: 0;
    padding: 0;
    line-height: 1.0; /* Tight line height */
    margin-top: 2px; /* Small gap above tagline */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis for long text */
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem; /* Increased from 1.5rem */
    justify-content: flex-start; /* Changed from center to flex-start for left alignment */
    flex-wrap: nowrap;
    width: 100%;
    margin-left: -20px; /* Negative margin to move menu items further left */
}

.nav__menu a {
    text-decoration: none;
    color: #ffffff; /* White text for black header */
    font-weight: 500;
    transition: var(--transition);
}

.nav__menu a:hover {
    color: var(--color-luxury-gold);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Increased from 0.8rem */
    justify-content: flex-end;
    width: 100%;
    margin-left: 50px; /* Increased from 25px to push content more to the right */
    padding-right: 30px; /* Increased from 15px for more right positioning */
}

.phone-display {
    font-weight: 700;
    color: #FFD700 !important; /* Luxury Gold color */
    font-size: 1rem;
    margin-right: 15px; /* Increased from 5px for more right spacing */
}

.search-container {
    display: flex;
    align-items: center;
    background: var(--color-background);
    border-radius: 20px;
    padding: 4px 15px; /* Increased padding for wider input */
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 5;
    margin-right: 5px; /* Reduced from 10px for better balance */
    min-width: 300px; /* Ensure container is wide enough */
}

.search-icon {
    color: rgba(255, 215, 0, 0.7);
    font-size: 0.9rem;
    margin-right: 8px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-container:focus-within .search-icon {
    color: #FFD700;
}

#searchInput.search-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    padding: 4px 6px;
    width: 280px; /* Increased from 200px */
    font-size: 0.85rem;
    color: var(--color-text) !important;
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    cursor: text !important;
}

#searchInput.search-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--color-text) !important;
    cursor: text !important;
}

#searchInput.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #FFD700;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.1);
    color: #FFA500;
}

.clear-btn {
    font-size: 0.8rem;
    color: #999;
    margin-left: 0.25rem;
}

.clear-btn:hover {
    color: #ff4444;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-luxury-gold);
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-luxury-gold);
    outline: none;
    transform: scale(1.05);
}

/* Hamburger Menu Animation */
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-luxury-gold);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 30px;
}

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

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--color-luxury-gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    border-radius: 4px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    user-select: none;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    user-select: none;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--color-luxury-gold);
    color: var(--color-luxury-gold);
    transform: translateX(10px);
}

/* Hero Section - iOS Compatible */
.hero {
    color: var(--color-white);
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

/* Background Image for iOS Compatibility */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

/* Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

/* Hero Content Styling */
.hero .container {
    position: relative;
    z-index: 1;
}

/* Mobile optimizations for hero background */
@media (max-width: 768px) {
    .hero-background {
        object-position: center center;
        transform: scale(1.1);
    }
    
    .hero {
        min-height: 100vh;
        padding: 150px 0 100px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-background {
        object-position: center center;
    }
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, 
        #FFD700 0%,     /* Luxury Gold */
        #FFA500 25%,    /* Orange Gold */
        #DAA520 50%,    /* Dark Yellow */
        #B8860B 75%,    /* Dark Goldenrod */
        #FFD700 100%    /* Back to Luxury Gold */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
    position: relative;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
}

.hero .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
}

.hero .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--color-luxury-gold);
    color: var(--color-primary);
}

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Car Actions */
.car-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.car-actions .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-actions .btn i {
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

/* Responsive car actions */
@media (max-width: 768px) {
    .car-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .car-actions .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
}

.btn-tertiary:hover {
    background: var(--color-luxury-gold);
    color: var(--color-primary);
    border-color: var(--color-luxury-gold);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFD700; /* Luxury Gold color */
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Inventory Section */
.inventory {
    background: var(--color-white);
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-luxury-gold);
    color: #000000; /* Black text for better visibility */
    border-color: var(--color-luxury-gold);
    font-weight: 600;
}

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

.car-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.25), 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 0 15px rgba(255, 215, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.2);
    cursor: pointer; /* Make it obvious it's clickable */
}

.car-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 18px 45px rgba(255, 215, 0, 0.4), 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 0 30px rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.7); /* More prominent gold border on hover */
}

.car-card:active {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 
        0 15px 35px rgba(255, 215, 0, 0.35), 
        0 12px 25px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 215, 0, 0.2);
    transition: all 0.1s ease;
}

.car-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

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

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

.car-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.car-info {
    padding: 2rem;
    text-align: left;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.car-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
    line-height: 1.3;
}

.car-year {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.car-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFD700;
    margin: 0 0 1.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.car-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.car-spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 6px;
    border-left: 3px solid #FFD700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.car-spec-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

.car-spec-item i {
    color: #FFD700;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Responsive car specs */
@media (max-width: 768px) {
    .car-specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }
    
    .car-spec-item {
        font-size: 0.8rem;
        padding: 0.3rem;
        gap: 0.4rem;
    }
    
    .car-spec-item i {
        font-size: 0.85rem;
        width: 14px;
    }
}

@media (max-width: 480px) {
    .car-specs-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .car-spec-item {
        justify-content: center;
        text-align: center;
    }
}
}

.car-spec-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}





.car-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.status-available {
    background: rgba(40, 167, 69, 0.95); /* Green with transparency */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-available::before {
    content: "✓";
    font-weight: bold;
    font-size: 0.9rem;
}

.status-reserved {
    background: rgba(59, 130, 246, 0.95); /* Blue with transparency */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-reserved::before {
    content: "●";
    font-weight: bold;
    font-size: 0.9rem;
}

.status-sold {
    background: rgba(220, 53, 69, 0.95); /* Red with transparency */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-sold::before {
    content: "✕";
    font-weight: bold;
    font-size: 0.9rem;
}

/* Fast loading images */
.fast-load {
    transition: opacity 0.2s ease;
    background-color: #f0f0f0;
    min-height: 200px;
    object-fit: cover;
    width: 100%;
}

.fast-load:not([src]) {
    opacity: 0;
}

/* Optimize image rendering for speed */
.car-image {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
}

/* Mobile image optimizations */
@media (max-width: 768px) {
    .car-image {
        height: 200px; /* Fixed height for consistency */
        object-fit: cover;
        object-position: center;
    }
    
    .car-image-container {
        height: 200px; /* Match image height */
        overflow: hidden;
        background-color: #f5f5f5;
    }
}

/* Very small screens - even more aggressive optimization */
@media (max-width: 480px) {
    .car-image {
        height: 180px;
    }
    
    .car-image-container {
        height: 180px;
    }
}
/* Send Inquiry Button with Luxury Gold Outline Frame */
.btn-secondary {
    border: 2px solid var(--color-luxury-gold) !important;
    border-radius: 25px !important;
    padding: 12px 20px !important;
    background: transparent !important;
    color: var(--color-white) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 0 0 2px transparent,
        0 0 10px rgba(255, 215, 0, 0.3),
        inset 0 0 0 1px rgba(255, 215, 0, 0.2) !important;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-luxury-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    color: var(--color-primary) !important;
    box-shadow: 
        0 0 0 2px var(--color-luxury-gold),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) scale(1.02);
    border-color: var(--color-luxury-gold) !important;
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 0 0 2px var(--color-luxury-gold),
        0 0 15px rgba(255, 215, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

/* Icon and text styling within the framed button */
.btn-secondary .fa-envelope,
.btn-secondary span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-secondary .fa-envelope {
    margin-right: 8px;
    font-size: 1rem;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
}

/* Add subtle animation to the entire button frame */
@keyframes goldFrameGlow {
    0%, 100% {
        box-shadow: 
            0 0 0 2px transparent,
            0 0 10px rgba(255, 215, 0, 0.3),
            inset 0 0 0 1px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 2px transparent,
            0 0 15px rgba(255, 215, 0, 0.5),
            inset 0 0 0 1px rgba(255, 215, 0, 0.3);
    }
}

.btn-secondary {
    animation: goldFrameGlow 3s ease-in-out infinite;
}

.btn-secondary:hover {
    animation: none;
}

/* Mobile responsive adjustments for framed button */
@media (max-width: 768px) {
    .btn-secondary {
        padding: 10px 16px !important;
        border-width: 1.5px !important;
        border-radius: 20px !important;
    }
    
    .btn-secondary:hover {
        transform: translateY(-1px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .btn-secondary {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
        border-radius: 18px !important;
    }
    
    .btn-secondary .fa-envelope {
        font-size: 0.9rem;
        margin-right: 6px;
    }
    
    /* Reduce animation intensity on mobile for better performance */
    .btn-secondary {
        animation: none;
    }
    
    .btn-secondary:active {
        transform: scale(0.95);
        box-shadow: 
            0 0 0 1.5px var(--color-luxury-gold),
            0 0 10px rgba(255, 215, 0, 0.6) !important;
    }
}

.view-details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.view-details-btn:hover::before {
    left: 100%;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #E6C200, #FF8C00);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.view-details-btn i {
    font-size: 1rem;
}

/* Services Section */
.services {
    background: var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

/* Service Card Overlay */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.9);
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    gap: 0.5rem;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

.service-card-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-card-overlay span {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem auto;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(251, 191, 36, 0.2);
    transform: scale(1.05);
}

.service-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.3));
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #FFD700; /* Luxury Gold color */
}

.service-description {
    color: var(--color-text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Virtual Showroom Section */
.showroom {
    background: var(--color-white);
    padding: 80px 0;
}

.showroom .container {
    max-width: 1600px; /* Increased container width for showroom section */
    margin: 0 auto;
    padding: 0 20px;
}

.showroom-viewer {
    background: var(--color-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1400px; /* Increased from default container width */
    margin-left: auto;
    margin-right: auto;
}

.viewer-container {
    position: relative;
    width: 100%;
    height: 600px; /* Increased height for better visibility */
    background: #1a1a1a; /* Darker background to frame the image better */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-image {
    width: 150%; /* Reduced from 300% to fit better in frame */
    height: 150%; /* Reduced from 300% to fit better in frame */
    object-fit: contain; /* Changed from cover to contain to show full image */
    cursor: grab;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    max-width: none; /* Allow image to be larger than container */
    max-height: none; /* Allow image to be larger than container */
}

.viewer-image:active {
    cursor: grabbing;
}

/* Drag Instruction */
.drag-instruction {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(10px);
    animation: fadeInOut 4s ease-in-out infinite;
}

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

.drag-instruction i {
    color: #FFD700;
}

.viewer-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.control-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.control-btn i {
    font-size: 0.9rem;
}

.showroom-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.showroom-thumbnail {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.showroom-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-luxury-gold);
}

.showroom-thumbnail.active {
    border-color: var(--color-luxury-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.thumbnail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.showroom-thumbnail:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-info {
    padding: 1rem;
}

.thumbnail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thumbnail-description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thumbnail {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-luxury-gold);
}

/* About Section */
.about {
    background: var(--color-background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FFD700; /* Luxury Gold color */
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.about-image {
    width: 100%;
    border-radius: var(--border-radius);
}

.about-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.8;
    filter: none;
    transition: var(--transition);
}

.about-text h4 {
    color: #FFD700; /* Luxury Gold color */
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.about-text h5 {
    color: #FFD700; /* Luxury Gold color */
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-text h2 {
    color: #FFD700 !important; /* Luxury Gold */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: left;
}

[data-theme="dark"] .about-logo {
    opacity: 0.05;
}

.testimonials {
    margin-top: 3rem;
}

.testimonials h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #FFD700; /* Luxury Gold color */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-luxury-gold);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-luxury-gold), #FFA500);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #FFD700; /* Luxury Gold color */
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: #000000; /* Black background */
    color: #ffffff; /* White text */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: #111111; /* Dark background for form */
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff; /* White color for labels */
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #333333;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    background: #222222; /* Dark background for inputs */
    color: #ffffff; /* White text in inputs */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-luxury-gold);
    background: #333333; /* Slightly lighter on focus */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888; /* Grey placeholder text */
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff; /* White color for headings */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #222222; /* Dark grey background like inquiry form */
    border-radius: 8px;
}

.contact-item.whatsapp-chat {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #222222; /* Dark grey background like inquiry form */
}

.contact-item.whatsapp-chat:hover {
    background: var(--color-luxury-gold);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.contact-icon {
    font-size: 1.5rem;
    color: #FFD700 !important; /* Luxury Gold with higher priority */
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: #FFD700 !important; /* Ensure FontAwesome icons are luxury gold */
}

/* Social Media Icons in Contact Section */
.social-media-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.social-media-section h4 {
    color: #FFD700 !important; /* Luxury Gold */
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon.facebook {
    background: #1877f2;
    color: white;
}

.social-icon.facebook:hover {
    background: white;
    color: #1877f2;
    border-color: #1877f2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.instagram:hover {
    background: white;
    color: #e6683c;
    border-color: #e6683c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 104, 60, 0.3);
}

.social-icon.whatsapp {
    background: #25d366;
    color: white;
}

.social-icon.whatsapp:hover {
    background: white;
    color: #25d366;
    border-color: #25d366;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive Social Media Icons */
@media (max-width: 768px) {
    .social-media-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Footer */
.footer {
    background: #000000;
    color: var(--color-white);
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: block;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    color: #FFD700 !important; /* Luxury Gold */
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #FFD700 !important; /* Luxury Gold */
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-brand p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #cccccc;
    margin: 0;
    font-size: 0.8rem;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #FFD700; /* Luxury Gold */
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .footer-content {
        text-align: center;
    }
}

/* Additional footer enhancements */
.footer-section h4 {
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    padding: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--color-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transform: scale(1.1);
}

.modal-images {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding: 1rem 1.5rem 0;
}

.modal-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.modal-image.active {
    border-color: var(--color-luxury-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* Modal Video Styles */
.modal-video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-video-container:hover {
    transform: scale(1.05);
}

.modal-video-container.active {
    border: 2px solid var(--color-luxury-gold);
    border-radius: 10px;
    padding: 2px;
}

.modal-video {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
    pointer-events: none;
}

.modal-video:hover {
    border-color: var(--color-luxury-gold);
}

.video-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: center;
    font-weight: 500;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-video-container:hover .video-play-overlay {
    background: rgba(255, 215, 0, 0.9);
    color: black;
}

/* Modal Main Preview Area */
.modal-main-preview {
    position: relative;
    margin-bottom: 1rem;
}

.modal-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.modal-main-video {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    background: #000;
}

.modal-main-video.hidden {
    display: none;
}

.modal-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 15px;
}

.modal-info {
    padding: 0 1.5rem 1.5rem;
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.modal-info .car-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 1rem;
}

.modal-info .car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-info .car-spec {
    background: rgba(255, 215, 0, 0.05);
    padding: 0.75rem;
    border-radius: 10px;
    border-left: 3px solid #FFD700;
    font-size: 0.9rem;
}

.modal-info .car-description {
    background: rgba(255, 215, 0, 0.05);
    padding: 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.7;
    color: #2c3e50;
    margin: 1.5rem 0;
    border-left: 3px solid #FFD700;
    font-weight: 500;
}

/* Finance Partners Styles */
.finance-partners {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.finance-partner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.finance-partner:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}

.finance-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.finance-info {
    flex: 1;
}

.finance-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-luxury-gold);
    margin: 0 0 0.5rem 0;
}

.finance-info p {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

/* Responsive Finance Partners */
@media (max-width: 768px) {
    .finance-partner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .finance-logo {
        width: 100px;
        height: 75px;
    }
    
    .finance-info h4 {
        font-size: 1.1rem;
    }
    
    .finance-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .finance-partners {
        gap: 1rem;
    }
    
    .finance-partner {
        padding: 1rem;
    }
    
    .finance-logo {
        width: 80px;
        height: 60px;
    }
    
    .finance-info h4 {
        font-size: 1rem;
    }
    
    .finance-info p {
        font-size: 0.9rem;
    }
}

.modal-info .car-description::before {
    content: "📝 Description";
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

/* WhatsApp Button in Car Modal with Full Green Background */
.modal-actions .btn-primary {
    background: #25d366 !important;
    color: black !important;
    border: 2px solid #25d366 !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 0 0 2px transparent,
        0 0 10px rgba(37, 211, 102, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.modal-actions .btn-primary:hover {
    background: #128c7e !important;
    color: black !important;
    border-color: #128c7e !important;
    box-shadow: 
        0 0 0 2px #25d366,
        0 0 20px rgba(37, 211, 102, 0.6),
        0 0 30px rgba(37, 211, 102, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) scale(1.02);
}

.modal-actions .btn-primary:active {
    background: #075e54 !important;
    color: white !important;
    border-color: #075e54 !important;
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 0 0 2px #25d366,
        0 0 15px rgba(37, 211, 102, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

/* WhatsApp icon styling within the green button */
.modal-actions .btn-primary .fa-whatsapp {
    color: black !important;
    font-size: 1.1rem;
    margin-right: 8px;
    transition: all 0.3s ease;
    /* Remove all individual styling */
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    box-shadow: none !important;
    animation: none !important;
    position: static !important;
}

/* Ensure button text is black */
.modal-actions .btn-primary span {
    color: black !important;
}

/* On active state, change to white for better contrast on dark green */
.modal-actions .btn-primary:active .fa-whatsapp {
    color: white !important;
}

.modal-actions .btn-primary:active span {
    color: white !important;
}

/* Add subtle WhatsApp green glow animation to entire button */
@keyframes whatsappButtonGlow {
    0%, 100% {
        box-shadow: 
            0 0 0 2px transparent,
            0 0 10px rgba(37, 211, 102, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 0 2px transparent,
            0 0 15px rgba(37, 211, 102, 0.5),
            inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    }
}

.modal-actions .btn-primary {
    animation: whatsappButtonGlow 3s ease-in-out infinite;
}

.modal-actions .btn-primary:hover {
    animation: none;
}

/* Mobile responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .modal-actions .btn-primary:hover {
        transform: translateY(-1px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .modal-actions .btn-primary .fa-whatsapp {
        font-size: 1rem;
        margin-right: 6px;
    }
    
    /* Reduce animation intensity on mobile for better performance */
    .modal-actions .btn-primary {
        animation: none;
    }
    
    .modal-actions .btn-primary:active {
        transform: scale(0.95);
        box-shadow: 
            0 0 0 1.5px #25d366,
            0 0 10px rgba(37, 211, 102, 0.6) !important;
    }
}

/* Ensure Call Now button (btn-secondary) maintains its original styling */
.modal-actions .btn-secondary {
    background: var(--color-luxury-black) !important;
    color: #ffffff !important;
    border: 2px solid var(--color-luxury-gold) !important;
}

.modal-actions .btn-secondary:hover {
    background: var(--color-luxury-gold) !important;
    color: var(--color-luxury-black) !important;
    border-color: var(--color-luxury-gold) !important;
}

/* Modal Action Buttons */
.modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .btn {
    background: var(--color-luxury-black);
    color: #ffffff !important;
    border: 2px solid var(--color-luxury-gold);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.modal-actions .btn:hover {
    background: var(--color-luxury-gold);
    color: var(--color-luxury-black) !important;
    border-color: var(--color-luxury-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.modal-actions .btn i {
    font-size: 1.1rem;
    color: inherit !important;
}

.modal-info .car-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Virtual Showroom responsive design */
@media (max-width: 1440px) {
    .showroom-viewer {
        max-width: 95%;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .showroom-viewer {
        max-width: 100%;
        margin: 0 0 2rem;
    }
    
    .viewer-container {
        height: 450px; /* Reduced from 600px for mobile */
    }
    
    .drag-instruction {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .viewer-controls {
        bottom: 15px;
        gap: 6px;
    }
    
    .control-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .viewer-container {
        height: 400px; /* Further reduced for small mobile */
    }
    
    .drag-instruction {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .viewer-controls {
        flex-wrap: wrap;
        max-width: 90%;
    }
    
    .control-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
}

/* Modal responsive design */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
        margin: 10px;
    }
    
    .modal-main-image {
        height: 250px;
    }
    
    .modal-images {
        padding: 1rem;
    }
    
    .modal-image {
        width: 70px;
        height: 50px;
    }
    
    .modal-video {
        width: 100px;
        height: 60px;
    }
    
    .video-label {
        font-size: 0.7rem;
    }
    
    .modal-main-video {
        height: 250px;
    }
    
    .video-play-overlay {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .modal-info {
        padding: 0 1rem 1rem;
    }
    
    .modal-info .car-specs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .modal-actions {
        padding: 1rem;
        flex-direction: column;
    }
    
    .modal-actions .btn {
        min-width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 98%;
        max-height: 90vh;
    }
    
    .modal-main-image {
        height: 200px;
        border-radius: 10px;
    }
    
    .modal-main-video {
        height: 200px;
    }
    
    .modal-video {
        width: 80px;
        height: 50px;
    }
    
    .video-label {
        font-size: 0.65rem;
    }
    
    .video-play-overlay {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    
    .modal-info h3 {
        font-size: 1.3rem;
    }
    
    .modal-info .car-price {
        font-size: 1.5rem;
    }
}

/* Medium screens - tablets and small laptops */
@media (max-width: 1024px) {
    .nav {
        grid-template-columns: 320px 1fr 350px; /* Increased actions area */
        gap: 1.5rem; /* Reduced gap */
    }
    
    .nav__brand {
        max-width: 220px; /* Reduced for further left positioning */
        margin-right: 50px; /* Increased margin for further left */
    }
    
    .nav__actions {
        margin-left: 20px; /* Reduced from 30px for medium screens */
        padding-right: 10px; /* Reduced from 15px */
    }
    
    .brand-logo {
        width: 70px; /* Slightly smaller on medium screens */
        height: 70px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem; /* Reduced gap for mobile */
    }
    
    .nav__brand {
        max-width: 180px; /* Reduced for further left positioning */
        min-width: 140px; /* Ensure minimum space */
        margin-right: 30px; /* Increased margin for further left */
        gap: 6px; /* Maintain gap */
    }
    
    .brand-logo {
        width: 65px; /* Larger than before but smaller than desktop */
        height: 65px;
    }
    
    .brand-name {
        font-size: 1.1rem; /* Smaller on mobile */
    }
    
    .brand-tagline {
        font-size: 0.7rem; /* Smaller on mobile */
    }
    
    .nav__menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }

    .hero .container {
        padding: 0 20px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav__actions {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px; /* Increased from 15px */
    }
    
    .nav__brand {
        max-width: 120px; /* Further reduced for small mobile */
        min-width: 100px;
        gap: 4px; /* Smaller gap on very small screens */
        margin-right: 20px; /* Increased margin for further left positioning */
    }
    
    .brand-logo {
        width: 55px; /* Larger than before for small screens */
        height: 55px;
    }
    
    .brand-name {
        font-size: 1rem; /* Even smaller on very small screens */
    }
    
    .brand-tagline {
        font-size: 0.65rem; /* Even smaller tagline */
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Ensure all text elements use luxury gold for headings */
h1, h2, h3, h4, h5, h6 {
    color: #FFD700 !important; /* Luxury Gold color */
}

p, span, div, li, a {
    color: var(--color-text) !important;
}

/* Special styling for specific elements */
.brand-name {
    color: #FFD700 !important; /* Luxury Gold color */
}

.brand-tagline {
    color: var(--color-text-light) !important;
}

.car-title {
    color: #FFD700 !important; /* Luxury Gold color */
}

.car-price {
    color: var(--color-luxury-gold) !important;
    font-weight: bold;
}

.section-header h2 {
    color: #FFD700 !important; /* Luxury Gold color */
}

.section-header p {
    color: var(--color-text-light) !important;
}

/* Navigation links */
.nav__menu a {
    color: var(--color-text) !important;
}

.nav__menu a:hover {
    color: var(--color-luxury-gold) !important;
}

/* Button text */
.btn {
    color: var(--color-background) !important;
}

.btn-secondary {
    color: var(--color-text) !important;
}

/* Form labels and inputs */
.form-group label {
    color: #FFD700 !important; /* Luxury Gold color */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light) !important;
}

/* Contact info */
.contact-item strong {
    color: #FFD700 !important; /* Luxury gold color for labels */
}

.contact-item {
    color: #ffffff !important; /* White color for contact items */
}

/* Service cards */
.service-card h3 {
    color: #FFD700 !important; /* Luxury Gold color */
}

.service-card p {
    color: var(--color-text-light) !important;
}
/* Brands Section */
.brands {
    padding: 80px 0;
    background: var(--color-background);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.brand-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--color-luxury-gold);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s;
}

.brand-card:hover::before {
    left: 100%;
}

.brand-image-container {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.brand-image {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
    background: transparent;
    border-radius: 8px;
    padding: 5px;
}

.brand-text-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.brand-card:hover .brand-text-logo {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.brand-card:hover .brand-image {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.4));
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700 !important;
    margin: 0;
    letter-spacing: 1px;
    text-align: center;
    transition: var(--transition);
    line-height: 1.2;
}

.brand-established {
    color: var(--color-text-light) !important;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    letter-spacing: 0.5px;
    transition: var(--transition);
    opacity: 0.8;
}

.brand-card:hover .brand-name {
    color: #FFD700 !important;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.brand-card:hover .brand-established {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--color-luxury-gold) !important;
}

/* Loading state for brand images */
.brand-image[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Ensure brand images work well on dark backgrounds */
.brand-image {
    mix-blend-mode: multiply;
}

/* For dark mode, adjust blend mode */
body:not(.light-mode) .brand-image {
    mix-blend-mode: screen;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.brand-logo {
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700 !important; /* Luxury Gold color */
    margin: 0 auto !important;
    letter-spacing: 1px;
    text-align: center !important;
    transition: var(--transition);
    width: 100%;
    display: block;
    padding: 0 !important;
}

.brand-card:hover .brand-logo h3 {
    color: #FFD700 !important; /* Luxury Gold color */
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.brand-est {
    color: #FFD700 !important; /* Luxury Gold color */
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 20px 0;
    text-align: center;
    letter-spacing: 0.5px;
    transition: var(--transition);
    opacity: 0.8;
}

.brand-card:hover .brand-est {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--color-luxury-gold) !important;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.brand-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--color-luxury-gold), transparent);
    color: var(--color-background);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-weight: 600;
}

.brand-card:hover .brand-overlay {
    transform: translateY(0);
}

.brand-overlay span {
    color: var(--color-background) !important;
    font-weight: 600;
}

/* Responsive Design for Brands */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .brand-card {
        padding: 25px 15px;
        min-height: 180px;
    }
    
    .brand-image-container {
        height: 60px;
        margin-bottom: 15px;
    }
    
    .brand-image {
        max-height: 60px;
    }
    
    .brand-name {
        font-size: 1.5rem !important;
    }
    
    .brand-established {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-card {
        padding: 20px 15px;
        min-height: 160px;
    }
    
    .brand-image-container {
        height: 50px;
        margin-bottom: 12px;
    }
    
    .brand-image {
        max-height: 50px;
    }
    
    .brand-name {
        font-size: 1.3rem !important;
    }
    
    .brand-established {
        font-size: 0.8rem;
    }
}
/* Smooth scrolling for navigation */
html {
    scroll-behavior: smooth;
}

/* Navigation link active states */
.nav__menu a {
    position: relative;
    transition: var(--transition);
}

.nav__menu a:hover {
    color: var(--color-luxury-gold) !important;
}

.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-luxury-gold);
    transition: width 0.3s ease;
}

.nav__menu a:hover::after {
    width: 100%;
}
/* Specific override for brand names to ensure centering */
.brand-card .brand-logo h3 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #FFD700 !important; /* Luxury Gold color */
    margin: 0 auto !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    transition: var(--transition) !important;
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    text-indent: 0 !important;
    line-height: 1.2 !important;
}
/* Medium screen navigation adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav__menu {
        gap: 1.2rem;
        margin-left: 20px; /* Reduced margin for medium screens */
    }
    
    .nav__menu a {
        font-size: 0.9rem;
    }
}

/* Responsive styling for service icons */
@media (max-width: 768px) {
    .service-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 0.75rem;
    }
    
    .service-icon-img {
        width: 70px;
        height: 70px;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 0.75rem;
    }
    
    .service-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    *, *::before, *::after {
        animation-duration: 0.3s !important;
        animation-delay: 0s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Optimize image containers */
    .car-image-container {
        contain: layout style paint;
    }
    
    /* Reduce blur effects on mobile */
    .hero::before {
        backdrop-filter: none;
        background: rgba(0, 0, 0, 0.6);
    }
    
    /* Optimize grid performance */
    .cars-grid {
        contain: layout;
        will-change: auto;
    }
    
    /* Reduce box shadows on mobile */
    .car-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .car-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Connection-based optimizations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize for slow connections */
@media (max-width: 480px) {
    .car-image {
        background-color: #f5f5f5;
        min-height: 200px;
    }
    
    /* Reduce grid gap on small screens */
    .cars-grid {
        gap: 1rem;
    }
}

/* Showroom Responsive Design */
@media (max-width: 768px) {
    .showroom-thumbnails {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .thumbnail-image {
        height: 180px;
    }
    
    .thumbnail-info {
        padding: 0.8rem;
    }
    
    .thumbnail-title {
        font-size: 1rem;
    }
    
    .thumbnail-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .showroom-thumbnails {
        gap: 0.8rem;
    }
    
    .thumbnail-image {
        height: 160px;
    }
    
    .thumbnail-info {
        padding: 0.6rem;
    }
    
    .thumbnail-title {
        font-size: 0.95rem;
    }
    
    .thumbnail-description {
        font-size: 0.8rem;
    }
}
/* Testimonials Responsive Design */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonials h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-name {
        font-size: 1rem;
    }
}
/* Service Page Styles */
.service-page {
    padding: 120px 0 80px;
    background: var(--color-white);
    min-height: 100vh;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border);
}

.service-icon-large {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 225px;
    height: 225px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.service-icon-img-large {
    width: auto;
    height: auto;
    max-width: 225px;
    max-height: 225px;
    object-fit: contain;
    object-position: center;
    filter: none;
    border: none;
    box-shadow: none;
    background: transparent;
    transform: scale(2.5);
}

.service-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-luxury-gold);
    margin: 0.2rem 0 1rem 0;
    line-height: 1.2;
}

.service-page-subtitle {
    font-size: 0.975rem;
    color: var(--color-text-light);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--color-luxury-gold);
    border-radius: 8px;
}

.service-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

.service-sections {
    margin-bottom: 3rem;
}

.service-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(255, 215, 0, 0.3);
}

.service-section-title {
    color: var(--color-luxury-gold);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--color-luxury-gold);
    border-radius: 2px;
}

.service-section-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0 0 1.5rem 0;
}

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

.service-section-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    padding-left: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.service-section-list li:last-child {
    border-bottom: none;
}

.service-section-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--color-luxury-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-conclusion {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.service-conclusion p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
    font-style: italic;
}

.service-actions {
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid var(--color-border);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-actions .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-luxury-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-luxury-gold);
}

.footer-contact p {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--color-luxury-gold);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

/* Responsive Service Pages */
@media (max-width: 768px) {
    .service-page {
        padding: 100px 0 60px;
    }
    
    .service-icon-large {
        width: 180px;
        height: 180px;
        margin-bottom: 0.4rem;
    }
    
    .service-icon-img-large {
        max-width: 180px;
        max-height: 180px;
        transform: scale(2.2);
    }
    
    .service-page-title {
        font-size: 1.65rem;
    }
    
    .service-page-subtitle {
        font-size: 0.825rem;
    }
    
    .service-intro,
    .service-section,
    .service-conclusion {
        padding: 1.5rem;
    }
    
    .service-intro p {
        font-size: 1.1rem;
    }
    
    .service-section-title {
        font-size: 1.4rem;
    }
    
    .service-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .service-actions .btn {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .service-icon-large {
        width: 135px;
        height: 135px;
        margin-bottom: 0.3rem;
    }
    
    .service-icon-img-large {
        max-width: 135px;
        max-height: 135px;
        transform: scale(2.0);
    }
    
    .service-page-title {
        font-size: 1.35rem;
    }
    
    .service-intro,
    .service-section,
    .service-conclusion {
        padding: 1rem;
    }
    
    .service-section-title {
        font-size: 1.2rem;
    }
}
