/* =============================================
   KYLA MARCIA — Brand Website
   Palette: Black / Champagne / Blush / Soft Gold
============================================= */

:root {
  --black:      #0C0C0C;
  --black-soft: #181818;
  --white:      #FAFAFA;
  --off-white:  #F5F0EB;
  --champagne:  #E8D5B0;
  --blush:      #E8B4BB;
  --blush-light:#F5D8DC;
  --gold:       #C8A86B;
  --gold-light: #D4BA7E;
  --text:       #1A1A1A;
  --text-muted: #6B6563;
  --border:     rgba(200, 168, 107, 0.2);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --container: 1200px;
  --section-pad: 120px;
  --radius: 2px;

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

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-body); }

/* CONTAINER */
.container {
  width: min(var(--container), 100% - 4rem);
  margin-inline: auto;
}

/* =============================================
   TYPOGRAPHY
============================================= */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.center { text-align: center; }
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

.section-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2rem;
}
.section-rule.center { margin-inline: auto; }
.section-rule.light { background: var(--gold-light); }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-ghost-light {
  background: transparent;
  color: var(--champagne);
  border-color: rgba(232,213,176,0.5);
}
.btn-ghost-light:hover {
  background: rgba(232,213,176,0.08);
  border-color: var(--champagne);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}
.btn.full-width { width: 100%; text-align: center; }

/* =============================================
   NAV
============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(12,12,12,0.96);
  padding: 1rem 3rem;
  box-shadow: 0 1px 0 rgba(200,168,107,0.15);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  height: 100%;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0.2) 0%,
    rgba(12,12,12,0.15) 40%,
    rgba(12,12,12,0.7) 80%,
    rgba(12,12,12,0.88) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem;
  max-width: 780px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =============================================
   SECTIONS — BASE
============================================= */
.section {
  padding: var(--section-pad) 0;
}
.section.dark {
  background: var(--black-soft);
  color: var(--white);
}
.section-cta {
  text-align: center;
  margin-top: 3.5rem;
}
.light-text { color: rgba(255,255,255,0.72); }

/* =============================================
   ABOUT
============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  height: 680px;
  object-position: center top;
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 50%;
  height: 60%;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-text {
  padding-right: 2rem;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.about-text .btn { margin-top: 1rem; }

/* =============================================
   SERVICES
============================================= */
.services {
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.service-card {
  padding: 2.5rem 1.8rem;
  background: var(--white);
  border-top: 2px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.service-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =============================================
   PORTFOLIO / LOOKBOOK
============================================= */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 6px;
  margin-top: 3.5rem;
}
.lookbook-item {
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.lookbook-item img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  object-position: center;
}
.lookbook-item:hover img { transform: scale(1.04); }
.lookbook-tall {
  grid-row: 1 / 3;
}
.lookbook-wide {
  grid-column: 2 / 4;
}
.lookbook-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  background: rgba(12,12,12,0.6);
  padding: 0.3rem 0.8rem;
  backdrop-filter: blur(4px);
}

/* Placeholder shimmer for images not yet loaded */
.lookbook-item img[src="assets/images/lookbook-1.jpg"],
.lookbook-item img[src="assets/images/lookbook-2.jpg"],
.lookbook-item img[src="assets/images/lookbook-3.jpg"],
.lookbook-item img[src="assets/images/lookbook-4.jpg"],
.lookbook-item img[src="assets/images/lookbook-5.jpg"],
.about-image img[src="assets/images/about.jpg"],
.hero-img[src="assets/images/hero.jpg"],
.hair-brand-image img[src="assets/images/hair-brand.jpg"] {
  background: linear-gradient(135deg, #1c1c1c 25%, #262626 50%, #1c1c1c 75%);
  background-size: 200% 200%;
  animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

/* =============================================
   HAIR BRAND
============================================= */
.hair-brand {
  background: var(--black);
}
.hair-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.hair-brand-image {
  position: relative;
}
.hair-brand-image img {
  height: 600px;
}
.hair-brand-text {
  padding-left: 2rem;
}
.hair-brand-text .section-label { color: var(--gold-light); }
.hair-brand-text .section-title { color: var(--white); }
.hair-brand-text .section-rule { background: var(--gold-light); }
.hair-brand-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.97rem;
  margin-bottom: 2rem;
}
.hair-brand-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hair-brand-text .btn-outline {
  color: var(--champagne);
  border-color: rgba(232,213,176,0.4);
}
.hair-brand-text .btn-outline:hover {
  background: rgba(232,213,176,0.1);
  border-color: var(--champagne);
  color: var(--white);
}

/* =============================================
   STYLING CTA
============================================= */
.styling-cta-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.styling-cta-copy {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

/* =============================================
   EPK
============================================= */
.epk-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.epk-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
  cursor: pointer;
}
.epk-item:hover { color: var(--gold); }
.epk-item svg {
  width: 28px;
  height: 28px;
  transition: color var(--transition);
}
.epk-item:hover svg { color: var(--gold); }

/* =============================================
   CONTACT
============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
.contact-intro .section-title.light { color: var(--white); }
.contact-intro p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-top: 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,168,107,0.2);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: var(--radius);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(200,168,107,0.05);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group select option { background: var(--black-soft); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.8rem;
  color: var(--gold-light);
  text-align: center;
  min-height: 1.2em;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(200,168,107,0.15);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--champagne);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 2rem;
}
.footer-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image img { height: 480px; }
  .about-image-accent { display: none; }
  .about-text { padding-right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hair-brand-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hair-brand-image img { height: 400px; }
  .hair-brand-text { padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav { padding: 1.2rem 1.5rem; }
  .nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100%;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2.5rem;
    gap: 2rem;
    transition: right var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.85rem; }

  .hero-content { padding: 0 1.5rem; }
  .hero-scroll { right: 1.5rem; }

  .container { width: min(var(--container), 100% - 3rem); }

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

  .lookbook-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .lookbook-tall { grid-row: 1 / 3; }
  .lookbook-wide { grid-column: auto; }

  .form-row { grid-template-columns: 1fr; }

  .epk-grid { gap: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.6rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .hair-brand-ctas { flex-direction: column; }
  .lookbook-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 240px);
  }
  .lookbook-tall, .lookbook-wide { grid-column: auto; grid-row: auto; }
}
