/* ==========================================
   LP JOINERY – Premium CSS
   Dark Luxury Theme with Gold Accents
   ========================================== */

:root {
  --bg-deep: #0a0a0a;
  --bg-dark: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --gold: #c9a84c;
  --gold-light: #e2c57b;
  --gold-dark: #9a7a2e;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text-primary: #f0ead8;
  --text-secondary: #9a9080;
  --text-muted: #5a5248;
  --border: rgba(201, 168, 76, 0.15);
  --border-strong: rgba(201, 168, 76, 0.35);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 32px rgba(201, 168, 76, 0.2);
  --transition: 0.3s ease;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeInPage 0.5s ease forwards;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #0a0a0a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(201, 168, 76, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION COMMONS ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-subtitle {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

/* Stânga */
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: flex-start;
}
.nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.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(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }

/* Centru – Logo */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
  transition: filter var(--transition);
}
.nav-logo:hover .logo-img {
  filter: brightness(1.2) drop-shadow(0 0 8px var(--gold));
}

/* Dreapta – Social */
.nav-social {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}
.social-link {
  width: 22px; height: 22px;
  color: var(--text-secondary);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-link svg { width: 100%; height: 100%; }
.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/background.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) saturate(0.5);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(201, 168, 76, 0.05);
  backdrop-filter: blur(10px);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--text-primary);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240, 234, 216, 0.75);
  margin-bottom: 48px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInUp 2s ease 1s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ===== DESPRE ===== */
.despre { background: var(--bg-deep); }
.despre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lead-text {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-weight: 300;
}
.despre-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.features-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.feature-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: 0.03em;
}
.feature-item span { font-size: 0.85rem; color: var(--text-secondary); }

.despre-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.logo-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  width: 100%;
}
.brand-logo-lg {
  width: 100%;
  max-width: 340px;
  object-fit: contain;
  filter: brightness(1.05);
}
.logo-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.brand-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: italic;
}
.tagline-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== SERVICII ===== */
.servicii {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.servicii-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.serviciu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.serviciu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.serviciu-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.serviciu-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px;
  color: var(--gold);
  margin-bottom: 20px;
}
.card-icon svg { width: 100%; height: 100%; }
.serviciu-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.serviciu-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-items span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--gold-glow);
}

/* ===== PROCES ===== */
.proces { background: var(--bg-deep); }
.proces-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-content p { color: var(--text-secondary); font-size: 0.95rem; }
.step-connector {
  margin-left: 38px;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-strong), transparent);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.contact-icon {
  width: 40px; height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-card strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 3px;
}
.contact-card a, .contact-card span {
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--gold); }

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 8px;
}
.qr-code {
  width: 140px; height: 140px;
  object-fit: contain;
  border-radius: 8px;
}
.qr-section p {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== FORM ===== */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(184, 134, 11, 0.1);
}
.checkbox-group {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.checkbox-group label {
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 0;
}
.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.5fr;
  gap: 30px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-legal p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-copy {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-copy p { margin-bottom: 4px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold);
  z-index: 9999;
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== LEGAL PAGE ===== */
.legal-page {
  background: var(--bg-deep);
  padding-top: 140px;
  min-height: 100vh;
}
.legal-page .section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 24px;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}
.legal-content h3 {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 32px 0 16px;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul {
  margin-left: 20px;
  margin-bottom: 24px;
}
.legal-content li {
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
.hide-sm { display: inline; }

@media (max-width: 900px) {
  .despre-grid { grid-template-columns: 1fr; gap: 48px; }
  .servicii-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .footer-copy { text-align: center; margin-top: 12px; }
  .footer-links { align-items: center; }
  .footer-badges { justify-content: center !important; }
  .stat-divider { display: none; }
  .stats-container { gap: 32px; }
  .cookie-content { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    min-height: 95px; /* Spatiu suficient pentru logo-ul de 70px + padding */
    position: relative; /* Anchor for centered logo */
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
  }

  .nav-logo .logo-img {
    height: 70px;
  }

  .hamburger {
    display: flex;
    z-index: 1101; /* Above mobile menu if needed, but menu usually covers it */
    background: rgba(10, 10, 10, 0.5);
    padding: 8px;
    border-radius: 4px;
    margin-left: auto; /* Push to far right */
  }

  /* Hamburger to X transition */
  .nav-links.open ~ .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-links.open ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-links.open ~ .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 100%; /* Full screen width */
    height: 100vh;
    background: var(--bg-deep); /* Solid dark background */
    flex-direction: column;
    justify-content: flex-start; /* Start from top */
    align-items: center;
    padding-top: 140px; /* Space for the logo/header area */
    gap: 24px;
    transition: right var(--transition);
    z-index: 1100;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-social {
    display: none;
  }

  .hide-sm {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 24px;
  }

  .section-container {
    padding: 70px 20px;
  }
}

/* Scroll lock utility */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.cookie-modal-overlay.show .cookie-modal {
  transform: translateY(0);
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}
.cookie-modal-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}
.close-modal-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
.close-modal-btn:hover {
  color: var(--gold);
}
.cookie-modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cookie-option:first-child {
  border-top: none;
}
.cookie-option-info h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}
.cookie-option-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255,255,255,0.1);
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--gold);
}
input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #fff;
}
input:disabled + .slider {
  cursor: not-allowed;
  background-color: rgba(255,255,255,0.05);
}
input:disabled:checked + .slider {
  background-color: rgba(184, 134, 11, 0.5);
}
input:disabled + .slider:before {
  background-color: rgba(255,255,255,0.3);
}

.cookie-modal-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: flex-end;
}

/* Stil pentru elementul select în sine */
select#fservice {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
    padding: 16px;
    border-radius: 4px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9a84c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

/* Forțarea fundalului negru pentru lista de opțiuni (dropdown-ul propriu-zis) */
select#fservice option {
    background-color: #161616 !important; /* Culoarea var(--bg-card) */
    color: #f0ead8 !important;            /* Culoarea var(--text-primary) */
}

/* Stil pentru prima opțiune care servește drept placeholder */
select#fservice option[value=""][disabled] {
    display: none;
}
