/* 
  DM Detailing - Premium Design System
*/

:root {
  /* Core Colors */
  --color-bg: #050505;
  --color-surface: #111111;
  --color-surface-light: #1a1a1a;

  /* Accents */
  --color-gold: #c5a059;
  --color-gold-hover: #d4af37;
  --color-gold-light: rgba(197, 160, 89, 0.15);
  --color-silver: #e0e0e0;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;

  /* Effects */
  --glass-bg: rgba(17, 17, 17, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(197, 160, 89, 0.3);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);

  /* Layout */
  --container-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-silver);
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.text-gold {
  color: var(--color-gold);
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(to bottom, #d4af37 0%, #aa771c 100%);
  color: #3b2400; /* Deep rich brown instead of black */
  border: 1px solid #8c6218;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #e3bc42 0%, #b8821d 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 6px 15px rgba(212, 175, 55, 0.3);
  color: #1a0f00;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold-light);
  transform: translateY(-3px);
}

.full-width {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: var(--transition-smooth);
}

.navbar.scrolled .logo img {
  height: 35px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a:not(.btn) {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-surface);
  z-index: 1001;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: var(--transition-smooth);
  border-left: 1px solid var(--glass-border);
}

.mobile-menu.active {
  right: 0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.close-menu:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

.mobile-menu a {
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
  overflow: hidden;
}

/* Dynamic Animated Background */
.bg-dynamic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background-color: var(--color-bg);
}

.ambient-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(5, 5, 5, 0) 60%);
  z-index: -1;
  pointer-events: none;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  animation: floatOrb 25s infinite ease-in-out alternate;
  will-change: transform;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.3) 0%, rgba(197, 160, 89, 0) 70%);
  top: -20%;
  left: -10%;
  animation-duration: 30s;
}

.orb-2 {
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(224, 224, 224, 0.15) 0%, rgba(224, 224, 224, 0) 70%);
  bottom: -30%;
  right: -20%;
  animation-duration: 35s;
  animation-delay: -10s;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(197, 160, 89, 0) 70%);
  top: 40%;
  left: 40%;
  animation-duration: 25s;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -80px) scale(1.1);
  }

  66% {
    transform: translate(-40px, 40px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subtitle {
  margin: 1.5rem 0 3.5rem;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
}

.hero-subtitle .d-block {
  display: block;
  margin-bottom: 0.8rem;
}

.hero-subtitle .d-block:last-child {
  margin-bottom: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-large-logo {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Sections General */
section {
  padding: 8rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.title-line {
  height: 3px;
  width: 60px;
  background: var(--color-gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--color-gold);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(197, 160, 89, 0.3), inset 0 0 20px rgba(197, 160, 89, 0.05);
  z-index: 10;
}

.pricing-card.popular:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(197, 160, 89, 0.4), inset 0 0 30px rgba(197, 160, 89, 0.1);
}

.popular-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-gold) 0%, #ffe46a 100%);
  color: #000;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  animation: pulse-gold 2s infinite alternate;
}

.popular-badge i {
  color: #fff;
  font-size: 1rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

@keyframes pulse-gold {
  0% { transform: translateX(-50%) scale(1); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.5); }
  100% { transform: translateX(-50%) scale(1.05); box-shadow: 0 8px 25px rgba(197, 160, 89, 0.8); }
}

.package-name {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.package-name::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--color-gold);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.pricing-features i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.price-tag {
  background: linear-gradient(135deg, var(--color-gold) 0%, #fdf5a9 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding: 0.5rem 0;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  border: none;
  display: inline-block;
}

.price-tag span {
  font-size: 1rem;
  font-weight: 500;
  margin-right: 0.2rem;
}

.package-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-card {
  padding: 3rem 2rem;
  text-align: center;
}

.icon-box {
  width: 80px;
  height: 80px;
  background: var(--color-surface-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--color-gold);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.about-card:hover .icon-box {
  background: var(--color-gold-light);
  transform: scale(1.1);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
  background: var(--color-surface);
  position: relative;
  z-index: 2;
  /* Cover scaled image */
  display: flex;
  flex-direction: column;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.service-price {
  margin-top: auto;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(135deg, var(--color-gold) 0%, #fdf5a9 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.service-price .price-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-features i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem;
}

.contact-methods {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
}

.contact-method:hover {
  background: var(--color-surface-light);
  border-color: var(--glass-border);
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.2rem;
}

.contact-method .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.contact-method .value {
  font-weight: 500;
  font-size: 1.1rem;
}

/* Forms */
.contact-form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

input,
textarea {
  width: 100%;
  padding: 1.2rem;
  background: var(--color-surface-light);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-surface);
}

/* Footer */
footer {
  background: var(--color-surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 40px;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition-smooth);
}

.footer-logo img:hover {
  filter: grayscale(0%) opacity(1);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: #666;
  font-size: 0.9rem;
}

/* Animations & Responsive */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-text p {
    margin: 1rem auto 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: -1.5rem;
  }

  .hero-large-logo {
    max-width: 320px;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  .section-title {
    margin-bottom: 2.5rem;
  }
  .container {
    padding: 0 1.2rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .comparison-slider {
    height: 350px;
  }
  .service-content {
    padding: 1.5rem;
  }
  .about-card {
    padding: 2rem 1.5rem;
  }
  .services {
    margin-top: 4rem;
  }
}

/* Results Showcase Layout - Removed old grid */

.showcase-header {
  margin-bottom: 2rem;
}

.showcase-header h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.showcase-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.text-right-desktop {
  text-align: right;
}

.showcase-column {
  display: flex;
  flex-direction: column;
}

/* Comparison Slider */
.slider-container {
  width: 100%;
  padding: 1rem;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* Perfect for vertical mobile photos */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.image-after,
.image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.image-before {
  clip-path: inset(0 15% 0 0);
  z-index: 1;
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  z-index: 3;
  cursor: ew-resize;
  margin: 0;
  opacity: 0;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 85%;
  width: 3px;
  height: 100%;
  background: var(--color-gold);
  z-index: 2;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 100vh;
  background: transparent;
  cursor: ew-resize;
}

.slider-input::-moz-range-thumb {
  width: 50px;
  height: 100vh;
  background: transparent;
  cursor: ew-resize;
  border: none;
}


.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(17, 17, 17, 0.8);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-gold);
  font-size: 16px;
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slider-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(5, 5, 5, 0.7);
  color: #fff;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* Video Gallery */
.video-grid-new {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-grow: 1;
  justify-content: center;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-premium);
}

.video-card video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  background: #000;
  outline: none;
}

/* Ensure vertical videos aren't cropped when in fullscreen mode */
.video-card video:fullscreen {
  object-fit: contain;
}
.video-card video:-webkit-full-screen {
  object-fit: contain;
}
.video-card video:-moz-full-screen {
  object-fit: contain;
}

.custom-play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.custom-play-overlay:hover .play-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.6);
}

.play-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.7);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.8rem;
  padding-left: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.custom-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .results-showcase {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .showcase-header {
    text-align: center;
  }
  .video-grid-new {
    flex-direction: row;
  }
  .slider-container {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .video-grid-new {
    flex-direction: column;
  }
}
/* Marquee Ticker Section */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.7);
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}

