/* Base & Reset */
:root {
    --primary-color: #d4af37; /* Luxury Gold */
    --primary-hover: #b5952f;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ebd5a;
    --white: #ffffff;
    --dark: #0a1128; /* Deep Royal Blue */
    --dark-lighter: #1c2541;
    --gray-light: #f8fafc;
    --gray-medium: #e2e8f0;
    --gray-text: #64748b;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-gray {
    background-color: var(--gray-light);
}

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

/* Offline Image Placeholders */
.offline-image-placeholder {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-lighter), var(--dark));
    color: var(--white);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.offline-image-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    opacity: 0.8;
}

.placeholder-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

.about-placeholder {
    height: 450px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
    font-weight: 800;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.section-title p {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Floating Contact Plugin */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
    animation: none;
}

.float-wa {
    background-color: var(--whatsapp-color);
}

.float-wa:hover {
    background-color: var(--whatsapp-hover);
}

.float-call {
    background-color: var(--primary-color);
}

.float-call:hover {
    background-color: var(--primary-hover);
}

@keyframes floatPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.15rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: #cbd5e1;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right span {
    margin-left: 20px;
}

.top-bar-right i {
    color: var(--primary-color);
    margin-left: 5px;
}

.social-icons-small a {
    color: #cbd5e1;
    margin-right: 15px;
}

.social-icons-small a:hover {
    color: var(--primary-color);
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img, .custom-logo-link img, .custom-logo, .logo-wrapper img {
    height: 75px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain !important;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    padding: 50px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links li a {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-medium);
    color: var(--dark);
}

/* Hero Section */
.hero {
    height: 90vh;
    background-image: url('https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text-box {
    max-width: 700px;
}

.hero-graphic {
    font-size: 20rem;
    color: rgba(255,255,255,0.05);
    transform: rotate(-10deg);
}

.badge {
    background-color: var(--primary-color);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    margin-bottom: 45px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--dark);
    padding: 50px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-card i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
    color: var(--dark);
}

.experience-badge strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
    margin: 5px 0;
}

.about-content h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.about-content p {
    color: var(--gray-text);
    margin-bottom: 25px;
}

.check-list {
    margin-bottom: 30px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 4px;
}

/* Services Cards */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-box {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-img {
    position: relative;
    height: 220px;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-info p {
    color: var(--gray-text);
}

/* Targeted Cars Showcase */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.target-car {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.target-car:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.car-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-details h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.car-desc {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex: 1;
}

/* Process Steps */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    background: var(--white);
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border: 4px solid var(--gray-light);
}

.step i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step p {
    color: var(--gray-text);
}

.step-line {
    height: 4px;
    flex: 0.5;
    background: var(--gray-medium);
    position: relative;
    z-index: 1;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background: var(--primary-color);
}

/* Call to Action */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 10;
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

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

/* Footer */
.footer {
    background-color: var(--dark);
    color: #cbd5e1;
    padding-top: 80px;
    padding-bottom: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-title {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark);
    transform: translateY(-5px);
}

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

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

.contact-info li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content .subtitle { animation-delay: 0.4s; }
.hero-content .hero-buttons { animation-delay: 0.6s; }

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

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.cta-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-graphic {
        display: none;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-line {
        width: 4px;
        height: 50px;
    }
    
    .step-line::after {
        width: 100%;
        height: 50%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links, .contact-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .stats-section {
        margin-top: 0;
        border-radius: 0;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
