/*
Theme Name: Nia Andrawis Diving
Theme URI:
Author: Custom
Description: College recruiting portfolio for Nia Andrawis, competitive diver
Version: 2.0
*/

/* ============================================================
   ROOT & RESET
   ============================================================ */
:root {
  --navy:    #0d0820;
  --deep:    #170b30;
  --pink:    #e91e8c;
  --rose:    #ff6eb4;
  --blush:   #ffd6ec;
  --gold:    #f4c430;
  --white:   #ffffff;
  --offwhite:#f8f0f6;
  --gray:    #7a6a85;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { color: var(--pink); text-decoration: none; }
a:hover { color: var(--gold); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(13, 8, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(233, 30, 140, 0.2);
  transition: background 0.3s;
}

.nav-brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav-brand span { color: var(--pink); }

.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); }

.nav-cta {
  background: var(--pink) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--rose) !important; color: var(--white) !important; }

/* Active nav link */
.nav-links .nav-active {
  color: var(--pink) !important;
  position: relative;
}
.nav-links .nav-active:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: #120828;
  border-left: 1px solid rgba(233,30,140,0.2);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}
.nav-mobile.open { transform: translateX(0); }

.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.nav-mobile ul li a {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.8);
  padding: .85rem 1rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.nav-mobile ul li a:hover,
.nav-mobile ul li a.nav-active { background: rgba(233,30,140,.1); color: var(--pink); }
.nav-mobile ul li a.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  text-align: center;
  margin-top: 1rem;
}
.nav-mobile ul li a.nav-cta:hover { background: var(--rose); }

/* Overlay behind drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1500;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, #1a0838 50%, #200830 100%);
  padding: 0 1.5rem;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(233,30,140,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(244,196,48,0.06) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid var(--pink);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.hero-name .highlight { color: var(--pink); }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--pink);
  color: var(--white);
}
.btn-primary:hover { background: var(--rose); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,0.35); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); }

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem; letter-spacing: .15em; text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   HOME — PREVIEW CARDS
   ============================================================ */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.preview-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(233,30,140,0.15);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233,30,140,0.4);
  box-shadow: 0 12px 32px rgba(233,30,140,0.1);
}

.preview-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.preview-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.preview-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 6rem 2rem;
  background: var(--deep);
}
.section-full .section { padding: 0; }

.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(160deg, var(--navy) 0%, #1a0838 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(233,30,140,0.15) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: .75rem;
}
.page-hero h1 em { font-style: normal; color: var(--pink); }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}
.section-title em { font-style: normal; color: var(--pink); }

.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-photo-wrap { position: relative; }
.about-photo-wrap img {
  width: 100%; border-radius: 8px;
  object-fit: cover; aspect-ratio: 3/4;
}
.about-photo-wrap::before {
  content: '';
  position: absolute; inset: -12px -12px auto auto;
  width: 60%; height: 60%;
  border-top: 3px solid var(--pink);
  border-right: 3px solid var(--pink);
  border-radius: 0 8px 0 0; z-index: 1;
}
.about-photo-wrap::after {
  content: '';
  position: absolute; inset: auto auto -12px -12px;
  width: 60%; height: 60%;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 0 0 0 8px; z-index: 1;
}

.about-text h2 {
  font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 800;
  margin-bottom: 1.25rem; color: var(--white);
}
.about-text p { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; font-size: 1.05rem; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.highlight-item {
  background: rgba(233,30,140,0.07);
  border: 1px solid rgba(233,30,140,0.2);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}
.highlight-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink); margin-bottom: .25rem;
}
.highlight-item span { font-size: .95rem; color: rgba(255,255,255,.85); }

/* Gymnastics bridge banner */
.bridge-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(233,30,140,0.12), rgba(244,196,48,0.08));
  border: 1px solid rgba(233,30,140,0.25);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.bridge-icon { font-size: 2.5rem; flex-shrink: 0; }
.bridge-banner h4 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 800;
  color: var(--pink); margin-bottom: .4rem;
}
.bridge-banner p { font-size: .9rem; color: rgba(255,255,255,.7); margin: 0; }

