/* =========================================================
   Unwind Underwater - styles.css
   Edit colours & sizes in the :root block below.
   ========================================================= */

:root {
  --ocean-deep:   #0a1a24;   /* darkest background */
  --ocean-night:  #06121a;   /* footer / near black */
  --text-light:   #f4f7f8;   /* main light text */
  --text-muted:   #c9d6dc;   /* softer light text */
  --overlay:      rgba(6,18,26,0.45); /* darken photos for readable text */
  --band-height:  260px;     /* height of each scroll band on desktop */
  --maxw:         1280px;    /* content max width */
  --font-head: 'Gilda Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-light);
  background: var(--ocean-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Logo wordmark ---------- */
.logo {
  font-family: var(--font-head);
  font-size: 1.9rem;
  line-height: 1.02;
  letter-spacing: 0.5px;
  display: inline-block;
  color: var(--text-light);
}
.logo-line { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 46px;
}
.main-nav {
  display: flex;
  gap: 34px;
  padding-top: 8px;
}
.main-nav a {
  font-size: 0.72rem;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--text-light);
  opacity: 0.92;
  transition: opacity 0.25s;
}
.main-nav a:hover { opacity: 0.6; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--text-light);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(6,18,26,0.72) 0%,
    rgba(6,18,26,0.35) 45%,
    rgba(6,18,26,0.10) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 46px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0.5px;
}
.hero-rule {
  display: block;
  width: 54px; height: 1px;
  background: var(--text-light);
  opacity: 0.7;
  margin: 28px 0 22px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 430px;
  margin-bottom: 34px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.25s;
}
.hero-cta:hover { border-color: var(--text-light); }
.hero-cta .arrow { font-size: 1rem; }

.scroll-down {
  position: absolute;
  right: 46px; bottom: 40px;
  z-index: 3;
}
.scroll-down .circle {
  display: flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(244,247,248,0.6);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.25s;
}
.scroll-down .circle:hover { background: rgba(244,247,248,0.12); }

/* ---------- Scroll bands ---------- */
.bands { display: block; }

.band {
  position: relative;
  display: block;
  height: var(--band-height);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.0);
  transition: transform 6s ease;
  z-index: 1;
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(6,18,26,0.85) 0%,
    rgba(6,18,26,0.45) 40%,
    rgba(6,18,26,0.15) 70%,
    rgba(6,18,26,0.30) 100%);
}
.band:hover::before { transform: scale(1.06); }

.band-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.band-text h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: 12px;
}
.band-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.band-arrow {
  font-size: 1.5rem;
  opacity: 0.85;
  transition: transform 0.3s;
}
.band:hover .band-arrow { transform: translateX(8px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ocean-night);
  padding: 60px 46px 30px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.footer-logo { font-size: 1.5rem; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { font-size: 0.7rem; letter-spacing: 1.5px; opacity: 0.85; }
.footer-nav a:hover { opacity: 0.55; }
.footer-about p { font-size: 0.88rem; color: var(--text-muted); }
.footer-domain { margin-top: 12px; opacity: 0.6; letter-spacing: 1px; font-size: 0.75rem; }
.footer-social .follow { font-size: 0.68rem; letter-spacing: 2px; opacity: 0.6; margin-bottom: 14px; }
.footer-social a { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.footer-social a:hover { color: var(--text-light); }
.copyright {
  max-width: var(--maxw);
  margin: 40px auto 0;
  font-size: 0.72rem;
  opacity: 0.4;
  text-align: center;
}

/* ---------- Inner page shell (films, about, etc) ---------- */
.page-header {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-header .ph-image { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.page-header .ph-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(6,18,26,0.9), rgba(6,18,26,0.3)); }
.page-header .ph-content { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 46px 44px; }
.page-header h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); }

.page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 46px 90px;
}
.page-body h2 { font-family: var(--font-head); font-weight: 400; font-size: 1.7rem; margin: 40px 0 16px; }
.page-body p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }
.page-body a.inline { color: var(--text-light); border-bottom: 1px solid rgba(255,255,255,0.4); }
.back-link { display: inline-block; margin-top: 20px; font-size: 0.72rem; letter-spacing: 2px; opacity: 0.8; }
.back-link:hover { opacity: 0.5; }

/* Film grid */
.film-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: var(--maxw); margin: 0 auto; padding: 60px 46px 90px; }
.film-card { display: block; }
.film-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 4px; background: #06121a; }
.film-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-card h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; margin-top: 16px; }
.film-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Contact form */
.contact-form { max-width: 560px; margin: 0 auto; padding: 20px 46px 90px; }
.contact-form label { display: block; font-size: 0.72rem; letter-spacing: 1.5px; margin: 22px 0 8px; opacity: 0.8; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15); color: var(--text-light);
  font-family: var(--font-body); font-size: 0.95rem; border-radius: 3px;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  margin-top: 28px; padding: 14px 34px; background: var(--text-light); color: var(--ocean-deep);
  border: none; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 2px; cursor: pointer; border-radius: 3px;
}
.contact-form button:hover { opacity: 0.85; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .site-header { padding: 22px 24px; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; right: 24px;
    flex-direction: column; gap: 18px;
    background: rgba(6,18,26,0.96);
    padding: 26px 34px; border-radius: 6px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-content, .band-inner, .hero { padding-left: 24px; padding-right: 24px; }
  .band-inner { padding: 0 24px; }
  .scroll-down { right: 24px; }

  :root { --band-height: 200px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .film-grid { grid-template-columns: 1fr; }
  .page-body { padding: 54px 24px 70px; }
}

@media (max-width: 540px) {
  :root { --band-height: 168px; }
  .hero-title { font-size: 2.3rem; }
  .band-text p { font-size: 0.82rem; }
  .band-text h2 { font-size: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .logo { font-size: 1.6rem; }
}
