/*
Theme Name: Betzymar Portfolio
Theme URI: https://betzymar.com
Description: Portfolio theme for Betzymar de los Ángeles — Model & Actress. Requires ACF Pro.
Author: Ever
Version: 1.0.0
License: Private
Tags: portfolio, dark, model
*/

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

:root {
  --black: #080808;
  --off-black: #111111;
  --dark: #1a1a1a;
  --white: #f5f5f0;
  --gold: #c9a84c;
  --light-gold: #e8c97a;
  --gray: #888;
  --light-gray: #ccc;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, transparent 100%);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color .3s;
}
.nav-links a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.72);
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero-bg:hover { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.1) 0%,
    rgba(8,8,8,0.0) 40%,
    rgba(8,8,8,0.7) 75%,
    rgba(8,8,8,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 48px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-tag {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--white);
  text-transform: uppercase;
}
.hero-name span { color: var(--gold); }
.hero-sub {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--light-gray);
  font-weight: 300;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.btn-primary {
  background: var(--gold);
  color: #000;
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--light-gold); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  transition: border-color .3s, transform .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   SECTION UTILITIES
───────────────────────────────────────────── */
section { padding: 100px 48px; }
.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
#about {
  background: var(--off-black);
  padding: 100px 48px;
}
.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.about-image:hover img { transform: scale(1.04); }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0.25);
  pointer-events: none;
}
.about-text { padding: 20px 0; }
.about-bio-es {
  font-size: 17px;
  line-height: 1.85;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 300;
}
.about-bio-en {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 40px;
}
.brands-title {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-tag {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-gray);
  transition: border-color .3s, color .3s;
}
.brand-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ─────────────────────────────────────────────
   STATS
───────────────────────────────────────────── */
#stats {
  background: var(--black);
  padding: 100px 48px;
}
.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-content { order: 1; }
.stats-image { order: 2; position: relative; aspect-ratio: 3/4; overflow: hidden; }
.stats-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.stats-image:hover img { transform: scale(1.04); }
.stats-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0.25);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
}
.stat-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stat-item:nth-child(odd)  { padding-right: 40px; border-right: 1px solid rgba(255,255,255,0.07); }
.stat-item:nth-child(even) { padding-left: 40px; }
.stat-label-es {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat-label-en {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.stat-value.stat-value--text { font-size: 20px; }
.stat-unit {
  font-size: 13px;
  color: var(--gray);
  margin-left: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* ─────────────────────────────────────────────
   CAMPAIGNS
───────────────────────────────────────────── */
#campaigns {
  background: var(--black);
  padding: 100px 48px;
}
.campaigns-header {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.campaigns-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray);
  padding: 8px 20px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .3s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}
.campaigns-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.campaign-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--dark);
  cursor: pointer;
}
.campaign-card.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.campaign-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #222 100%);
  transition: transform .5s ease;
}
.campaign-card:hover .campaign-placeholder { transform: scale(1.04); }
.campaign-placeholder-icon { font-size: 40px; opacity: 0.15; }

/* Video embed inside campaign card */
.campaign-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.campaign-video-wrap iframe,
.campaign-video-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}
.is-video .campaign-overlay { pointer-events: none; }

/* Play badge shown when video has no embed URL but has a thumbnail */
.campaign-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  pointer-events: none;
  transition: background 0.2s;
}
.campaign-card:hover .campaign-play-badge { background: rgba(0,0,0,0.8); }
.campaign-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.campaign-card:hover img { transform: scale(1.04); }
.campaign-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity .4s;
}
.campaign-card:hover .campaign-overlay { opacity: 1; }
.campaign-info-static {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.campaign-brand {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.campaign-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.campaign-desc {
  font-size: 12px;
  color: var(--light-gray);
  line-height: 1.6;
}
.campaign-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border: 1px solid rgba(201,168,76,0.5);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─────────────────────────────────────────────
   GALLERY
───────────────────────────────────────────── */
#gallery {
  background: var(--off-black);
  padding: 100px 48px;
}
.gallery-header {
  max-width: 1400px;
  margin: 0 auto 60px;
}
.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .4s ease;
  min-height: 320px;
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.85); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
#contact {
  background: var(--black);
  padding: 100px 48px;
  text-align: center;
}
.contact-inner { max-width: 700px; margin: 0 auto; }
.contact-info {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-detail {
  font-size: 15px;
  color: var(--light-gray);
  letter-spacing: 1px;
}
.contact-detail a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color .3s;
}
.contact-detail a:hover { color: var(--gold); }
.social-links {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  color: var(--light-gray);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color .3s, color .3s, background .3s;
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--gold);
}
.footer-copy {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { gap: 20px; }
  section { padding: 70px 24px; }
  #about, #stats, #gallery, #contact, #campaigns { padding: 70px 24px; }
  .about-inner, .stats-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-image { order: -1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .hero-content { padding: 0 24px 48px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
  .social-links { flex-direction: column; align-items: center; }
  .campaigns-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .campaigns-grid { grid-template-columns: 1fr 1fr; }
  .campaign-card.wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item:nth-child(odd)  { padding-right: 0; border-right: none; }
  .stat-item:nth-child(even) { padding-left: 0; }
  .campaigns-grid { grid-template-columns: 1fr; }
  .campaign-card.wide { grid-column: span 1; aspect-ratio: 4/5; }
}
