/* ===== CSS Variables ===== */
:root {
  --black: #0a0a0a;
  --black-light: #1a1a2e;
  --gold: #c9a84c;
  --gold-light: #e0c76a;
  --gold-dark: #a8893a;
  --blue: #1e90ff;
  --blue-light: #87ceeb;
  --blue-dark: #0a1628;
  --white: #f5f5f5;
  --gray: #888;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.05rem; margin-bottom: 3rem; }

/* ===== Preloader ===== */
#preloader { position: fixed; inset: 0; background: var(--black); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s; }
#preloader.loaded { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo .logo-text { font-family: var(--font-display); font-size: 3rem; color: var(--white); }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-top: 1.5rem; overflow: hidden; }
.preloader-bar-inner { width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--blue-light)); border-radius: 3px; animation: preloaderBar 1.5s ease forwards; }
@keyframes preloaderBar { to { width: 100%; } }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.2rem 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); padding: 0.7rem 0; box-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-icon { font-size: 1.5rem; color: var(--gold); }
.nav-logo .logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.nav-menu { display: flex; gap: 2rem; }
.nav-link { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.75); transition: var(--transition); position: relative; display: flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link i { font-size: 0.8rem; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; transition: var(--transition); }
.nav-phone:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.4); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ===== Hero Slider ===== */
.hero-slider { position: relative; height: 100vh; min-height: 600px; }
.swiper-slide .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.swiper-slide .slide-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,22,40,0.6) 50%, rgba(10,10,10,0.7) 100%); }
.swiper-slide .slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 8%; }
.slide-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; color: var(--gold); margin-bottom: 1.5rem; backdrop-filter: blur(10px); }
.slide-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.slide-title .highlight { background: linear-gradient(135deg, var(--gold), var(--blue-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 500px; margin-bottom: 2rem; line-height: 1.7; }
.slide-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); font-weight: 600; border-radius: 50px; font-size: 0.95rem; transition: var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(201,168,76,0.4); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: transparent; border: 2px solid rgba(255,255,255,0.25); color: var(--white); font-weight: 500; border-radius: 50px; font-size: 0.95rem; transition: var(--transition); cursor: pointer; }
.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-3px); }
.hero-slider .swiper-pagination { bottom: 40px !important; }
.hero-slider .swiper-pagination-bullet { width: 12px; height: 12px; background: rgba(255,255,255,0.3); opacity: 1; transition: var(--transition); }
.hero-slider .swiper-pagination-bullet-active { background: var(--gold); width: 36px; border-radius: 6px; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: var(--gold); width: 50px; height: 50px; background: rgba(0,0,0,0.4); border-radius: 50%; backdrop-filter: blur(10px); }
.hero-slider .swiper-button-next::after, .hero-slider .swiper-button-prev::after { font-size: 1.1rem; }

/* ===== Stats Bar ===== */
.stats-bar { background: linear-gradient(135deg, var(--black-light), var(--blue-dark)); padding: 2rem 0; border-bottom: 1px solid rgba(201,168,76,0.15); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; padding: 1rem; }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; background: linear-gradient(135deg, var(--gold), var(--blue-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--gray); font-size: 0.9rem; margin-top: 0.3rem; }

/* ===== Video Section ===== */
.video-section { padding: 6rem 0; position: relative; overflow: hidden; }
.video-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(30,144,255,0.08), transparent 70%); pointer-events: none; }
.video-wrapper { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; max-width: 1000px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); border: 1px solid rgba(201,168,76,0.2); }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-poster-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.video-poster-overlay:hover { background: rgba(0,0,0,0.3); }
.video-poster-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn-large { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--black); transition: var(--transition); box-shadow: 0 0 0 0 rgba(201,168,76,0.5); animation: playPulse 2s ease infinite; }
@keyframes playPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); } 50% { box-shadow: 0 0 0 20px rgba(201,168,76,0); } }
.play-btn-large i { margin-left: 5px; }
.video-info { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 1.5rem; }
.video-info-item { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.9rem; }
.video-info-item i { color: var(--gold); }

