/* ============================================================
   MOS GARAGE — Global Custom Styles v2
   Tasarım: Dark Luxury | Altın Vurgu | Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Root Variables ────────────────────────────────────────── */
:root {
  --gold: #D4AF37;
  --gold-light: #e8cc5c;
  --gold-dark: #a88a1e;
  --red: #E60000;
  --bg-deep: #0a0a0a;
  --bg-dark: #111111;
  --bg-card: #171717;
  --bg-card-hover: #1e1e1e;
  --text-primary: #f0f0f0;
  --text-secondary: #9a9a9a;
  --text-muted: #555555;
  --border: rgba(212, 175, 55, 0.15);
  --border-hover: rgba(212, 175, 55, 0.5);
  --glass: rgba(23, 23, 23, 0.75);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
  --shadow-gold-hover: 0 0 50px rgba(212, 175, 55, 0.3);
}

/* ── Base Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Prevent ALL image dragging globally */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
  user-select: none;
}
/* Re-enable pointer events for clickable images */
a img, .gallery-item img, .service-img img { pointer-events: none; }

/* ── Custom Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Selection ─────────────────────────────────────────────── */
::selection { background: rgba(212,175,55,0.25); color: #fff; }

/* ── Grain Overlay ─────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
}

.gold-underline { position: relative; display: inline-block; }
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: var(--transition);
}
#navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo span { color: var(--gold); }
/* Logo image — navbar */
.nav-logo img {
  width: 300px;
  height: 40px;
  object-fit: contain;
  display: block;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .nav-logo img { width: 220px; height: 30px; }
}
@media (max-width: 480px) {
  .nav-logo img { width: 160px; height: 24px; }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(212,175,55,0.06);
  padding-left: 1.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Garanti button */
.btn-garanti {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-garanti:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .sub-link {
  padding-left: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-slider-wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Each slide sits relative when active, absolute when not */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap iframe,
.hero-video-wrap > div > iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* YouTube IFrame API container div */
.hero-video-wrap > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.85) 100%);
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.hero-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 50%, rgba(10,10,10,0.85) 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1rem;
  color: rgba(240,240,240,0.65);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Slide nav dots */
.hero-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 20;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
}

/* Stagger Animation */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.stagger-item.visible { opacity: 1; transform: translateY(0); }
.hero-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* ── Section Base ──────────────────────────────────────────── */
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-card); }
.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.25rem 0 1.75rem;
}

/* ── Benefit Cards ─────────────────────────────────────────── */
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.benefit-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-gold-hover); }
.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.1);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.benefit-card:hover .benefit-icon { background: rgba(212,175,55,0.2); }

/* ── Timeline ──────────────────────────────────────────────── */
.timeline-step { position: relative; padding-left: 3.5rem; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: 1.1rem; top: 2.5rem; bottom: -1.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
}
.timeline-step:last-child::before { display: none; }
.timeline-num {
  position: absolute;
  left: 0; top: 0;
  width: 2.2rem; height: 2.2rem;
  background: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Service Cards ─────────────────────────────────────────── */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-8px); box-shadow: var(--shadow-gold-hover); }
.service-card.featured { border-color: var(--gold); }
.service-card.featured::before {
  content: 'EN POPULER';
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--gold);
  color: #000;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  z-index: 1;
}
.service-img { position: relative; height: 220px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: brightness(0.75); }
.service-card:hover .service-img img { transform: scale(1.05); filter: brightness(0.6); }
.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.9), transparent 60%);
}
.service-body { padding: 1.75rem; }
.service-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Before/After Slider ───────────────────────────────────── */
.ba-slider {
  position: relative;
  user-select: none;
  overflow: hidden;
  border-radius: 16px;
  cursor: ew-resize;
  border: 1px solid var(--border);
}
/* All images inside slider: no drag */
.ba-slider img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -moz-user-drag: none !important;
  user-drag: none !important;
  cursor: inherit;
}

.ba-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}
.ba-before-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: var(--gold);
  z-index: 10;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  box-shadow: 0 0 30px rgba(212,175,55,0.6);
  cursor: ew-resize;
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.65);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba-label.left { left: 1rem; color: var(--text-secondary); }
.ba-label.right { right: 1rem; color: var(--gold); }

/* ── Gallery Grid ──────────────────────────────────────────── */
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.gallery-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-gold-hover); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.8) saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.6) saturate(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff; }
.gallery-overlay span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ── Gallery Video Card ────────────────────────────────────── */
.gallery-video-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: #000;
}
.gallery-video-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-gold-hover); }
.gallery-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.45) saturate(0.8);
}
.gallery-video-item:hover .gallery-video-thumb { transform: scale(1.04); filter: brightness(0.25); }

