/* ==========================================================================
   MAGIC ENTERPRISE - EXACT SCREENSHOT REPLICA STYLESHEET
   ========================================================================== */

@font-face {
  font-family: 'gopher';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/Gopher-Medium.ttf') format('truetype');
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-heading: 'gopher', 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Colors */
  --bg-black: #000000;
  --bg-dark: #070709;
  --bg-card: #0a0a0c;
  --bg-card-hover: #101014;

  --gold-primary: #C6A378;
  --gold-light: #FCEFD9;
  --gold-muted: #D5C7BB;
  --gold-accent: #c9ad8a;
  --gold-gradient: linear-gradient(170deg, #C6A378 0%, #FCEFD9 50%, #D5C7BB 100%);
  --gold-gradient-hover: linear-gradient(170deg, #d8b788 0%, #fff7ea 50%, #e3d7cb 100%);

  --text-white: #ffffff;
  --text-gray: #a3a3a8;
  --text-muted: #707075;
  --text-dark: #000000;

  --border-gold: rgba(198, 163, 120, 0.45);
  --border-gold-light: rgba(198, 163, 120, 0.25);
  --border-light: rgba(255, 255, 255, 0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --container-max: 1200px;
  --transition: all 0.25s ease;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
}

p {
  color: var(--text-gray);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.text-gold {
  color: var(--gold-accent) !important;
}

.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: capitalize;
  color: var(--gold-accent);
  margin-bottom: 10px;
  display: block;
  font-style: italic;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px auto;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-transform: capitalize;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 600;
  border: none;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(198, 163, 120, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 32px;
  font-size: 1.05rem;
}

/* Header & Top Bar */
.top-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  padding: 8px 0;
  height: 36px;
}

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

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.top-bar-left a:hover {
  color: var(--gold-accent);
}

.top-bar-left svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-center a {
  color: #fff;
  transition: var(--transition);
}

.top-bar-center a:hover {
  color: var(--gold-accent);
}

.top-bar-center svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.top-bar-right a:hover {
  color: var(--gold-accent);
}

.top-bar-right svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.site-header {
  position: sticky;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo-wrapper img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-wrapper:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: #ffffff;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
  user-select: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(198, 163, 120, 0.4);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  outline: none;
}

.lang-btn:hover {
  background: rgba(198, 163, 120, 0.15);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 163, 120, 0.25);
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  fill: var(--gold-accent);
  flex-shrink: 0;
}

.lang-code {
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 0.85rem;
}

.lang-caret {
  width: 12px;
  height: 12px;
  fill: var(--text-muted);
  transition: transform 0.2s ease;
}

.lang-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #111218;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1500;
  animation: langDropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-menu.show {
  display: flex;
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #ccc;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lang-opt:hover {
  background: rgba(198, 163, 120, 0.12);
  color: #fff;
}

.lang-opt.active {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
}

.lang-check {
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 8px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #0d0e14;
  border-left: 1px solid var(--border-gold);
  z-index: 1200;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.3s ease;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-links .nav-link {
  font-size: 1.05rem;
}

/* Hero Section (Exact Replica from Screenshot) */
.hero-exact {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 90px 0;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.85) 90%, #000000 100%),
    url('../images/background-img.webp') center center / cover no-repeat;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-accent);
  margin-bottom: 14px;
}

.hero-exact h1 {
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -0.5px;
}

.hero-exact p {
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #e5e5e5;
  line-height: 1.65;
}

.hero-btn {
  background: var(--gold-gradient);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-block;
  transition: var(--transition);
}

.hero-btn:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 163, 120, 0.4);
}

/* Brands Marquee Carousel (Large Logos + Back-and-Forth Loop) */
.brands-section {
  padding: 80px 0 60px 0;
  background: #000;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.brands-section h2 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  line-height: 1.25;
}

.brands-section p {
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0 auto 45px auto;
  color: var(--text-gray);
  line-height: 1.6;
}

.marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: marqueeBackAndForth 16s ease-in-out infinite alternate;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  flex-shrink: 0;
}

.brand-item img {
  height: 95px;
  max-height: 105px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.brand-item:hover img {
  transform: scale(1.08);
}

@keyframes marqueeBackAndForth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% + 120px));
  }
}

/* Who We Are Overlapping Section */
.who-section {
  padding: 80px 0;
  background: #000;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.who-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.who-text p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.who-bullets {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #fff;
}

.who-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.who-bullets li::before {
  content: '•';
  color: var(--gold-accent);
  font-size: 1.4rem;
}

.overlapping-collage {
  position: relative;
  height: 380px;
}

.collage-top {
  position: absolute;
  top: 0;
  right: 40px;
  width: 65%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  z-index: 1;
}

