/* ============================================================
   Alice Seal Models — Stylesheet
   Aesthetic: Warm editorial / golden-hour vibes
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --gold: #d4a04a;
  --gold-light: #e8c47a;
  --gold-dark: #b8862e;
  --coral: #e07856;
  --cream: #faf6f0;
  --cream-dark: #f0e8da;
  --charcoal: #1e1e1e;
  --charcoal-mid: #2c2c2c;
  --warm-gray: #8a7e72;
  --warm-gray-light: #b5a99a;
  --white: #ffffff;
  --black: #0a0a0a;

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--white);
  letter-spacing: 0.12em;
  animation: pulse 1.2s ease-in-out infinite;
}

.preloader-last {
  color: var(--gold);
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
}

.site-nav.scrolled {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  animation: heroFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes heroFadeIn {
  to { opacity: 0.75; }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.5) 35%,
    rgba(10, 10, 10, 0.1) 65%,
    rgba(10, 10, 10, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-bottom: 80px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out 0.8s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 1s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out 1.2s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.6s forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 55px; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- About Section --- */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--gold-light);
  border-radius: 12px;
  z-index: 0;
}

.about-image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}

.about-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.about-heading em {
  font-style: italic;
  color: var(--gold-dark);
}

.about-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--cream-dark);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--warm-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* --- Gallery Section --- */
.gallery {
  padding: 100px 0 120px;
  background: var(--charcoal);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--warm-gray-light);
  margin-top: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / 4; }
.gallery-grid .gallery-item:nth-child(2) { grid-column: 4 / 7; }
.gallery-grid .gallery-item:nth-child(3) { grid-column: 1 / 3; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: 3 / 5; }
.gallery-grid .gallery-item:nth-child(5) { grid-column: 5 / 7; }

/* --- Off Duty Section --- */
.offduty {
  padding: 120px 0;
  background: var(--cream);
}

.offduty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.offduty-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.offduty-heading em {
  font-style: italic;
  color: var(--gold-dark);
}

.offduty-image-wrap {
  position: relative;
}

.offduty-image-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  right: -16px;
  left: 16px;
  bottom: -16px;
  border: 2px solid var(--gold-light);
  border-radius: 12px;
  z-index: 0;
}

.offduty-image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Fun Banner --- */
.fun-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  text-align: center;
}

.fun-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.fun-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  padding: 48px 0;
  text-align: center;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-logo-text span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--warm-gray);
  margin-bottom: 24px;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
  opacity: 0.4;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-grid,
  .offduty-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap,
  .offduty-image-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-image-wrap::before,
  .offduty-image-wrap::before {
    display: none;
  }

  .offduty-grid {
    direction: ltr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid .gallery-item:nth-child(n) {
    grid-column: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .about {
    padding: 80px 0;
  }

  .gallery {
    padding: 80px 0;
  }

  .offduty {
    padding: 80px 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }
}

@media (max-width: 600px) {
  .container {
    width: 92%;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-content {
    padding-bottom: 80px;
  }

  .hero-scroll {
    display: none;
  }

  .about {
    padding: 60px 0;
  }

  .about-heading,
  .offduty-heading {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .about-text {
    font-size: 0.92rem;
  }

  .about-image-wrap,
  .offduty-image-wrap {
    max-width: 100%;
  }

  .gallery {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .offduty {
    padding: 60px 0;
  }

  .fun-banner {
    padding: 60px 0;
  }

  .fun-banner h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .fun-banner p {
    font-size: 0.92rem;
  }

  .footer-logo-text {
    font-size: 1rem;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }
}
