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

/* ===== DESIGN TOKENS ===== */
:root {
  --cream: #f5f0eb;
  --cream-dark: #ede6dc;
  --parchment: #f9f5f0;
  --charcoal: #2c2c2c;
  --charcoal-light: #4a4a4a;
  --gold: #b8975a;
  --gold-light: #d4b07a;
  --gold-dark: #8a6d38;
  --white: #ffffff;
  --border: #ddd5c8;
  --text-muted: #7a7065;

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;

  --nav-height: 72px;
  --section-pad: 90px 0;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: var(--font-sans);
  cursor: pointer;
}

input, textarea {
  font-family: var(--font-sans);
  outline: none;
}

/* ===== UTILITY ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================
   SECTION 1 — NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(249, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(44, 44, 44, 0.08);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 47px;
  display: block;
}

.navbar-cta {
  border: 1.5px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar-cta:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(249, 245, 240, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  animation: fadeIn 0.2s ease;
}

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

.mobile-menu a {
  display: block;
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: var(--charcoal);
  transition: background 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--cream);
}


/* ============================================
   SECTION 2 — HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(249, 245, 240, 0.96) 0%,
    rgba(249, 245, 240, 0.85) 30%,
    rgba(249, 245, 240, 0.45) 55%,
    rgba(249, 245, 240, 0.08) 75%,
    rgba(249, 245, 240, 0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 32px;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--gold-dark);
  margin-bottom: 28px;
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 400px;
}


/* ============================================
   SECTION 3 — ABOUT
   ============================================ */
.about {
  background: var(--cream);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
}

.about-col {
  padding: 40px;
}

.about-col:first-child {
  padding-left: 0;
}

.about-col:nth-child(2),
.about-col:nth-child(3) {
  border-left: 1px solid var(--border);
}

.about-col h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--charcoal);
}

.about-divider {
  width: 50px;
  height: 1.5px;
  background: var(--gold);
  margin: 16px 0 24px;
}

.about-col p {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

.about-col p + p {
  margin-top: 16px;
}


/* ============================================
   SECTION 4 — WHY BLACK PEARL
   ============================================ */
.why {
  background: var(--parchment);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

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

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  color: var(--charcoal);
}

.section-divider {
  width: 50px;
  height: 1.5px;
  background: var(--gold);
  margin: 16px auto 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.why-card {
  background: var(--parchment);
  padding: 48px 36px;
  text-align: center;
  transition: background 0.3s ease;
}

.why-card:hover {
  background: var(--cream);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin: 0 auto 24px;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.why-card p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}


/* ============================================
   SECTION 5 — FEATURED DESIGNERS (Slideshow)
   ============================================ */
.designers {
  padding: var(--section-pad);
  padding-bottom: 0;
  border-top: 1px solid var(--border);
}

.designers .section-header {
  text-align: left;
}

.slideshow-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #000;
  filter: contrast(1.05);
  margin-top: 40px;
}

.designer-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  filter: brightness(0.92) saturate(1.1);
}

.designer-slide-img.active {
  opacity: 1;
}

.slideshow-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.designer-slide-name {
  position: absolute;
  bottom: 32px;
  left: 40px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 52px);
  color: var(--white);
  font-weight: 500;
  z-index: 3;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 16px;
  line-height: 1;
}

.slideshow-wrap:hover .slide-arrow {
  opacity: 1;
}

.slide-arrow-left {
  left: 16px;
}

.slide-arrow-right {
  right: 16px;
}

.slide-arrow:hover {
  opacity: 0.7 !important;
}


/* ============================================
   SECTION 6 — FEATURED MODELS
   ============================================ */
.models {
  background: var(--parchment);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

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

.model-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
}

.model-card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  text-align: center;
  margin-top: 14px;
}


/* ============================================
   SECTION 7 — FOOTER / CONTACT
   ============================================ */
.footer {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* Left column — form */
.footer-left h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.footer-left > p {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 440px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 8px;
}

.form-group input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 10px 0;
  font-size: 14px;
  color: var(--charcoal);
  width: 100%;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-bottom-color: var(--charcoal);
}

.form-group input::placeholder {
  color: var(--border);
}

.form-submit-btn {
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: background 0.3s ease;
  margin-top: 8px;
}

.form-submit-btn:hover {
  background: var(--charcoal-light);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#form-success {
  display: none;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--gold-dark);
  margin-top: 20px;
}

#form-error {
  display: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #c0392b;
  margin-top: 20px;
}

/* Right column — contact info */
.footer-right h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 2px;
}

.contact-item-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal-light);
  line-height: 1.6;
}

.contact-item-link:hover .contact-item-text {
  color: var(--gold-dark);
  transition: color 0.3s ease;
}

.footer-brand {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.footer-brand-name em {
  font-weight: 400;
  font-style: italic;
}

.footer-brand-tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 60px;
}

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

.footer-bottom-left .fb-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--charcoal);
}

.footer-bottom-left .fb-name em {
  font-weight: 400;
  font-style: italic;
}

.footer-bottom-left .fb-tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-bottom-right {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
}


/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-col {
    padding: 32px 0;
  }

  .about-col:first-child {
    padding-left: 0;
  }

  .about-col:nth-child(2),
  .about-col:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  /* Why */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Models */
  .models-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-content {
    padding: 0 20px;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(249, 245, 240, 0.96) 0%,
      rgba(249, 245, 240, 0.92) 40%,
      rgba(249, 245, 240, 0.7) 65%,
      rgba(249, 245, 240, 0.3) 85%,
      rgba(249, 245, 240, 0.1) 100%
    );
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Models */
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Slideshow */
  .slideshow-wrap {
    aspect-ratio: 16 / 10;
  }

  .designer-slide-name {
    bottom: 20px;
    left: 20px;
  }

  /* Footer bottom */
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
