/* ==========================================================================
   RENOLEX — Master Architectural Design System
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #0a0a0c;
  --bg-card: #131318;
  --bg-card-hover: #1c1c24;
  --bg-glass: rgba(18, 18, 24, 0.75);
  --bg-light-section: #111116;

  --accent-gold: #d4af37;
  --accent-gold-light: #f5e49b;
  --accent-gold-dark: #996515;
  --gold-gradient: linear-gradient(135deg, #f5e49b 0%, #d4af37 50%, #996515 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);

  --text-main: #f4f4f6;
  --text-muted: #9e9ea0;
  --text-gold: #e5c358;

  --border-glass: rgba(212, 175, 55, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.2);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 70%),
              var(--bg-dark);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #252530;
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 20px 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d0d10;
  box-shadow: var(--shadow-gold);

  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* Header & Navigation */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}
.topbar.scrolled {
  padding: 12px 5%;
  background: rgba(10, 10, 12, 0.92);
  border-bottom-color: var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  transition: var(--transition-fast);
}
.brand img:hover {
  transform: scale(1.04);
}
.topbar.scrolled .brand img {
  height: 64px;
}
.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}
.nav a:hover, .nav a.active {
  color: var(--accent-gold-light);
}
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px;
}
.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}
.lang-btn.active {
  background: var(--accent-gold);
  color: #0a0a0c;
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 8px;
}

/* Hero Section */
.hero {
  padding: 160px 5% 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-top: 8px;
}
.hero h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin: 32px 0 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

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

.hero-photo {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-photo .before-after-slider {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  pointer-events: none;
}
.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0c;
  font-weight: bold;
  font-size: 1.2rem;
}
.badge-text span {
  display: block;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}
.badge-text small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Projects Section */
.projects {
  padding: 100px 5%;
  background: var(--bg-light-section);
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}
.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}
.filter:hover, .filter.active {
  color: #0a0a0c;
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 280px;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: var(--bg-card);
}
.project-card.hide {
  display: none;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}
.project-card:hover img {
  transform: scale(1.08);
}
.project-card:hover .overlay {
  opacity: 1;
}

.overlay span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}
.overlay small {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Why Choose Us Section */
.why {
  padding: 120px 5%;
  position: relative;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.benefit {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold-gradient);
  transition: height 0.4s ease;
}
.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
}
.benefit:hover::before {
  height: 100%;
}

.benefit .icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.benefit h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;

}
.benefit p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Estimator Interactive Section */
.estimator {
  padding: 100px 5%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 80%),
              var(--bg-light-section);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.estimator-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-group select, .form-group input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
.form-group select:focus, .form-group input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.estimator-result {
  background: rgba(10, 10, 12, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.estimator-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 16px 0 8px;
}
.estimator-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact {
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-dark);
}

.contact-brand img {
  height: 120px;
  max-height: 120px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.8));
}
.contact-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  transition: var(--transition-fast);
}
.contact-info a:hover {
  color: var(--accent-gold);
}
.contact-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Lightbox Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.modal.active {
  display: flex;
}
.modal-content {
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.8);
  color: var(--text-main);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
}

/* Footer */
footer {
  padding: 32px 5%;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #070709;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }
  .hero-photo img {
    height: 400px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 75px;
    left: 5%;
    right: 5%;
    flex-direction: column;
    padding: 24px;
    background: rgba(18, 18, 24, 0.98);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transform: translateY(-150%);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .top-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Lead Generation Evaluation Calculator Styles
   ========================================================================== */

.eval-step {
  animation: fadeIn 0.4s ease forwards;
}

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

.step-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-glass);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  font-size: 0.95rem;
}
.custom-checkbox:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--border-glass);
}
.custom-checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: #0a0a0c;
  font-weight: 900;
  font-size: 0.95rem;
}
.custom-checkbox input[type="checkbox"]:checked ~ span {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.eval-thankyou {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 28px;
}
.thankyou-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.eval-thankyou h3 {
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 6px;
}
.eval-thankyou p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-actions-step {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.eval-success {
  text-align: center;
  padding: 32px 16px;
  animation: fadeIn 0.5s ease forwards;
}
.success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.success-box h2 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.success-sub {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 1.05rem;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Before / After Interactive Slider Styles
   ========================================================================== */

.before-after-card {
  max-width: 520px;
  width: 100%;
  margin: 0 auto 28px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: #08080c;
}

.slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Zooms in and locks focus on the ceiling at the top */
  display: block;
}

.img-before {
  z-index: 1;
}

.img-after {
  z-index: 2;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
}

.img-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Zooms in and locks focus on the ceiling at the top */
}

/* Fully uncropped zoomed-out slider mode for vertical/native photos */
.before-after-slider.contain-slider .slider-image img,
.before-after-slider.contain-slider .img-after img {
  object-fit: contain !important;
  object-position: center !important;
  background: #08080c;
}

.before-after-slider.native-slider .slider-image img,
.before-after-slider.native-slider .img-after img {
  object-fit: cover !important;
  object-position: center !important;
}

.slider-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  z-index: 4;
}

/* ==========================================================================
   Video Showcase Card Styles
   ========================================================================== */

.video-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #08080c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Full uncropped vertical video zoomed out with dark side spaces */
  background: #08080c;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.video-play-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #d4af37, #f3e5ab);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
  color: #0a0a0c;
  font-size: 1.4rem;
  padding-left: 3px;
}

.video-info {
  padding: 16px 20px;
  background: rgba(18, 18, 24, 0.95);
  border-top: 1px solid var(--border-glass);
}

.video-info span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.video-info small {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

.label-after {
  left: 16px;
  background: rgba(212, 175, 55, 0.95);
  color: #0a0a0c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.label-before {
  right: 16px;
  background: rgba(18, 18, 24, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 3px;
  background: var(--accent-gold);
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.9);
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: var(--gold-gradient);
  color: #0a0a0c;
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid #ffffff;
}

.slider-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
}

.before-after-info {
  padding: 20px 24px;
  background: rgba(18, 18, 24, 0.95);
  border-top: 1px solid var(--border-glass);
}
.before-after-info span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}
.before-after-info small {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

@media (max-width: 768px) {
  .before-after-slider {
    height: 380px;
  }
}

