/* ============================================
   MarryUs — Wedding Officiant Website
   Color Palette:
   - Gold:       #C9983A / #D4A84B / #F2D17C
   - Dusty Rose: #D4839A / #E8A0B4 / #F4C2D0
   - Cream:      #FFFAF5 / #FFF7EF
   - Charcoal:   #2C2C2C
   - Dark BG:    #1C1C1C
   ============================================ */

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: #2C2C2C;
  background-color: #FFFAF5;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
}

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #D4A84B;
  margin-bottom: 1rem;
}

.section-label.center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #2C2C2C;
  margin-bottom: 1.5rem;
}

.section-title.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Force a heading onto a single line (released on narrow screens) */
.section-title.one-line {
  white-space: nowrap;
  max-width: none;
}

.section-title.center.one-line {
  width: max-content;
  max-width: 100%;
}

.book-content .section-title.book-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 620px;
  line-height: 1.8;
}

.section-subtitle.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #D4A84B, #C9983A);
  color: #fff;
  box-shadow: 0 4px 15px rgba(201, 152, 58, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #C9983A, #B8872F);
  box-shadow: 0 6px 25px rgba(201, 152, 58, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ==================== ANIMATIONS ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.6rem 0;
  background: #fffaf6;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: #fffaf6;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.4rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #C9983A;
  transition: font-size 0.4s ease;
}

.nav-logo-text em {
  font-style: italic;
  color: #D4839A;
}

.navbar.scrolled .nav-logo-text {
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2C2C2C;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D4A84B;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #C9983A;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, #D4A84B, #C9983A);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #C9983A, #B8872F);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2C2C2C;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1C1C1C;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 168, 75, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(212, 131, 154, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 13rem 0 4rem;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4A84B;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title em {
  font-style: italic;
  color: #E8A0B4;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  max-width: 440px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-service-area {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* Hero Image */
.hero-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.hero-logo-frame {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== ABOUT ==================== */
.about {
  padding: 7rem 0;
  background: #FFFAF5;
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image-col {
  position: sticky;
  top: 120px;
}

.about-image-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(44, 44, 44, 0.18);
  aspect-ratio: 4 / 5;
}

.about-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: 12px;
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.about-image-name {
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #2C2C2C;
  letter-spacing: 0.06em;
  text-align: center;
}

.decorative-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #D4A84B, #E8A0B4);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about-highlight {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem !important;
  font-style: italic;
  color: #2C2C2C !important;
  border-left: 3px solid #D4A84B;
  padding-left: 1.5rem;
  margin: 2rem 0 !important;
}

/* ==================== SERVICES ==================== */
.services {
  padding: 7rem 0;
  background: #FFF7EF;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(212, 168, 75, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  color: #D4A84B;
  margin-bottom: 1.5rem;
}

.service-card-title {
  font-size: 1.5rem;
  color: #2C2C2C;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-card-pricing {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.price-row:last-child {
  border-bottom: none;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2C2C2C;
}

/* Included Features */
.included-features {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid rgba(212, 168, 75, 0.1);
}

.included-title {
  font-size: 1.1rem;
  text-align: center;
  color: #2C2C2C;
  margin-bottom: 2rem;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.included-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #D4A84B;
  margin-top: 2px;
}

.included-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.included-note {
  font-size: 0.8rem;
  color: #999;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
  padding: 7rem 0;
  background: #1C1C1C;
  color: #fff;
}

.how-it-works .section-label {
  color: #D4A84B;
}

.how-it-works .section-title {
  color: #fff;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 3rem 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212, 168, 75, 0.2);
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.step-connector {
  width: 60px;
  flex-shrink: 0;
  color: rgba(212, 168, 75, 0.3);
  padding-top: 3rem;
}

.steps-cta {
  text-align: center;
  margin-top: 1rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  padding: 7rem 0;
  background: #FFFAF5;
}

.testimonials-grid {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-card {
  text-align: center;
  padding: 3rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 75, 0.1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #D4A84B;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

/* ==================== BOOK NOW ==================== */
.book-section {
  padding: 7rem 0;
  background: #FFF7EF;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.book-content .section-title {
  margin-bottom: 1rem;
}

.book-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.book-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.book-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #555;
}

.book-detail-item svg {
  width: 20px;
  height: 20px;
  color: #D4A84B;
  flex-shrink: 0;
}

.book-contact {
  font-size: 0.9rem !important;
  color: #999 !important;
}

.book-contact a {
  color: #D4A84B;
  font-weight: 400;
}

.book-contact a:hover {
  color: #C9983A;
  text-decoration: underline;
}

/* Cal.com Placeholder */
.cal-placeholder {
  background: #fff;
  border-radius: 12px;
  border: 2px dashed rgba(212, 168, 75, 0.25);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-placeholder-inner {
  text-align: center;
  padding: 2rem;
}

.cal-placeholder-icon {
  width: 48px;
  height: 48px;
  color: #D4A84B;
  margin: 0 auto 1.5rem;
}

.cal-placeholder-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #2C2C2C;
  margin-bottom: 0.5rem;
}

.cal-placeholder-text {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #1C1C1C;
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 45px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4A84B;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #D4A84B;
}

.footer-contact a:hover {
  color: #F2D17C;
}

.footer-area {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-logo-frame {
    width: 460px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-col {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fffaf6;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    padding: 7rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-logo-frame {
    width: 360px;
  }

  /* Allow forced one-line headings to wrap on small screens */
  .section-title.one-line,
  .section-title.center.one-line {
    white-space: normal;
    width: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

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

  .btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.8rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
