/* الألوان والأساسيات */
:root {
    --gold: #f1dfb5;
    --dark-gold: #d7b46a;
    --bg-black: #111;
    --card-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }

body { background: var(--bg-black); color: white; scroll-behavior: smooth; }

/* Hero Section */
.hero {
    width: 100%; min-height: 100vh;
     background-position: center;
    padding: 30px 80px; position: relative;
   background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img.png');
background-repeat: no-repeat;
background-size: cover;
}


nav ul { display: flex; list-style: none; gap: 40px; }
nav ul li a { text-decoration: none; color: white; font-weight: bold; transition: 0.3s; }
nav ul li a:hover { color: var(--gold); }

.hero-content { position: absolute; top: 30%; right: 80px; text-align: left; }
.hero-content h1 { font-size: 55px; color: var(--gold); margin-bottom: 10px; }
.hero-content h2 { font-size: 40px; margin-bottom: 20px; }
.hero-content button { padding: 15px 40px; border: none; background: white; font-weight: bold; cursor: pointer; transition: 0.3s; }
.hero-content button:hover { background: var(--dark-gold); color: white; }

/* Cars Collection Section */
.cars-section { padding: 80px; background: #1a1a1a; }
.section-title { font-size: 50px; color: var(--gold); text-align: center; margin-bottom: 50px; }
.cars-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.car-card { background: white; border-radius: 10px; overflow: hidden; transition: 0.4s; cursor: pointer; }
.car-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(215, 180, 106, 0.3); }
.car-card img { width: 100%; height: 200px; object-fit: cover; }
.car-info { padding: 20px; color: black; }
.car-info h3 { margin-bottom: 15px; font-size: 1.5rem; }
.bottom-info { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: bold; color: var(--dark-gold); }
.btn-view { background: black; color: white; border: none; padding: 8px 15px; border-radius: 5px; }

/* Modal (Frame 2 logic) */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal.hidden { display: none; }
.modal-content { background: #222; padding: 30px; border-radius: 15px; width: 80%; max-width: 800px; position: relative; }
.close-modal { position: absolute; right: 20px; top: 10px; font-size: 30px; cursor: pointer; }
.modal-body { display: flex; gap: 30px; flex-wrap: wrap; }
.modal-body img { width: 100%; max-width: 400px; border-radius: 10px; }
.book-now-btn { background: var(--dark-gold); color: white; border: none; padding: 15px 30px; margin-top: 20px; cursor: pointer; width: 100%; }

/* About & Contact (كما في كودك الأصلي مع تحسين بسيط) */
.about-section { padding: 100px 80px; text-align: center; background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1200'); background-size: cover; }
.stats { display: flex; justify-content: center; gap: 50px; margin-top: 40px; }
.stats h3 { color: var(--gold); font-size: 40px; }

.contact-section { padding: 80px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: #050505; }
.contact-form { width: 100%; max-width: 600px; }
.contact-form input { width: 100%; padding: 15px; margin-bottom: 20px; background: transparent; border: 1px solid white; color: white; }
.contact-form button { padding: 15px 50px; background: var(--gold); border: none; font-weight: bold; cursor: pointer; }

.book-now-btn:active {
    transform: scale(0.95);
    background-color: #d7b46a;
}

.book-now-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}