.collage-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-bottom {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 75%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.collage-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured Inventory Section */
.featured-inventory-section {
  padding: 95px 0 80px 0;
  background: #000000;
  text-align: center;
}

.featured-inventory-section .section-tag {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-accent);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-align: center;
  display: block;
}

.featured-inventory-section h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 16px;
  text-align: center;
}

.featured-inventory-section p {
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto 50px auto;
  color: var(--text-gray);
  line-height: 1.65;
  text-align: center;
}

/* Inventory Cards (Exact 2-Column Grid with Gold Light Borders) */
.inventory-grid-exact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.inventory-grid-exact > .car-card-exact:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.car-card-exact {
  background: #0d0e14;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.car-card-exact:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 163, 120, 0.6);
  box-shadow: 0 16px 36px rgba(198, 163, 120, 0.15), 0 10px 30px rgba(0, 0, 0, 0.8);
}

.car-card-img-box {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  margin-bottom: 16px;
  position: relative;
}

.car-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.car-card-exact:hover .car-card-img-box img {
  transform: scale(1.04);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.slider-dot.active {
  background: var(--gold-accent);
}

.car-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.car-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.car-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 18px;
}

.car-card-exact .btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

/* How It Works (4 Gold Number Circles) */
.how-it-works-section {
  padding: 80px 0;
  background: #000;
  text-align: center;
}

.steps-row-exact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-item-exact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle-gold {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-item-exact h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-item-exact p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Professional Service + Key Handover Section */
.service-section {
  padding: 90px 0;
  background: #000;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.service-content h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.25;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-item-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(198, 163, 120, 0.2);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-list strong {
  color: #ffffff;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.service-list span {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.45;
}

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.service-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Stats Strip (Below Service) */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
  padding: 90px 0;
  background: #000;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.testimonials-section p {
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0 auto 45px auto;
  color: var(--text-gray);
  line-height: 1.6;
}

.testimonials-row-exact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card-exact {
  background: #0d0e14;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.testimonial-card-exact:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 163, 120, 0.5);
}

.testimonial-stars {
  color: var(--gold-accent);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gold-accent);
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
  background: #000;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.faq-list-exact {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item-exact {
  border: 1px solid rgba(198, 163, 120, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d0e14;
  transition: all 0.25s ease;
  text-align: left;
}

.faq-item-exact.active {
  border-color: var(--gold-accent);
  box-shadow: 0 6px 20px rgba(198, 163, 120, 0.15);
}

.faq-question-exact {
  padding: 16px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  background: transparent;
  user-select: none;
}

.faq-item-exact.active .faq-question-exact {
  background: rgba(198, 163, 120, 0.1);
  color: var(--gold-accent);
}

.faq-question-exact:hover {
  color: var(--gold-accent);
}

.faq-icon-exact {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-left: 12px;
}

.faq-answer-exact {
  padding: 0 22px 18px 22px;
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.6;
}

.faq-answer-exact p {
  margin: 0;
  color: #c9cbcf;
}

/* Contact Banner with Customer Photo */
.contact-banner-exact {
  padding: 90px 0;
  background: #000;
}

