/* ============================================
   BLUE HAVEN STUDIOS - Global Styles
   Fonts: Cormorant Garamond (headings), Jost (body)
   Colors: Dark navy #1a2b3d, Blue accent #4e8fad,
           Muted blue #5b7a8e, Light blue #c5dfee,
           Background #f3f8fc
   ============================================ */

@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=Jost:wght@200;300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #1a2b3d;
  background: #0d1b2a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

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

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  color: #1a2b3d;
}

h1 em, h1 i {
  font-style: italic;
  color: #5b7a8e;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
}

p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197, 223, 238, 0.08);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.98);
  padding: 1rem 3rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo .brand-name {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
}

.nav-logo .brand-tagline {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(197, 223, 238, 0.6);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4e8fad;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #c5dfee;
  opacity: 1;
}

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

.nav-links a.active {
  color: #c5dfee;
}

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

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(197, 223, 238, 0.3);
  padding: 0.7rem 1.8rem;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: rgba(197, 223, 238, 0.1);
  border-color: rgba(197, 223, 238, 0.6);
  color: #fff;
  opacity: 1;
}

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

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.82);
  transition: all 0.3s ease;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 3rem 8rem;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 27, 42, 0.7) 0%,
    rgba(13, 27, 42, 0.3) 40%,
    rgba(13, 27, 42, 0.5) 70%,
    rgba(13, 27, 42, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content .subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #4e8fad;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: #f3f8fc;
}

.hero-content h1 em {
  color: #c5dfee;
  font-style: italic;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-scroll span {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 223, 238, 0.5);
}

.hero-scroll::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(197, 223, 238, 0.3);
}

/* ---- Page Hero (for category pages) ---- */
.page-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 27, 42, 0.6) 0%,
    rgba(13, 27, 42, 0.3) 50%,
    rgba(13, 27, 42, 0.8) 100%
  );
  z-index: 1;
}

.page-hero iframe,
.page-hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #f3f8fc;
  letter-spacing: 0.05em;
}

.page-hero-content .page-subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c5dfee;
  margin-top: 1rem;
}

/* ---- Sections ---- */
.section {
  padding: 6rem 3rem;
}

.section-light {
  background: #f3f8fc;
}

.section-dark {
  background: #0d1b2a;
  color: #f3f8fc;
}

.section-gradient {
  background: linear-gradient(180deg, #0d1b2a 0%, #1a2b3d 50%, #f3f8fc 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: inherit;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #5b7a8e;
}

.section-header .divider {
  width: 60px;
  height: 1px;
  background: #4e8fad;
  margin: 1.5rem auto 0;
}

/* ---- Photo Grid ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.photo-grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.05);
}

.photo-grid-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(13, 27, 42, 0.8));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.photo-grid-item:hover .overlay {
  transform: translateY(0);
}

.photo-grid-item .overlay h3 {
  color: #f3f8fc;
  font-size: 1.1rem;
}

.photo-grid-item .overlay p {
  color: #c5dfee;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ---- Video Grid ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.video-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.video-grid-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-grid-item .caption {
  padding: 1rem 0;
}

.video-grid-item .caption h3 {
  color: #1a2b3d;
  font-size: 1.1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}

.video-grid-item .caption p {
  color: #5b7a8e;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* ---- Wedding Banner ---- */
.wedding-banner {
  position: relative;
  padding: 6rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, #1a2b3d 0%, #0d1b2a 100%);
  border-top: 1px solid rgba(197, 223, 238, 0.08);
  border-bottom: 1px solid rgba(197, 223, 238, 0.08);
}

.wedding-banner h2 {
  color: #f3f8fc;
  margin-bottom: 1rem;
}

.wedding-banner p {
  color: #5b7a8e;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.wedding-banner .btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f3f8fc;
  border: 1px solid rgba(197, 223, 238, 0.4);
  padding: 1rem 2.5rem;
  transition: all 0.3s ease;
}

.wedding-banner .btn:hover {
  background: rgba(197, 223, 238, 0.1);
  border-color: #c5dfee;
  opacity: 1;
}

/* ---- UGC / Talent Cards ---- */
.talent-section {
  padding: 8rem 3rem;
  background: #f3f8fc;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.talent-card {
  text-align: center;
}

.talent-card .talent-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 2rem;
  filter: grayscale(10%);
}

.talent-card .talent-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  color: #1a2b3d;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.talent-card .talent-role {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4e8fad;
  margin-bottom: 1.5rem;
}

.talent-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  max-width: 300px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.talent-stats .stat-label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5b7a8e;
}

.talent-stats .stat-value {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #1a2b3d;
  text-align: right;
}

.talent-duo {
  max-width: 1100px;
  margin: 4rem auto 0;
}

.talent-duo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.talent-duo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ---- Contact ---- */
.contact-section {
  padding: 8rem 3rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h1 {
  color: #f3f8fc;
  margin-bottom: 1rem;
}

.contact-section p {
  color: #5b7a8e;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.contact-form label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5b7a8e;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #f3f8fc;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 223, 238, 0.15);
  outline: none;
  transition: border-color 0.3s ease;
  margin-top: 0.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #4e8fad;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form select option {
  background: #0d1b2a;
  color: #f3f8fc;
}

.contact-form .submit-btn {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f3f8fc;
  background: transparent;
  border: 1px solid rgba(197, 223, 238, 0.4);
  padding: 1.2rem 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.contact-form .submit-btn:hover {
  background: rgba(197, 223, 238, 0.1);
  border-color: #c5dfee;
}

/* ---- Footer ---- */
.footer {
  padding: 3rem;
  text-align: center;
  border-top: 1px solid rgba(197, 223, 238, 0.08);
  background: #0a1520;
}

.footer-brand {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover {
  color: #c5dfee;
  opacity: 1;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 968px) {
  .navbar {
    padding: 1.2rem 2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(13, 27, 42, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 0 2rem 6rem;
  }

  .section {
    padding: 4rem 2rem;
  }

  .talent-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .video-grid {
    grid-template-columns: 1fr;
  }

  .wedding-banner {
    padding: 4rem 2rem;
  }

  .contact-section {
    padding: 6rem 2rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  .page-hero {
    height: 50vh;
    min-height: 350px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.2rem;
  }

  .navbar.scrolled {
    padding: 0.8rem 1.2rem;
  }

  .nav-logo .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
  }

  .nav-logo .brand-tagline {
    font-size: 0.5rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .hero {
    padding: 0 1.2rem 4rem;
    align-items: center;
  }

  .hero-content .subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
  }

  .hero-scroll {
    bottom: 1.5rem;
    left: 1.2rem;
  }

  .section {
    padding: 3rem 1.2rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .photo-grid-item {
    aspect-ratio: 16/10;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wedding-banner {
    padding: 3rem 1.2rem;
  }

  .wedding-banner .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.7rem;
  }

  .contact-section {
    padding: 4rem 1.2rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .contact-form .submit-btn {
    padding: 1rem 2rem;
    width: 100%;
  }

  .footer {
    padding: 2rem 1.2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .page-hero {
    height: 45vh;
    min-height: 300px;
  }

  .page-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .talent-section {
    padding: 4rem 1.2rem;
  }
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Utility ---- */
.container {
  max-width: 1400px;
  margin: 0 auto;
}
