/* ================================================================
   W. Vito Montone — Portfolio Redesign
   styles.css
   ================================================================ */

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

:root {
  --primary: #0f2b3c;
  --primary-light: #163a50;
  --primary-mid: #1a4a62;
  --accent: #c9953c;
  --accent-light: #e2b866;
  --light: #f8f6f2;
  --white: #ffffff;
  --gray-100: #f3f1ed;
  --gray-200: #e5e2dc;
  --gray-400: #9a9590;
  --gray-600: #5c5650;
  --gray-800: #2d2926;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}


/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.nav--scrolled {
  background: rgba(15, 43, 60, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.6rem 3rem;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav__logo-accent {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--accent-light);
}

.nav__link:hover::after {
  width: 100%;
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger-line {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}


/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--primary-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 149, 60, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 149, 60, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__logo-wrapper {
  width: 130px;
  height: 130px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero__logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201, 149, 60, 0.25);
}

.hero__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__label {
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2.5rem;
  letter-spacing: 0.5px;
}

.hero__roles {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__role {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  position: relative;
}

.hero__role:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.1rem;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.9rem 2.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2rem;
}

.hero__cta:hover {
  background: var(--accent);
  color: var(--primary);
}

.hero__cta-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.hero__cta:hover .hero__cta-icon {
  transform: translateY(3px);
}

/* PGA — bottom right of hero, subtle */
.hero__pga {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  opacity: 0.35;
  transition: var(--transition);
  z-index: 2;
}

.hero__pga:hover {
  opacity: 0.6;
}

.hero__pga-img {
  height: 50px;
  width: auto;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}


/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
.section {
  padding: 7rem 3rem;
}

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

.section-label {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--white);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem auto 0;
}


/* ================================================================
   SHOWREEL
   ================================================================ */
.showreel {
  background: linear-gradient(135deg, var(--primary) 0%, #0a1f2d 50%, #0d2538 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.showreel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 149, 60, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26, 74, 98, 0.15) 0%, transparent 50%);
}

.showreel__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 520px;
  position: relative;
  z-index: 1;
}

.showreel__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 3rem;
}

.showreel__label {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.showreel__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.showreel__divider {
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

.showreel__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 320px;
}

.showreel__video-container {
  display: flex;
  align-items: center;
  padding: 3rem 3rem 3rem 0;
}

.showreel__video {
  width: 100%;
  display: block;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}


/* ================================================================
   ABOUT
   ================================================================ */
.about {
  background: var(--light);
}

.about__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--accent);
  z-index: 0;
}

.about__image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray-200);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__subtitle {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about__name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.about__role-title {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.85;
}


/* ================================================================
   WORK / PORTFOLIO
   ================================================================ */
.work {
  background: var(--white);
}

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

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.work-card__video-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  background: #000;
  overflow: hidden;
}

.work-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card__info {
  padding: 1.25rem 1.5rem;
}

.work-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.work-card__duration {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 1px;
}


/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(201, 149, 60, 0.05));
}

.testimonials__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.testimonial {
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  transition: var(--transition);
}

.testimonial:hover {
  border-color: rgba(201, 149, 60, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: -1rem;
  opacity: 0.6;
}

.testimonial__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.testimonial__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
  line-height: 1.5;
}


/* ================================================================
   PRESS / PUBLICATIONS
   ================================================================ */
.press {
  background: var(--light);
}

.press__intro {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: -2rem auto 3rem;
}

.press__links {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.press__link {
  padding: 0.85rem 2rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.press__link:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(201, 149, 60, 0.15);
}


/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--primary);
  padding: 4rem 3rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
}

.footer__brand-accent {
  color: var(--accent);
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__contact-link {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.footer__contact-link:hover {
  border-bottom-color: var(--accent);
}


/* ================================================================
   CONTACT MODAL
   ================================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal--open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  background: var(--white);
  width: 90%;
  max-width: 480px;
  padding: 3rem 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.35s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal__close:hover {
  color: var(--gray-800);
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-mid);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal__subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.modal__field {
  margin-bottom: 1rem;
}

.modal__input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.modal__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 149, 60, 0.12);
}

.modal__input::placeholder {
  color: var(--gray-400);
}

.modal__submit {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.modal__submit:hover {
  background: linear-gradient(135deg, #b8852f, var(--accent));
  box-shadow: 0 6px 20px rgba(201, 149, 60, 0.35);
}

/* Success state */
.modal__success {
  text-align: center;
  padding: 2rem 0;
}

.modal__success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #4caf50;
}

.modal__success-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal__success-sub {
  font-size: 0.9rem;
  color: var(--gray-400);
}


/* ================================================================
   SCROLL-REVEAL ANIMATION (applied via JS)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav--scrolled {
    padding: 0.7rem 1.5rem;
  }

  .nav__links {
    display: none;
  }

  .nav__links--active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav__hamburger {
    display: flex;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

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

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

  .hero__roles {
    gap: 1rem;
  }

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

  .showreel__text {
    padding: 4rem 2rem 1rem;
    text-align: center;
    align-items: center;
  }

  .showreel__video-container {
    padding: 2rem;
  }

  .hero__pga {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .hero__pga-img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .work__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .press__links {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
