/* =========================================
   CSS Variables & Resets
   ========================================= */
:root {
    --primary-color: #D4AF37; /* Luxury Gold */
    --primary-dark: #b5952f;
    --secondary-color: #121212; /* Deep Black */
    --bg-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --surface-light: #2a2a2a;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --danger: #ff4757;
    --success: #2ed573;
    
    --font-main: 'Cairo', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

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

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    text-align: center;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: var(--secondary-color);
}

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

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

/* =========================================
   Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-size: 1.05rem;
    font-weight: 600;
    position: relative;
}

.main-nav ul li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:not(.btn):hover::after,
.main-nav ul li a.active:not(.btn)::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../images/hero.png') center/cover no-repeat;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.3) 100%);
    z-index: 1;
}

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 100px 0;
    background-color: var(--surface-color);
}

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

.feature-card {
    background: var(--surface-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    pointer-events: none;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.service-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* =========================================
   Locations Section
   ========================================= */
.locations {
    padding: 100px 0;
    background-color: var(--surface-color);
}

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

.location-card {
    background: var(--surface-light);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.location-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.location-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.8;
}

.location-card h4 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.location-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* =========================================
   Contact Form Section
   ========================================= */
.contact {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-color), #000);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    background: var(--surface-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: url('../images/highway.png') center/cover;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(5px);
}

.contact-info > * {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--primary-color);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    flex: 1.2;
    padding: 50px;
    background: var(--surface-color);
}

.lead-form h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 30px;
}

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

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.required {
    color: var(--danger);
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background: var(--surface-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 15px;
    cursor: pointer;
}

select option {
    background: var(--surface-light);
    color: var(--white);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    font-size: 1.1rem;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: rgba(46, 213, 115, 0.1);
    color: var(--success);
    border: 1px solid rgba(46, 213, 115, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 71, 87, 0.2);
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: #050505;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.brand-col {
    flex: 2;
    min-width: 300px;
}

.brand-col .logo {
    margin-bottom: 20px;
}

.brand-col p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 400px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.links-col {
    flex: 1;
    min-width: 200px;
}

.links-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.links-col ul li a {
    color: var(--text-muted);
}

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

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .service-item, .service-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .service-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 1001;
        border-radius: 0 0 15px 15px;
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .section-title { font-size: 2rem; }
    
    .contact-info { padding: 30px; }
    .contact-form-container { padding: 30px 20px; }
}
