/* ============================================================
   SASSER MOTION — styles.css
   Font: Raleway (Google Fonts)
   ============================================================ */

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

:root {
  --dark:       #201713;
  --nav-color:  rgba(0, 0, 0, 0.7);
  --body-color: rgba(0, 0, 0, 0.5);
  --light-bg:   #f5f5f5;
  --footer-bg:  #404040;
  --white:      #ffffff;
  --font:       'Raleway', sans-serif;
  --nav-h:      80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
}

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

/* ============================================================
   HEADER / NAV
   ============================================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-right { justify-content: flex-end; }

nav a {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--nav-color);
  transition: color 0.2s;
  white-space: nowrap;
}

nav a:hover,
nav a.active { color: #000; }

.nav-logo {
  flex-shrink: 0;
  margin: 0 32px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

/* Mobile hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nav-color);
}

/* ============================================================
   HERO
   ============================================================ */

#home {
  height: 70vh;
  min-height: 420px;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.02) 100%), url('../images/hero.jpg');
  background-size: cover;
  background-position: center 33%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-content p {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   FILMS — Gallery viewer + thumbnail strip
   ============================================================ */

#films {
  background: var(--white);
  padding: 48px 48px 36px;
}

.film-gallery {
  max-width: 960px;
  margin: 0 auto;
}

/* ── Large viewer ────────────────────────────── */
.film-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  margin-bottom: 10px;
}

.film-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.film-viewer:hover img { transform: scale(1.02); }

.viewer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 45%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.film-viewer:hover .viewer-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.12) 45%, transparent 100%);
}

/* Large couple-name title */
.viewer-title-large {
  color: rgba(255,255,255,0.88);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  line-height: 1;
  pointer-events: none;
}

/* Play button */
.viewer-play-btn {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  padding-left: 5px;
  transition: background 0.2s, transform 0.2s;
}

.film-viewer:hover .viewer-play-btn {
  background: rgba(255,255,255,0.18);
  transform: scale(1.08);
}

/* Bottom-left caption */
.viewer-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  pointer-events: none;
}

/* ── Thumbnail strip ─────────────────────────── */
.film-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.film-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.film-thumb:hover { opacity: 0.9; }

.film-thumb.active {
  opacity: 1;
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.film-thumb:hover .thumb-overlay { background: rgba(0,0,0,0.38); }
.thumb-overlay--no-video .thumb-play { opacity: 0.35; }

.thumb-play {
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 9px;
  padding-left: 2px;
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
}

.video-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content box — centered by flexbox parent */
.video-modal-content {
  width: 90vw;
  max-width: 1100px;
}

/* 16:9 iframe wrapper — close button lives inside here */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Close button — top-right corner of the player */
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.45);
  border: none;
  color: rgba(255,255,255,0.9);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 2px 10px 4px;
  border-radius: 4px;
}

.video-modal-close:hover {
  background: rgba(0,0,0,0.75);
  color: var(--white);
}

/* Lock scroll when modal open */
body.modal-open { overflow: hidden; }

/* ============================================================
   AVAILABILITY CTA
   ============================================================ */

#availability {
  background: var(--white);
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}

#availability h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.availability-note {
  font-size: 15px;
  font-weight: 400;
  color: var(--body-color);
  letter-spacing: 0.5px;
  font-style: italic;
}

.btn {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 40px;
  transition: background 0.2s;
}

.btn:hover { background: #3a2920; }

/* ============================================================
   INVESTMENT
   ============================================================ */

#investment {
  background: var(--light-bg);
  padding: 80px 40px;
  text-align: center;
}

#investment .inner {
  max-width: 760px;
  margin: 0 auto;
}

#investment p {
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.9;
  margin-bottom: 20px;
}

#investment p:last-child { margin-bottom: 0; }

#investment a {
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
}

#investment .price {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

/* ============================================================
   1SE VIDEO
   ============================================================ */

#onesecond {
  background: #000;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#onesecond .video-wrapper {
  max-width: 900px;
}

/* ============================================================
   BADGES
   ============================================================ */

#badges {
  background: var(--light-bg);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

#badges a { display: block; opacity: 0.85; transition: opacity 0.2s; }
#badges a:hover { opacity: 1; }

#badges img {
  height: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* ============================================================
   CONTACT
   ============================================================ */

#contact {
  background: var(--white);
  padding: 80px 40px;
  text-align: center;
}

#contact .inner {
  max-width: 680px;
  margin: 0 auto;
}

#contact p {
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.9;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.contact-info a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-info a:hover { border-color: var(--dark); }

/* ============================================================
   ABOUT
   ============================================================ */

#about {
  background: var(--white);
  display: flex;
  align-items: stretch;
  min-height: 600px;
}

#about .inner {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

#about p {
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.9;
  margin-bottom: 18px;
}

#about p:last-of-type { margin-bottom: 0; }

#about a {
  color: var(--dark);
  border-bottom: 1px solid rgba(0,0,0,0.3);
}

.about-sign {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 24px;
  letter-spacing: 1px;
}

.about-photos {
  flex: 0 0 45%;
  max-width: 45%;
}

.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photos--single img {
  width: 100%;
  height: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 50px 40px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s;
}

.social-icon:hover {
  border-color: rgba(255,255,255,0.9);
  color: var(--white);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-back {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  display: block;
  transition: color 0.2s;
}

.footer-back:hover { color: rgba(255,255,255,0.9); }

.footer-contact {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .nav-left,
  .nav-right { display: none; }

  .nav-logo { margin: 0; }

  .hamburger { display: flex; }

  nav { justify-content: space-between; }

  /* Mobile nav overlay */
  .mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 30px 40px;
    gap: 22px;
    z-index: 199;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

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

  .mobile-nav a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nav-color);
  }

  .hero-content h1 { font-size: 40px; }
  .hero-content p { font-size: 10px; }

  /* Films gallery mobile */
  #films { padding: 24px 16px 20px; }
  .viewer-title-large { font-size: 28px; letter-spacing: 1px; }
  .viewer-play-btn { width: 48px; height: 48px; font-size: 16px; }
  .film-thumbs {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: auto;
  }

  /* Modal mobile */
  .video-modal-content { width: 96vw; }
  .video-modal-close { font-size: 22px; top: 8px; right: 8px; }

  #availability h2 { font-size: 22px; }

  #about { flex-direction: column; }
  #about .inner { padding: 60px 30px; }
  .about-photos { flex: none; max-width: 100%; height: 400px; }
  .about-photos img { height: 400px; }

  #badges { gap: 30px; }
  #badges img { height: 100px; }

  .nav-logo img { height: 40px; }
}
