/* =============================================
   Fit By Elsa - Main Stylesheet
   ============================================= */

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

:root {
  --color-bg: #ffffff;
  --color-bg-dark: #0a0a0a;
  --color-text: #1a1a1a;
  --color-text-light: #ffffff;
  --color-text-muted: #6b6b6b;
  --color-accent: #1a1a1a;
  --color-border: #e0e0e0;
  --color-overlay: rgba(0, 0, 0, 0.3);
  --font-primary: 'Cormorant Garamond', 'Georgia', serif;
  --font-secondary: 'Montserrat', 'Helvetica Neue', sans-serif;
  --gutter-desktop: 4vw;
  --gutter-mobile: 6vw;
  --header-height: 170px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =============================================
   Typography
   ============================================= */
h1, h2, h3 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

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

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  font-weight: 300;
}

/* =============================================
   Header / Navigation
   ============================================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 var(--gutter-desktop);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: transparent;
}

.header--dark.header--scrolled {
  background: transparent;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo__img {
  height: 110px;
  width: auto;
  filter: invert(1) brightness(2);
  transition: filter 0.3s ease;
}

.header--scrolled .logo__img {
  filter: none;
}

.header--dark.header--scrolled .logo__img {
  filter: invert(1) brightness(2);
}

.header--contact .logo__img,
.header--light-hero .logo__img {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav__link {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  position: relative;
  padding: 4px 0;
}

.header--light-hero .nav__link,
.header--contact .nav__link {
  color: var(--color-text);
}

.header--scrolled .nav__link {
  color: var(--color-text);
}

.header--dark.header--scrolled .nav__link {
  color: var(--color-text-light);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  gap: 6px;
  z-index: 1001;
}

.hamburger__line {
  width: 24px;
  height: 1.5px;
  background: var(--color-text-light);
  transition: var(--transition);
}

.header--light-hero .hamburger__line,
.header--contact .hamburger__line {
  background: var(--color-text);
}

.header--scrolled .hamburger__line {
  background: var(--color-text);
}

.header--dark.header--scrolled .hamburger__line {
  background: var(--color-text-light);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu__link:hover {
  opacity: 0.7;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #f0efed;
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero--dark {
  background: #0a0a0a;
}

.hero--dark .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero--dark .hero__image {
  opacity: 0.6;
  object-position: center top;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter-desktop) 8vh;
  width: 100%;
}

.hero__title {
  color: var(--color-text);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-family: var(--font-secondary);
  font-weight: 800;
  line-height: 1.1;
  max-width: 800px;
  text-transform: uppercase;
}

.hero--dark .hero__title {
  color: var(--color-text-light);
}

.hero__accent {
  color: #e84c6a;
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

/* =============================================
   Sections - General
   ============================================= */
.section {
  padding: 8rem var(--gutter-desktop);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--light {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.section__heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 3rem;
}

.section__heading--center {
  text-align: center;
}

/* =============================================
   Brand Partners Section
   ============================================= */
.brands {
  padding: 6rem var(--gutter-desktop);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.brands__heading {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  color: var(--color-text);
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brands__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.brands__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.brands__item:hover img {
  transform: scale(1.05);
}

/* =============================================
   Dance / Stars Section
   ============================================= */
.dance {
  padding: 6rem var(--gutter-desktop);
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.dance__inner {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
}

.dance__heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 3rem;
}

.dance__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dance__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

.dance__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dance__image:hover img {
  transform: scale(1.05);
}

/* =============================================
   Training / Results Section
   ============================================= */
.training {
  padding: 6rem var(--gutter-desktop);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.training__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.training__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.training__heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
}

.training__heading--secondary {
  font-style: normal;
}

.training__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.training__image {
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 4px;
}

.training__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.training__image:hover img {
  transform: scale(1.05);
}

/* =============================================
   Contact / Assessment Form Section
   ============================================= */
.contact {
  padding: 6rem var(--gutter-desktop);
  background: #f5f5f5;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.contact__left {
  display: flex;
  align-items: center;
  min-height: 300px;
}

.contact__right {
  width: 100%;
}

.contact__heading {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-text);
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.85rem 0;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  outline: none;
  transition: border-color 0.3s ease;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

.form__input:focus,
.form__textarea:focus {
  border-bottom-color: var(--color-text);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__submit {
  align-self: flex-start;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-text);
  padding: 1rem 3rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.form__submit:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.form__success {
  display: none;
  padding: 1.5rem;
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--color-text);
  text-align: center;
}

.form__success.visible {
  display: block;
}

/* Light form variant (for Get In Touch page) */
.form--light .form__label {
  color: var(--color-text-muted);
}

.form--light .form__input,
.form--light .form__textarea {
  color: var(--color-text);
  border-bottom-color: var(--color-border);
}

.form--light .form__input::placeholder,
.form--light .form__textarea::placeholder {
  color: var(--color-text-muted);
}

.form--light .form__input:focus,
.form--light .form__textarea:focus {
  border-bottom-color: var(--color-text);
}

.form--light .form__submit {
  color: var(--color-text);
  border-color: var(--color-text);
}

.form--light .form__submit:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* =============================================
   Social Links
   ============================================= */
.social {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 3rem var(--gutter-desktop);
  background: var(--color-bg);
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  color: var(--color-text);
  transition: var(--transition);
}

.social__link:hover {
  opacity: 0.6;
}

.social__link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Social on light background (same as default now) */
.social--light {
  background: var(--color-bg);
}

.social--light .social__link {
  color: var(--color-text);
}

.social--light .social__link:hover {
  opacity: 0.6;
}

/* =============================================
   About Page
   ============================================= */
.about-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #f0efed;
}

.about-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter-desktop) 6vh;
}

