/* ==========================================
   LUMIVUE MEDIA — Squarespace Faithful Clone
   ========================================== */

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --light-gray: #f2f2f2;
  --gray: #7a7a7a;
  --mid: #444444;
  --border: #e5e5e5;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 70px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================
   NAVBAR
   ========================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  border-bottom: none;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* Nav text white when over video, dark when scrolled */
#navbar .nav-links a {
  color: rgba(255,255,255,0.9);
}

#navbar.scrolled .nav-links a {
  color: var(--mid);
}

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

#navbar.scrolled .nav-links a:hover {
  color: var(--black);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  transition: color var(--transition);
}

.logo-text em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.22em;
}

#navbar.scrolled .logo-text {
  color: var(--black);
}

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

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--black); }

.nav-book {
  background: #fff;
  color: var(--black) !important;
  padding: 0.55rem 1.4rem;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-book:hover {
  background: rgba(255,255,255,0.85) !important;
}

#navbar.scrolled .nav-book {
  background: var(--black);
  color: var(--white) !important;
}

#navbar.scrolled .nav-book:hover {
  background: #333 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: background var(--transition);
}

#navbar.scrolled .hamburger span {
  background: var(--black);
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu.open { display: flex; }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--black);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.04em;
}

/* ==========================================
   HERO VIDEO
   ========================================== */
.section-hero-video {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* No margin-top — nav floats over video */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 2rem;
}

.hero-video-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.2rem;
}

.hero-video-content h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-hero-video .btn-book {
  background: #fff;
  color: var(--black);
  font-size: 0.72rem;
}

.section-hero-video .btn-book:hover {
  background: rgba(255,255,255,0.88);
}

/* ==========================================
   BANNER STRIP
   ========================================== */
.section-banner {
  background: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.banner-title {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.5;
}

/* ==========================================
   ABOUT / HERO SECTION
   ========================================== */
.section-about {
  min-height: 60vh;
  display: flex;
  align-items: stretch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 560px;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 8%;
  background: #111111;
}

.about-heading {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.about-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C8993F;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 420px;
}

.about-photo {
  overflow: hidden;
  min-height: 400px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.section-services {
  padding: 6rem 0 5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.services-headline {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--black);
}

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

.service-item {}

.service-media {
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: var(--light-gray);
}

.service-media img,
.service-media video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Clickable video overlay */
.service-media--video {
  position: relative;
  cursor: pointer;
}



/* VIDEO LIGHTBOX */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

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

.video-lightbox-inner {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 9/16;
  background: #000;
}

.video-lightbox-inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.service-item:hover .service-media img,
.service-item:hover .service-media video {
  transform: scale(1.02);
}

.service-item h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.service-item ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-item ul li {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

.service-item ul li::before {
  content: '– ';
  color: var(--border);
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-book {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  transition: background var(--transition);
}

.btn-book:hover {
  background: #333;
}

/* ==========================================
   FOOTER CONTACT STRIP
   ========================================== */
.section-contact-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

.contact-strip-inner p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
}

.contact-strip-inner a {
  color: var(--mid);
  transition: color var(--transition);
}

.contact-strip-inner a:hover { color: var(--black); }

/* ==========================================
   GALLERY PAGE
   ========================================== */
.section-gallery-page {
  margin-top: var(--nav-h);
  padding: 4rem 40px;
  background: var(--white);
}

.gallery-masonry {
  columns: 3;
  column-gap: 8px;
}

.gal-item {
  break-inside: avoid;
  margin-bottom: 8px;
  overflow: hidden;
}

.gal-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gal-item:hover img {
  transform: scale(1.02);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.section-contact-page {
  margin-top: var(--nav-h);
  padding: 5rem 0;
  position: relative;
  min-height: 60vh;
  background: var(--white);
}

.contact-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.08;
}

.contact-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-page-inner {
  position: relative;
  z-index: 1;
}

.contact-page-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
  color: var(--black);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.contact-page-info p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 2;
}

.contact-intro {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-page-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--black);
  padding: 0.7rem 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #888;
}

.form-group textarea { resize: vertical; }

.btn-submit {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background var(--transition);
  align-self: flex-start;
}

.btn-submit:hover { background: #333; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-text {
    padding: 3rem 2rem;
    order: 1;
  }

  .about-photo {
    order: 2;
    height: 70vw;
    min-height: 300px;
  }

  .section-about {
    min-height: auto;
  }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .contact-strip-inner { grid-template-columns: 1fr; text-align: center; }
  .container { padding: 0 20px; }
  .section-gallery-page { padding: 3rem 20px; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
}