.gallery-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 2;
}
.play-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.gallery-video-item:hover .play-circle {
  background: var(--gold);
  transform: scale(1.15);
  box-shadow: 0 0 40px rgba(212,175,55,0.6);
}
.gallery-video-item:hover .play-circle svg { stroke: #000 !important; }
.gallery-video-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.gallery-video-item:hover .gallery-video-label { color: var(--gold); }

.gallery-video-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  z-index: 2;
}
.gallery-video-info h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.15rem; }
.gallery-video-info span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ── Video Modal ───────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 3.5rem 1.5rem 1.5rem;
}
.video-modal.active { opacity: 1; visibility: visible; }
.video-modal-inner {
  /* Portrait / Instagram format: 9:16 */
  height: min(85vh, 780px);
  width: calc(min(85vh, 780px) * 9 / 16);
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  background: #000;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}
.video-modal-inner #video-modal-frame {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.video-modal-inner iframe,
.video-modal-inner video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: -48px; right: 0;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.2s;
  z-index: 10;
}
.video-modal-close:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  pointer-events: all; /* lightbox img needs hover/click */
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(212,175,55,0.2); border-color: var(--gold); }

/* ── Testimonial Carousel ──────────────────────────────────── */
.testimonial-carousel-wrap { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  transition: border-color var(--transition);
}
@media (max-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); min-width: calc(50% - 0.75rem); }
}
@media (max-width: 640px) {
  .testimonial-card { flex: 0 0 100%; min-width: 100%; }
}
.testimonial-card:hover { border-color: var(--border-hover); }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testimonial-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; font-style: italic; margin: 1rem 0; }
.testimonial-author { font-weight: 600; font-size: 0.9rem; }
.testimonial-meta { font-size: 0.75rem; color: var(--text-muted); }

.carousel-nav { display: flex; gap: 0.75rem; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.08); }

.carousel-dots { display: flex; gap: 0.5rem; margin-top: 1.5rem; justify-content: center; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.carousel-dot.active { background: var(--gold); width: 20px; border-radius: 3px; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ── Contact Form ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  transition: all 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  background: rgba(212,175,55,0.04);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 140px; }
select.form-input { cursor: pointer; }
select.form-input option { background: var(--bg-card); }

/* ── WA Button ─────────────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 5000;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 30px; height: 30px; pointer-events: none; }
.wa-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── Google Maps ───────────────────────────────────────────── */
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: #080808; border-top: 1px solid var(--border); }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); display: inline-block; }
.footer-logo span { color: var(--gold); }
/* Logo image — footer */
.footer-logo img {
  width: 240px;
  height: 60px;
  object-fit: contain;
  display: block;
  max-width: 100%;
}
@media (max-width: 768px) {
  .footer-logo img { width: 180px; height: 46px; }
}
.footer-link { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; display: block; margin-bottom: 0.6rem; }
.footer-link:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 2rem 0 1.5rem; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover { background: rgba(212,175,55,0.1); border-color: var(--border-hover); color: var(--gold); }
.footer-social a svg { pointer-events: none; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.05) 0%, transparent 60%);
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Utility ─────────────────────────────────────────────────── */
.gold { color: var(--gold); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #navbar .desktop-menu { display: none !important; }
  #navbar .btn-primary.desktop-btn { display: none !important; }
  #navbar .btn-outline.desktop-btn { display: none !important; }
  #navbar .btn-garanti.desktop-btn { display: none !important; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
}
@media (max-width: 640px) {
  #navbar { padding: 1rem 1.25rem; }
  .wa-btn { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* ── Garanti Modal ─────────────────────────────────────────── */
.garanti-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.garanti-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.garanti-modal-content {
  background: var(--bg-card, #171717);
  border: 1px solid var(--gold, #D4AF37);
  border-radius: 14px;
  width: 90%;
  max-width: 800px;
  height: 85vh;
  position: relative;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.garanti-modal-overlay.active .garanti-modal-content {
  transform: translateY(0);
}
.garanti-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: var(--gold, #D4AF37);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}
.garanti-modal-close:hover {
  transform: scale(1.1);
}
.garanti-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
  background: #fff;
}


/* Gallery Img Fix */
.gallery-item img { object-fit: cover !important; object-position: center !important; }

/* Video Modal Object Fit */
#video-modal-frame video { object-fit: contain !important; height: 100% !important; border-radius: 12px; overflow: hidden; }