.contact-banner-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.contact-man-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.contact-man-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-input-exact {
  background: #070709;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

.form-input-exact:focus {
  border-color: var(--gold-accent);
}

/* Page Heroes */
.page-hero-simple {
  padding: 60px 0 40px 0;
  text-align: center;
  background: #000;
}

.page-hero-simple h1 {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.page-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-breadcrumb a {
  color: #fff;
}

/* Footer (Exact Replica) */
.footer-exact {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 20px 0;
  margin-top: auto;
}

.footer-grid-exact {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-col img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-logo-col p {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.footer-nav-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-nav-col a {
  color: var(--text-gray);
}

.footer-nav-col a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-exact {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button (Bottom Left) */
.whatsapp-float-exact {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: waPulse 2.5s infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 4px 18px rgba(0, 0, 0, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 18px rgba(0, 0, 0, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 18px rgba(0, 0, 0, 0.4); }
}

.whatsapp-float-exact:hover {
  transform: scale(1.1);
  background: #20ba59;
}

.whatsapp-float-exact svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Scroll To Top Luxury Floating Button (Bottom Right) */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(18, 20, 28, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 163, 120, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(198, 163, 120, 0.45);
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   ========================================================================== */

/* Base Overflow Protection */
html, body {
  overflow-x: clip !important;
  max-width: 100vw;
  width: 100%;
}

/* Tablet & Large Mobile (<= 992px) */
@media (max-width: 992px) {
  .top-bar { display: none; }
  .site-header { top: 0; }
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .overlapping-collage { height: 360px; max-width: 600px; margin: 0 auto; width: 100%; }
  .inventory-grid-exact { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .steps-row-exact { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .testimonials-row-exact { grid-template-columns: 1fr; gap: 24px; }
  .contact-banner-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid-exact { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .turo-grid { grid-template-columns: 1fr; gap: 35px; }
  .turo-app-showcase { max-width: 500px; margin: 0 auto; width: 100%; }
}

/* Standard Mobile (<= 768px) */
@media (max-width: 768px) {
  .site-header { padding: 0; }
  .header-inner { height: 75px; }
  .logo-wrapper img { height: 48px; }
  
  .hero-exact {
    min-height: auto;
    padding: 75px 16px 65px 16px;
  }

  .hero-exact h1 {
    font-size: clamp(1.9rem, 6.5vw, 2.7rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-exact p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .brands-section {
    padding: 55px 0 40px 0;
  }

  .brands-section h2 {
    font-size: 1.9rem;
  }

  .marquee-track {
    gap: 60px;
  }

  .brand-item {
    height: 90px;
  }

  .inventory-grid-exact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .inventory-grid-exact > .car-card-exact:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-image img {
    height: 260px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .stat-box {
    padding: 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .contact-man-photo {
    display: none;
  }

  .form-row-dual {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-input-exact {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }

  .promo-5-banner {
    padding: 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .promo-5-left {
    gap: 16px;
  }

  .btn-promo {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .turo-download-badges,
  .turo-contact-direct {
    flex-direction: column;
    width: 100%;
  }

  .turo-store-btn,
  .turo-contact-direct .btn {
    width: 100%;
    justify-content: center;
  }

  /* Modal Mobile Adjustments */
  .vehicle-detail-modal,
  .admin-modal-dialog {
    max-width: 100%;
    max-height: 94vh;
    padding: 16px;
    border-radius: 12px;
  }

  .modal-gallery-wrapper {
    height: 240px;
  }

  .modal-thumbs-row {
    padding: 8px 12px;
    gap: 8px;
  }

  .modal-thumb {
    width: 60px;
    height: 42px;
  }

  .modal-details-body {
    padding: 16px 8px;
  }

  .modal-header-meta h2 {
    font-size: 1.4rem;
  }

  .modal-price-tag {
    font-size: 1.4rem;
  }

  .modal-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .modal-footer-actions {
    flex-direction: column;
  }

  .admin-modal-dialog div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .header-actions .btn-sm {
    display: none; /* Keep header neat; "Get In Touch" available in drawer & throughout page */
  }

  .header-inner {
    padding: 0 12px;
  }

  .logo-wrapper img {
    height: 42px;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .inventory-tabs {
    display: flex;
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
    border-radius: 12px;
  }

  .inventory-tabs::-webkit-scrollbar {
    display: none;
  }

  .inventory-tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .inventory-grid-exact {
    grid-template-columns: 1fr;
  }

  .card-actions-dual {
    flex-direction: column;
    gap: 8px;
  }

  .steps-row-exact {
    grid-template-columns: 1fr;
  }

  .footer-grid-exact {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .whatsapp-float-exact {
    bottom: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float-exact svg {
    width: 24px;
    height: 24px;
  }

  .scroll-top-btn {
    bottom: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================================
   DEDICATED AUTO SALES & CAR RENTAL STYLES + TURO + ADMIN MANAGEMENT
   ========================================================================== */

/* Category Tabs & Controls */
.inventory-tabs-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
  gap: 20px;
}

.inventory-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(198, 163, 120, 0.25);
  gap: 8px;
}

.inventory-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.inventory-tab-btn:hover {
  color: #fff;
}

.inventory-tab-btn.active {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(198, 163, 120, 0.35);
}

.inventory-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
  margin-bottom: 30px;
}

.inventory-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.inventory-search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.inventory-search-box input:focus {
  border-color: var(--gold-accent);
  background: rgba(0, 0, 0, 0.6);
}

.inventory-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
}

.inventory-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-admin-fleet {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(198, 163, 120, 0.3);
  color: var(--gold-accent);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-admin-fleet:hover {
  background: var(--gold-accent);
  color: #000;
}

/* Vehicle Card Badges & Enhancements */
.card-photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.card-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 3;
}

.badge-available {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.badge-sold {
  background: rgba(231, 76, 60, 0.25);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.5);
}

.badge-rental {
  background: rgba(198, 163, 120, 0.25);
  color: var(--gold-accent);
  border: 1px solid rgba(198, 163, 120, 0.5);
}

.card-actions-dual {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.card-actions-dual .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-size: 0.82rem;
  padding: 8px 12px;
}

/* ==========================================================================
   TURO INTEGRATION & 5% PROMO SECTION
   ========================================================================== */

.turo-section {
  padding: 80px 0;
  background: radial-gradient(circle at top right, rgba(198, 163, 120, 0.08) 0%, #060608 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* First-Time Customer 5% Promo Luxury Banner */
.promo-5-banner {
  background: linear-gradient(135deg, rgba(22, 24, 32, 0.95) 0%, rgba(10, 11, 15, 0.95) 100%);
  border: 1px solid rgba(198, 163, 120, 0.4);
  border-radius: 18px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 50px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.promo-5-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.promo-5-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 280px;
}

.promo-discount-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  background: linear-gradient(145deg, rgba(198, 163, 120, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: 16px;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(198, 163, 120, 0.18);
}

.promo-discount-badge .discount-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-discount-badge .discount-off {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  margin-top: 4px;
}

.promo-5-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promo-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 2px;
}

.promo-5-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.promo-5-text p {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.5;
}

.btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.9rem;
  white-space: nowrap;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.turo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.turo-app-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.turo-app-showcase img {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(198, 163, 120, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(198, 163, 120, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.turo-app-showcase:hover img {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(198, 163, 120, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(198, 163, 120, 0.2);
}

.turo-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.turo-step-card:hover {
  border-color: rgba(198, 163, 120, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.turo-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.turo-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(198, 163, 120, 0.2);
  color: var(--gold-accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turo-step-card h4 {
  font-size: 1.05rem;
  color: #fff;
}

.turo-step-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.55;
  margin: 0;
}

.turo-download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.turo-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 18px;
  color: #fff;
  font-size: 0.82rem;
  transition: var(--transition);
}

.turo-store-btn:hover {
  border-color: var(--gold-accent);
  background: #1a1a1f;
  transform: translateY(-2px);
}

.turo-store-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.turo-contact-direct {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   MULTI-PHOTO VEHICLE LIGHTBOX & DETAILS MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.vehicle-detail-modal {
  background: #0d0e14;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e74c3c;
  border-color: #e74c3c;
}

.modal-gallery-wrapper {
  position: relative;
  background: #000;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.modal-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  z-index: 5;
  transition: var(--transition);
}

.gallery-nav-btn:hover {
  background: var(--gold-gradient);
  color: #000;
}

.gallery-nav-prev { left: 16px; }
.gallery-nav-next { right: 16px; }

.modal-thumbs-row {
  display: flex;
  gap: 10px;
  padding: 12px 24px;
  background: #08080a;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-thumb {
  width: 75px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-thumb.active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--gold-accent);
}

.modal-details-body {
  padding: 28px;
}

.modal-header-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-header-meta h2 {
  font-size: 1.8rem;
  color: #fff;
}

.modal-price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
}

.modal-spec-item {
  font-size: 0.85rem;
}

.modal-spec-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 3px;
}

.modal-spec-item strong {
  color: #fff;
}

.modal-description {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.modal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ==========================================================================
   INVENTORY MANAGEMENT ADMIN MODAL (CMS)
   ========================================================================== */

.admin-modal-dialog {
  background: #0d0e14;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-form-group {
  margin-bottom: 16px;
}

.admin-form-group label {
  display: block;
  font-size: 0.85rem;
  color: #ddd;
  margin-bottom: 6px;
}

.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: var(--gold-accent);
}

.photo-upload-zone {
  border: 2px dashed rgba(198, 163, 120, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 14px;
}

.photo-upload-zone:hover {
  border-color: var(--gold-accent);
  background: rgba(198, 163, 120, 0.05);
}

.uploaded-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.photo-preview-item {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(231, 76, 60, 0.9);
  color: #fff;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-table-list {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.85rem;
}

.admin-table-list th,
.admin-table-list td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.admin-table-list th {
  color: var(--gold-accent);
  font-weight: 600;
}

/* ==========================================================================
   404 ERROR PAGE STYLES
   ========================================================================== */
.page-404-wrapper {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px 20px;
  background: radial-gradient(circle at 50% 35%, rgba(198, 163, 120, 0.1) 0%, #060608 70%);
}

.error-404-box {
  max-width: 680px;
  margin: 0 auto;
}

.error-404-num {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 15vw, 9.5rem);
  font-weight: 800;
  line-height: 0.95;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: -2px;
  filter: drop-shadow(0 10px 25px rgba(198, 163, 120, 0.25));
}

.error-404-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-accent);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.error-404-box h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.22;
}

.error-404-box p {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 36px;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .page-404-wrapper {
    padding: 70px 16px 60px 16px;
    min-height: 65vh;
  }

  .error-404-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .error-404-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

