:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  background: #fffaf5;
  color: #1f2a25;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

::selection {
  background: #c8a76a;
  color: #11372f;
}

#site-header.scrolled {
  background: rgba(255, 250, 245, 0.9);
  box-shadow: 0 12px 40px rgba(17, 55, 47, 0.08);
  backdrop-filter: blur(18px);
}

#site-header.scrolled nav > a,
#site-header.scrolled #menu-toggle {
  color: #11372f;
}

#site-header.scrolled #menu-toggle {
  border-color: rgba(17, 55, 47, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

@media (min-width: 1024px) {
  #site-header.scrolled #nav-links {
    color: #11372f;
  }
}

#nav-links.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
  background: rgba(200, 167, 106, 0.18);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c8a76a;
  color: #11372f;
  padding: 0.78rem 1.3rem;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(200, 167, 106, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover,
.btn-primary:hover,
.btn-dark:hover,
.btn-light:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1771099077123-e9795202de0c?auto=format&fit=crop&w=2200&q=88");
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  animation: floralDrift 18s ease-in-out infinite alternate;
}

.construction-bg {
  background-image: url("https://images.unsplash.com/photo-1518709779341-56cf4535e94b?auto=format&fit=crop&w=2200&q=88");
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  animation: constructionBloom 24s ease-in-out infinite alternate;
}

.hero .reveal {
  width: min(48rem, calc(100vw - 2.5rem));
}

@keyframes floralDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.3%, -1%, 0);
  }
}

@keyframes constructionBloom {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
    background-position: center center;
  }
  to {
    transform: scale(1.12) translate3d(-1.2%, 0.8%, 0);
    background-position: 52% 48%;
  }
}

.section-pad {
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #c8a76a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: currentColor;
}

.section-title {
  color: #11372f;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
}

.btn-primary,
.btn-secondary,
.btn-dark,
.btn-light {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  padding: 1rem 1.55rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: #fffaf5;
  color: #11372f;
  box-shadow: 0 18px 45px rgba(255, 250, 245, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: white;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-dark {
  background: #11372f;
  color: white;
  box-shadow: 0 18px 42px rgba(17, 55, 47, 0.2);
}

.btn-light {
  background: rgba(255, 255, 255, 0.82);
  color: #11372f;
  box-shadow: 0 18px 42px rgba(17, 55, 47, 0.1);
}

.quality-card {
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(17, 55, 47, 0.08);
  border-radius: 1.4rem;
  background: white;
  padding: 1.25rem;
  box-shadow: 0 16px 45px rgba(70, 54, 42, 0.08);
}

.quality-card i {
  width: 1.45rem;
  height: 1.45rem;
  color: #c8a76a;
}

.quality-card span {
  color: #11372f;
  font-weight: 800;
}

.image-frame {
  overflow: hidden;
  border-radius: 2.5rem;
  box-shadow: 0 24px 70px rgba(17, 55, 47, 0.14);
}

.image-frame img,
.service-card img,
.wedding-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  display: grid;
  border-radius: 1.5rem;
  background: rgba(255, 250, 245, 0.92);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 24px 70px rgba(17, 55, 47, 0.14);
  backdrop-filter: blur(14px);
}

.service-card {
  overflow: hidden;
  border-radius: 1.6rem;
  background: white;
  box-shadow: 0 16px 45px rgba(70, 54, 42, 0.1);
}

.service-card img {
  aspect-ratio: 16 / 11;
  transition: transform 0.7s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card div {
  padding: 1.45rem;
}

.service-card h3 {
  color: #11372f;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.service-card p {
  margin-top: 0.8rem;
  color: rgba(31, 42, 37, 0.68);
  line-height: 1.7;
}

.service-card a,
.text-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #11372f;
  font-weight: 800;
}

.service-card a::after {
  content: "→";
  color: #c8a76a;
}

.masonry {
  display: grid;
  grid-auto-rows: 12rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 16px 45px rgba(70, 54, 42, 0.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 55, 47, 0.32), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  transition: transform 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .gallery-item.wide {
    grid-column: span 2;
  }
}

.location-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.location-card i {
  width: 1.15rem;
  color: #c8a76a;
}

.wedding-card {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 16px 45px rgba(70, 54, 42, 0.1);
}

.wedding-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 55, 47, 0.66), transparent 65%);
}

.wedding-card img {
  transition: transform 0.8s ease;
}

.wedding-card:hover img {
  transform: scale(1.05);
}