.marquee-group span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.marquee-group i {
  font-size: 0.8rem;
  opacity: 0.7;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    padding-top: 80px;
    padding-bottom: 20px;
    overflow: visible;
  }
  .hero-large-logo {
    max-width: 260px;
    max-height: 25vh;
    object-fit: contain;
    margin-top: 1rem;
  }
  .hero-text h1 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin: 0.8rem 0 1.2rem;
    line-height: 1.4;
  }
  .hero-subtitle .d-block {
    margin-bottom: 0.4rem;
  }
  .hero-image-wrapper {
    margin-bottom: 5rem; /* space for ticker */
  }
  .marquee-container {
    padding: 0.8rem 0;
    bottom: -60px;
  }
  #pricing {
    padding-top: 12rem;
  }
}

/* Form Success Animation */
.success-msg-container {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    opacity: 0;
}

.success-msg-container.active {
    display: block;
    animation: successFadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon-anim {
    color: var(--color-gold);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.success-msg-container.active .success-icon-anim {
    animation: checkmarkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.3s;
}

@keyframes checkmarkPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.success-title {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.success-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Premium Hero Wow Animations */
.hero-title-anim {
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: textReveal 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}
.glow-text {
    background: linear-gradient(45deg, var(--color-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
    animation: goldPulse 3s infinite alternate;
}
@keyframes textReveal {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes goldPulse {
    0% { text-shadow: 0 0 15px rgba(197, 160, 89, 0.2); }
    100% { text-shadow: 0 0 35px rgba(197, 160, 89, 0.8); }
}
.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}
.stagger-1 { animation-delay: 0.3s; }
.stagger-2 { animation-delay: 0.5s; }
.stagger-3 { animation-delay: 0.7s; }
@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-large-logo {
    animation: floatPremium 6s ease-in-out infinite;
    transform-origin: center;
}
@keyframes floatPremium {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
    50% { transform: translateY(-15px) scale(1.02); filter: drop-shadow(0 25px 35px rgba(197,160,89,0.25)); }
    100% { transform: translateY(0) scale(1); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
}

.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg) translate(-100%, -100%);
    animation: shineEffect 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes shineEffect {
    0% { transform: rotate(30deg) translate(-100%, -100%); }
    20% { transform: rotate(30deg) translate(50%, 50%); }
    100% { transform: rotate(30deg) translate(50%, 50%); }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-modal img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}
.lightbox-close:hover {
    color: var(--color-gold);
}

/* Swiper Carousel Styles */
.swiper {
  width: 100%;
  padding: 2rem 0 4rem 0 !important; /* Space for pagination */
}

.swiper-slide {
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 768px) {
  .swiper-slide {
    width: 320px !important; /* Force width for pleasant UX */
    max-width: 80vw;
  }
}

/* Swiper Controls Theme */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-gold) !important;
  background: rgba(0, 0, 0, 0.5);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--color-gold);
  color: #000 !important;
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem !important;
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.5 !important;
  width: 10px !important;
  height: 10px !important;
  transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  background: var(--color-gold) !important;
  opacity: 1 !important;
  transform: scale(1.3);
}

.photo-card,
.video-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  width: 100%;
  aspect-ratio: 4 / 5;
}

.photo-card img,
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card video {
  cursor: pointer;
}