.about-hero__title {
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
}

/* About Bio */
.about-bio {
  padding: 2rem var(--gutter-desktop) 2rem;
  background: var(--color-bg);
}

.about-bio__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-bio__block {
  margin-bottom: 0;
}

.about-bio__block p {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.8;
}

.about-bio__block p:last-child {
  margin-bottom: 0;
}

/* About Gallery */
.about-gallery {
  padding: 1rem var(--gutter-desktop) 3rem;
  background: var(--color-bg);
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-gallery__item {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
}

.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-gallery__item:hover img {
  transform: scale(1.05);
}

/* CTA Button */
.cta {
  padding: 3rem var(--gutter-desktop);
  text-align: center;
  background: var(--color-bg);
}

.cta__button {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  padding: 1.1rem 3.5rem;
  transition: var(--transition);
}

.cta__button:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* =============================================
   Get In Touch Page
   ============================================= */
.getintouch {
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.getintouch__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
}

.getintouch__left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter-desktop);
  background: var(--color-bg);
}

.getintouch__heading {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.getintouch__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter-desktop);
  background: var(--color-bg);
}

.getintouch__form-wrapper {
  width: 100%;
  max-width: 520px;
}

.getintouch__form-title {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

/* Get In Touch form overrides - bordered box inputs to match production */
.form--boxed .form__group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form--boxed .form__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.form--boxed .form__sublabel {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form--boxed .form__input,
.form--boxed .form__textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #f7f7f7;
  color: var(--color-text);
}

.form--boxed .form__input:focus,
.form--boxed .form__textarea:focus {
  border-color: var(--color-text);
  background: #fff;
}

.form--boxed .form__submit {
  border-radius: 50px;
  padding: 1rem 3.5rem;
  border: 1px solid var(--color-text);
}

/* =============================================
   Footer
   ============================================= */
.footer-spacer {
  height: 80px;
  background: #555;
}

.footer {
  padding: 2rem var(--gutter-desktop);
  background: var(--color-bg);
  border-top: none;
  text-align: center;
}

.footer__text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* =============================================
   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);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   Placeholder Images
   ============================================= */
.placeholder-img {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.placeholder-img--light {
  background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 50%, #e8e8e8 100%);
  color: rgba(0, 0, 0, 0.15);
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .header {
    padding: 0 var(--gutter-mobile);
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 5rem var(--gutter-mobile);
  }

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

  .hero__content {
    padding: 0 var(--gutter-mobile) 4vh;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .social {
    justify-content: center;
  }

  .brands {
    padding: 4rem var(--gutter-mobile);
  }

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

  .brands__heading {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .dance {
    padding: 4rem var(--gutter-mobile);
  }

  .dance__heading {
    font-size: 1.8rem;
  }

  .training {
    padding: 4rem var(--gutter-mobile);
  }

  .training__heading {
    font-size: 1.8rem;
  }

  .contact {
    padding: 4rem var(--gutter-mobile);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__left {
    min-height: auto;
  }

  /* About page */
  .about-hero {
    height: 50vh;
    min-height: 350px;
  }

  .about-hero__content {
    padding: 0 var(--gutter-mobile) 4vh;
  }

  .about-bio {
    padding: 4rem var(--gutter-mobile);
  }

  .about-gallery {
    padding: 1rem var(--gutter-mobile) 4rem;
  }

  .about-gallery__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta {
    padding: 3rem var(--gutter-mobile);
  }

  /* Get In Touch page */
  .getintouch__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .getintouch__left {
    padding: 8rem var(--gutter-mobile) 2rem;
    justify-content: flex-start;
  }

  .getintouch__right {
    padding: 2rem var(--gutter-mobile) 4rem;
    justify-content: flex-start;
  }

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

@media (max-width: 480px) {
}