/* ============================================================
   VIDEO PAGE
   ============================================================ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(233,30,140,0.4); }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }

.video-info { padding: 1.25rem; }
.video-info h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.video-info p { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ============================================================
   GYMNASTICS PAGE
   ============================================================ */
.gymnastics-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  margin-bottom: 5rem;
}

.gymnastics-years {
  text-align: center;
  background: linear-gradient(135deg, rgba(233,30,140,0.12), rgba(244,196,48,0.08));
  border: 1px solid rgba(233,30,140,0.25);
  border-radius: 12px;
  padding: 3rem 2rem;
}
.gym-big-number {
  font-family: var(--font-head);
  font-size: 6rem; font-weight: 900;
  color: var(--pink); line-height: 1;
  display: block;
}
.gym-big-label {
  font-family: var(--font-head);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.gymnastics-text h2 {
  font-family: var(--font-head);
  font-size: 1.9rem; font-weight: 800;
  margin-bottom: 1.25rem;
}
.gymnastics-text p { color: rgba(255,255,255,.75); margin-bottom: 1.1rem; font-size: 1.02rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-top: 1.5rem;
}
.skill-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(233,30,140,0.18);
  border-radius: 8px; padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.skill-card:hover { border-color: rgba(233,30,140,.45); transform: translateY(-3px); }
.skill-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.skill-card h4 {
  font-family: var(--font-head);
  font-size: .9rem; font-weight: 700;
  color: var(--pink); margin-bottom: .4rem;
}
.skill-card p { font-size: .85rem; color: rgba(255,255,255,.6); }

/* Gymnastics achievements timeline */
.gym-achievements { display: flex; flex-direction: column; gap: 1.25rem; }

.gym-achievement-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 1.5rem;
  transition: border-color .2s;
}
.gym-achievement-item:hover { border-color: rgba(233,30,140,.3); }

.gym-achievement-icon {
  font-size: 1.8rem; flex-shrink: 0;
  width: 50px; height: 50px;
  background: rgba(233,30,140,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.gym-achievement-body h4 {
  font-family: var(--font-head);
  font-size: .95rem; font-weight: 700;
  color: var(--gold); margin-bottom: .3rem;
}
.gym-achievement-body p { font-size: .88rem; color: rgba(255,255,255,.65); margin: 0; }
.gym-achievement-year {
  margin-left: auto; flex-shrink: 0;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700;
  color: var(--pink);
  padding: .25rem .75rem;
  background: rgba(233,30,140,.1);
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================================================
   ACHIEVEMENTS (DIVING)
   ============================================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.achievement-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: 2rem 1.5rem; text-align: center;
  transition: border-color .2s, transform .2s;
}
.achievement-card:hover { border-color: rgba(244,196,48,.4); transform: translateY(-3px); }
.achievement-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.achievement-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: .5rem; }
.achievement-card p { font-size: .9rem; color: rgba(255,255,255,.6); }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram-handle {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: 1rem;
  color: var(--pink); margin-bottom: 2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 800; line-height: 1.2;
  margin-bottom: 1.25rem;
}
.contact-info h2 em { font-style: normal; color: var(--pink); }
.contact-info p { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: 1.05rem; }

.contact-details { display: flex; flex-direction: column; gap: .75rem; }
.contact-row {
  display: flex; align-items: center; gap: .75rem;
  font-size: .95rem; color: rgba(255,255,255,.8);
}
.contact-row svg { width: 18px; height: 18px; color: var(--pink); flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--font-head);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px; color: var(--white);
  font-family: var(--font-body); font-size: .95rem;
  padding: .8rem 1rem; transition: border-color .2s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--pink); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--deep); }
.form-submit .btn { width: 100%; justify-content: center; display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #06040f;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: rgba(255,255,255,.5); }
.footer-brand span { color: var(--pink); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.25); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: .85rem;
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #site-nav { padding: 1rem 1.25rem; }
  #nav-desktop { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 768px) {
  .about-grid, .contact-inner, .gymnastics-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-highlights { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
