@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Work+Sans:wght@300;400;500;600&display=swap");

:root {
  --navy: #0f2a3a;
  --navy-dark: #0a1c27;
  --gold: #c7a164;
  --sand: #f3ede3;
  --mist: #f7f5f1;
  --slate: #3b4c59;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--navy-dark);
  background: var(--mist);
}

body.no-scroll {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  color: var(--navy-dark);
}

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

.container {
  max-width: 1200px;
}

.site-header {
  background: rgba(15, 42, 58, 0.95);
  position: sticky;
  top: 0;
  z-index: 1020;
  backdrop-filter: blur(8px);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: "Playfair Display", serif;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  margin-left: 1rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--white);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--white);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.35rem 0.45rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  border-color: rgba(199, 161, 100, 0.9);
  background: rgba(199, 161, 100, 0.18);
}

.lang-btn img {
  display: block;
  width: 26px;
  height: 18px;
  border-radius: 3px;
}

.hero {
  position: relative;
}

.hero-carousel .carousel-item {
  min-height: 100vh;
}

.hero-carousel .carousel-inner {
  position: relative;
  min-height: 100vh;
}

/* React-driven carousel: keep all slides in the DOM and fade them ourselves (no Bootstrap JS required). */
.hero-carousel .carousel-item {
  display: block !important;
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
}

.hero-carousel .carousel-item.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--slide-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform, opacity;
}

/* No dark overlay: keep photos bright from the first frame. */
.hero-slide::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem 0;
  max-width: 620px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Keep text readable without dimming the whole image. */
.hero-content {
  /* Move the hero copy block to the left + make it more transparent. */
  margin-left: clamp(1rem, 5vw, 5rem) !important;
  margin-right: auto !important;
  /* Fully transparent hero panel. */
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 18px;
  padding: 2.25rem;
}

/* Aubuchon-style "zoom-move" animation on the background layer. */
.carousel-item.active .hero-slide::before {
  animation: zoom-move 15s linear infinite;
}

@keyframes zoom-move {
  0% {
    transform: scale(1.3);
    transform-origin: 50% 50%;
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    transform-origin: 50% 50%;
    opacity: 1;
  }
}

.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--mist);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  margin-bottom: 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-split {
  background: var(--sand);
}

.split-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 42, 58, 0.15);
}

.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 42, 58, 0.12);
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--navy);
}

.stat-label {
  color: var(--slate);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 42, 58, 0.12);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-step {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step span {
  display: inline-block;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 42, 58, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-open {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-open:focus-visible {
  outline: 3px solid rgba(199, 161, 100, 0.6);
  outline-offset: 2px;
}

.gallery-info {
  padding: 1.2rem 1.5rem 1.6rem;
}

.gallery-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.gallery-info p {
  margin: 0;
  color: var(--slate);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 39, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 42, 58, 0.55);
  color: rgba(255, 255, 255, 0.92);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  user-select: none;
}

.nav-btn:hover {
  background: rgba(15, 42, 58, 0.8);
}

.nav-btn.prev {
  left: 14px;
}

.nav-btn.next {
  right: 14px;
}

.nav-btn.close {
  top: 14px;
  left: 14px;
  transform: none;
  width: auto;
  padding: 0 0.9rem;
  font-size: 0.9rem;
  height: 40px;
}

@media (max-width: 640px) {
  .nav-btn.prev,
  .nav-btn.next {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .nav-btn.prev {
    left: 14px;
  }

  .nav-btn.next {
    right: 14px;
  }

  .lightbox-inner {
    padding: 1rem;
  }
}

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

.cta-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.cta-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 42, 58, 0.12);
  text-align: left;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 1rem;
}

.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid rgba(15, 42, 58, 0.12);
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.15rem rgba(199, 161, 100, 0.25);
}

.contact-form textarea.form-control {
  resize: vertical;
}

.cta-note {
  margin-top: 1rem;
  color: var(--slate);
}

.contact-details {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(15, 42, 58, 0.9);
}

.contact-details a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(199, 161, 100, 0.75);
  text-underline-offset: 3px;
}

.map-embed {
  position: relative;
  margin-top: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 42, 58, 0.12);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* Make map click open full Google Maps (per request). */
.map-embed .map-click {
  position: absolute;
  inset: 0;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: #d3b275;
  border-color: #d3b275;
  color: var(--navy-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline-dark {
  border-color: var(--navy-dark);
  color: var(--navy-dark);
}

.text-link {
  color: var(--navy);
  font-weight: 600;
}

.page-hero {
  /* Full clarity header image (no overlay gradient). */
  background: url("/images/hero/hero-2.png");
  background-size: cover;
  background-position: center;
  padding: 6rem 0 4rem;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-brand {
  font-family: "Playfair Display", serif;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-title {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(199, 161, 100, 0.55);
  border-radius: 999px;
  color: var(--white);
  background: rgba(199, 161, 100, 0.12);
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: var(--white);
  background: rgba(199, 161, 100, 0.22);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  .lang-toggle {
    margin-left: 0;
    padding: 0.75rem 0 0.25rem;
  }

  .navbar-collapse {
    background: rgba(15, 42, 58, 0.98);
    padding: 1rem 1.5rem;
    border-radius: 12px;
  }

  .hero-carousel .carousel-item,
  .hero-slide {
    min-height: 70vh;
  }

  .hero-content {
    /* On mobile: keep it readable and avoid edge-to-edge. */
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    background: transparent;
    backdrop-filter: none;
    border: none;
  }
}
