/* =========================================================
   BASE / RESET
   ========================================================= */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Helvetica, Arial, sans-serif;
  color: #0b0b0b;
  background: #ffffff;
  line-height: 1.4;
}

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

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

/* =========================================================
   VARIABLES
   ========================================================= */
:root {
  --max-width: 1100px;
  --pad: clamp(18px, 3vw, 32px);
  --radius: 18px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  color: white;
}

.brand {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__sub {
  font-size: 11px;
  opacity: 0.7;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav__link {
  font-size: 13px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 1;
}

.nav__link--cta {
  border: 1px solid rgba(255,255,255,0.6);
  padding: 6px 12px;
  border-radius: 999px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__layer--active {
  opacity: 1;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* =========================================================
   HERO TEXT (CENTERED, MINIMAL)
   ========================================================= */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: var(--pad);
}

.hero__title {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero__subtitle {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  max-width: 18ch;
  line-height: 1.2;
}

/* =========================================================
   FOOTER (HOMEPAGE)
   ========================================================= */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px var(--pad);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.85;
}

.site-footer--hero {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: none;
  color: white;
}

.site-footer a {
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}

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

/* =========================================================
   GENERIC PAGES (future use)
   ========================================================= */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px var(--pad) 80px;
}

.page-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.page-intro h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-intro p {
  font-size: 15px;
  opacity: 0.85;
}

/* =========================================================
   GALLERIES (future use)
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Story-style gallery (weddings) */
.gallery--story {
  grid-template-columns: 1fr;
  gap: 32px;
}

.gallery--story img {
  max-height: 85vh;
}

/* =========================================================
   CTA (future use)
   ========================================================= */
.cta {
  text-align: center;
  margin: 80px 0 20px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.cta p {
  font-size: 15px;
  opacity: 0.85;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .nav {
    gap: 12px;
  }

  .nav__link {
    font-size: 12px;
  }

  .site-footer,
  .site-footer--hero {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero__layer {
    transition: none;
  }
}