/* ===== Gallery Section ===== */
.gallery-section { padding: 6rem 0; background: linear-gradient(180deg, var(--black) 0%, var(--blue-dark) 50%, var(--black) 100%); }
.filter-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-tab { padding: 10px 24px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: var(--white); font-family: var(--font-body); font-size: 0.9rem; cursor: pointer; transition: var(--transition); }
.filter-tab:hover, .filter-tab.active { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); border-color: var(--gold); font-weight: 600; }
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.car-card { background: linear-gradient(145deg, rgba(26,26,46,0.8), rgba(10,22,40,0.9)); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); transition: var(--transition); position: relative; }
.car-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.car-card-image { position: relative; height: 240px; overflow: hidden; }
.car-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.car-card:hover .car-card-image img { transform: scale(1.08); }
.car-card-badge { position: absolute; top: 16px; left: 16px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.car-card-fav { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; transition: var(--transition); border: none; }
.car-card-fav:hover, .car-card-fav.active { background: var(--gold); color: var(--black); }
.car-card-body { padding: 1.5rem; }
.car-card-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.car-card-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.spec-item { text-align: center; }
.spec-item i { color: var(--gold); font-size: 0.85rem; margin-bottom: 4px; display: block; }
.spec-item span { font-size: 0.78rem; color: var(--gray); }
.car-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.car-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.car-price small { font-size: 0.7rem; color: var(--gray); font-weight: 400; display: block; }
.btn-detail { padding: 10px 22px; border-radius: 50px; background: rgba(30,144,255,0.15); border: 1px solid rgba(30,144,255,0.3); color: var(--blue-light); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition); font-family: var(--font-body); }
.btn-detail:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ===== About Section ===== */
.about-section { padding: 6rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-float { position: absolute; bottom: -30px; right: -30px; width: 200px; border-radius: 16px; overflow: hidden; border: 4px solid var(--black); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.about-img-float img { width: 100%; height: 150px; object-fit: cover; }
.about-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25); padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; color: var(--gold); margin-bottom: 1.2rem; }
.about-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1.2rem; line-height: 1.2; }
.about-text { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 2rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.about-feature { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.03); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.about-feature i { color: var(--gold); font-size: 1.1rem; }
.about-feature span { font-size: 0.9rem; }

/* ===== Contact Form ===== */
.contact-section { padding: 6rem 0; background: linear-gradient(180deg, var(--black), var(--blue-dark)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { background: rgba(255,255,255,0.03); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.06); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--gray); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: var(--white); font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card { background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(30,144,255,0.08)); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(201,168,76,0.15); }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 2rem; }
.contact-info-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(201,168,76,0.15); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.contact-info-text h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { color: var(--gray); font-size: 0.9rem; }
.contact-info-text a:hover { color: var(--gold); }

/* ===== Footer ===== */
.footer { background: var(--black-light); position: relative; padding-top: 4rem; }
.footer-wave { color: var(--black-light); margin-bottom: -1px; }
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo .logo-icon { font-size: 1.3rem; color: var(--gold); }
.footer-logo .logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.footer-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-link { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--gray); transition: var(--transition); }
.social-link:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }
.footer-title { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.2rem; position: relative; padding-bottom: 0.8rem; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { color: var(--gray); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.footer-links a i { font-size: 0.65rem; color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; color: var(--gray); font-size: 0.9rem; }
.footer-contact li i { color: var(--gold); margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; margin-top: 1rem; }
.footer-bottom p { color: var(--gray); font-size: 0.85rem; }
.footer-credit { color: var(--gold) !important; }

/* ===== WhatsApp & Back to Top ===== */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; z-index: 999; transition: var(--transition); box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-tooltip { position: absolute; right: 70px; background: var(--black); color: var(--white); padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition); }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
.back-to-top { position: fixed; bottom: 100px; right: 34px; width: 45px; height: 45px; border-radius: 12px; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(20px); transition: var(--transition); }
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--black); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .nav-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--black-light); flex-direction: column; padding: 6rem 2rem 2rem; transition: var(--transition); }
  .nav-menu.active { right: 0; }
  .nav-toggle { display: block; }
  .nav-phone span { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-float { right: 10px; bottom: -20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .cars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .slide-buttons { flex-direction: column; }
  .hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { display: none; }
  .about-features { grid-template-columns: 1fr; }
}