.wedding-card span {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 1;
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.testimonial {
  border-radius: 1.5rem;
  background: white;
  padding: 1.6rem;
  box-shadow: 0 16px 45px rgba(70, 54, 42, 0.1);
}

.stars {
  color: #c8a76a;
  letter-spacing: 0.08em;
}

.testimonial blockquote {
  margin-top: 1rem;
  color: rgba(31, 42, 37, 0.74);
  line-height: 1.7;
}

.testimonial figcaption {
  margin-top: 1.2rem;
  color: #11372f;
  font-weight: 800;
}

.construction-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2rem;
  background: rgba(255, 250, 245, 0.88);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 24px 70px rgba(17, 55, 47, 0.18);
  backdrop-filter: blur(18px);
}

.construction-contact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(17, 55, 47, 0.1);
  padding-bottom: 1rem;
  color: rgba(31, 42, 37, 0.74);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.construction-contact:hover {
  color: #11372f;
  transform: translateX(3px);
}

.construction-contact i {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: #c8a76a;
}

.construction-contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.construction-footer {
  position: fixed;
  inset-inline: 0;
  bottom: 1.5rem;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
}

.construction-footer button {
  border-radius: 999px;
  border: 0;
  background: rgba(255, 250, 245, 0.12);
  color: rgba(255, 255, 255, 0.78);
  padding: 0.7rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.construction-footer button:hover {
  background: rgba(255, 250, 245, 0.2);
  color: white;
}

.construction-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.construction-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.construction-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 55, 47, 0.78);
  backdrop-filter: blur(10px);
}

.construction-modal__dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2rem;
  background: rgba(255, 250, 245, 0.94);
  padding: clamp(1.4rem, 4vw, 2.3rem);
  box-shadow: 0 24px 70px rgba(17, 55, 47, 0.22);
}

.construction-modal__dialog h2 {
  margin: 0.7rem 0 1.6rem;
  color: #11372f;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.construction-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #11372f;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.construction-modal input,
.construction-modal textarea {
  padding: 1.15rem 1.35rem;
}

.construction-hp {
  position: absolute;
  left: -9999px;
}

.construction-form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: #11372f;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(17, 55, 47, 0.1);
  padding-bottom: 1rem;
}

.contact-row i {
  width: 1.2rem;
  flex: 0 0 auto;
  color: #c8a76a;
}

form label {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.05rem;
  color: #11372f;
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 55, 47, 0.12);
  border-radius: 1.1rem;
  background: #fffaf5;
  padding: 1rem 1.05rem;
  color: #1f2a25;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: #c8a76a;
  box-shadow: 0 0 0 4px rgba(200, 167, 106, 0.16);
}

footer a {
  display: block;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

footer a:hover {
  color: #c8a76a;
}

.footer-title {
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.mobile-action {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #11372f;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 16px 45px rgba(17, 55, 47, 0.2);
}

.mobile-action i {
  width: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  #menu-toggle {
    display: grid !important;
    flex: 0 0 auto;
    position: fixed;
    right: 1.25rem;
    top: 1rem;
    z-index: 60;
  }
}

@media (max-width: 640px) {
  .construction-hero .reveal {
    width: min(100%, calc(100vw - 2.5rem));
    max-width: calc(100vw - 2.5rem);
  }

  .construction-hero h1 {
    max-width: 10.5ch;
    font-size: 3rem;
    line-height: 1.02;
  }

  .construction-hero p {
    width: min(100%, calc(100vw - 2.5rem));
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .construction-hero .btn-primary,
  .construction-hero .btn-secondary {
    width: min(100%, 22rem);
    white-space: nowrap;
  }

  .construction-panel {
    width: min(100%, calc(100vw - 2.5rem));
    max-width: calc(100vw - 2.5rem);
    margin-bottom: 4.5rem;
  }

  .hero .reveal {
    max-width: calc(100vw - 2.5rem);
  }

  .hero p {
    max-width: 100%;
  }

  .hero .eyebrow {
    gap: 0.55rem;
    letter-spacing: 0.18em;
  }

  .hero .eyebrow::before {
    width: 2.1rem;
  }

  .hero h1 {
    max-width: 10.5ch;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: min(100%, 22rem);
  }

  .stat-card {
    left: 1rem;
    bottom: 1rem;
  }

  .section-pad {
    padding: 4.3rem 0;
  }

  .wedding-card {
    min-height: 18rem;
  }

  .mobile-action {
    gap: 0.35rem;
    padding: 0 0.65rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .mobile-cta {
    left: 1rem;
    right: auto;
    width: calc(100vw - 2rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
