/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: #3a2e2e; background: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== VARIABLES ===== */
:root {
  --rose: #e8b4b8;
  --rose-dark: #c9848a;
  --gold: #c9a96e;
  --cream: #fdf8f4;
  --dark: #3a2e2e;
  --text: #5a4a4a;
}

html, body {
  overflow-x: hidden; /* elimină scroll lateral general */
}

.container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid #f0e8e0;
  backdrop-filter: blur(8px);
}
.nav-container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--rose);
  letter-spacing: 0.02em;
}
.nav-links {
  list-style: none; display: flex; gap: 32px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--cream);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.nav-links a:hover, .nav-links a.active { color: var(--rose-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: url('https://lrggyvioreorxttbasgi.supabase.co/storage/v1/object/public/app-assets/9213/images/1771954905775-wedding-hero') center/cover no-repeat;
  padding-top: 68px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(58,46,46,0.55) 0%, rgba(200,130,140,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
  max-width: 700px; padding: 40px 24px;
}
.hero-eyebrow {
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 16px;
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic; margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}
.hero-text {
  font-size: 1rem; line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.04em;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #b8924f; transform: translateY(-2px); }
.btn-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-light:hover { background: rgba(255,255,255,0.15); }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-light { background: var(--cream); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.label {
  display: inline-block;
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--rose-dark); font-weight: 500;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; line-height: 1.2;
  color: var(--dark); margin-bottom: 24px;
}

/* ===== ABOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img img { border-radius: 12px; width: 100%; height: 480px; object-fit: cover; }
.about-text p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: #fff; border: 1px solid #f0e0e4;
  border-radius: 12px; padding: 28px 24px;
  font-size: 1rem; color: var(--text);
  line-height: 1.5;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(200,130,140,0.15); transform: translateY(-3px); }

/* ===== WHY ME ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 40px;
}
.why-card {
  text-align: center; padding: 32px 20px;
  border-radius: 12px;
  background: var(--cream);
}
.why-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.why-card p { color: var(--text); line-height: 1.6; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #c9848a 0%, #c9a96e 100%);
  padding: 80px 0; color: #fff;
}
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 32px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin-top: 24px; }
.contact-list li { margin-bottom: 16px; font-size: 1rem; color: var(--text); }
.contact-list a { color: var(--rose-dark); }
.contact-list a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid #e8d8dc;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--rose-dark); }
.form-success {
  display: none; color: var(--rose-dark);
  font-size: 0.95rem; text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 40px 0; text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--rose);
  margin-bottom: 8px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 24px 60px;
  text-align: center;
  background: var(--cream);
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--dark); margin-bottom: 12px;
}
.page-header p { color: var(--text); font-size: 1.05rem; }

/* ===== CAROUSEL ===== */
.carousel {
  position: relative; overflow: hidden;
  border-radius: 16px;
  max-width: 900px; margin: 0 auto;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide { min-width: 100%; }
.carousel-slide img { width: 100%; height: 520px; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none; border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.2rem; cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.carousel-btn:hover { background: #fff; }
.prev { left: 16px; }
.next { right: 16px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e0d0d4; cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: var(--rose-dark); }

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 40px;
}
.gallery-grid img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark); padding: 20px 24px;
    border-bottom: 1px solid #f0e8e0;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--cream); }
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .about-img img { height: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .carousel-slide img { height: 280px; }
  .faq { grid-template-columns: 1fr; }

  .two-col,
  .services-grid,
  .why-grid,
  .faq,
  .gallery-grid {
    grid-template-columns: 1fr !important; /* o coloană pe mobil */
    gap: 24px; /* mai aerisit */
  }
}


/* ===== REVIEW SLIDES ===== */
.review-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: 48px 40px;
  background: #fff;
  border: 1px solid #f0e0e4;
  border-radius: 16px;
}

.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
}

.review-name {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-dark);
}


/* ===== FAQ ===== */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid #f0e0e4;
  border-radius: 16px;
  padding: 28px 32px;
  transition: box-shadow 0.2s, transform 0.15s;
}

.faq-item:hover {
  box-shadow: 0 12px 28px rgba(200,130,140,0.15);
  transform: translateY(-2px);
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-answer {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

/* Ascuns inițial */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px); /* elementul vine de jos */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Când elementul intră în viewport */
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left { transform: translateX(-30px); }
.scroll-reveal-right { transform: translateX(30px); }
.scroll-reveal-scale { transform: scale(0.9); }


/*SERVICII*/

/* ===== PLANS PREVIEW ===== */
.plans-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.plan-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(200,130,140,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(200,130,140,0.2);
}

.plan-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.plan-card p {
  color: var(--text);
  margin-bottom: 20px;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.plan-card li {
  margin-bottom: 10px;
  color: var(--text);
}

.btn-light-dark {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-light-dark:hover {
  background: var(--gold);
  color: #fff;
}

@media (max-width: 768px) {
  .plans-preview {
    grid-template-columns: 1fr;
  }
}


/* ===== PLANS PAGE ===== */

.plan-tabs {
  display: inline-flex;
  background: #fff;
  padding: 6px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(200,130,140,0.15);
  margin-bottom: 50px;
}

.tab {
  padding: 12px 30px;
  border-radius: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: all 0.3s ease;
}

.tab.active {
  background: linear-gradient(135deg, var(--rose-dark), var(--gold));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.plan-details {
  display: flex;
  justify-content: center;
  position: relative;
}

.plan-content {
  max-width: 720px;
  background: #fff;
  border-radius: 24px;
  padding: 60px 56px;
  box-shadow: 0 12px 40px rgba(200,130,140,0.15);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  position: absolute;
}

.plan-content.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.plan-content h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.plan-content p {
  font-style: italic;
  color: var(--rose-dark);
  margin-bottom: 30px;
}

.plan-content ul {
  list-style: none;
  margin-top: 24px;
}

.plan-content li {
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid #f0e0e4;
}
.plan-content li:last-child {
  border-bottom: none;
}