/* Open Tennis Tour Mazatlán - LIV Style (Light Mode) */

:root {
  /* High Energy Light Theme */
  --volt: #D1FF00;
  /* Signature Electric Green */
  --bg-main: #FFFFFF;
  /* Pure White */
  --bg-alt: #F7F7F7;
  /* Light Gray for sections */
  --card-bg: #FFFFFF;

  --text-main: #000000;
  --text-muted: #666666;
  --text-inverse: #000000;
  /* Text on Volt buttons */

  --border: #E0E0E0;

  /* Typography */
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* REUSABLE */
.container {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin: 0 auto;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
}

.h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 1px;
}

.h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  /* Gray instead of Volt on white for readability */
  border-bottom: 2px solid var(--volt);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--volt);
  color: var(--text-inverse);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--volt);
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--text-main);
  color: var(--volt);
  border-color: var(--text-main);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--text-main);
  color: var(--text-main);
}

.btn--ghost:hover {
  background: var(--text-main);
  color: var(--bg-main);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--volt);
  padding: 15px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand__title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.brand__subtitle {
  display: block;
  font-size: 0.9rem;
  color: #666;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-main);
}

.nav a:hover {
  color: #888;
  text-decoration: underline;
  text-decoration-color: var(--volt);
  text-underline-offset: 4px;
}

.navToggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.navToggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-main);
  margin: 5px 0;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-alt);
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Light overlay on placeholder */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5)),
    url('https://placehold.it/1920x1080/eeeeee/cccccc?text=MAZATLAN+OPEN');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero__h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--text-main);
  /* Outline style for "TOUR" */
}

.hero__lead {
  font-size: 1.25rem;
  max-width: 600px;
  color: var(--text-main);
  margin-bottom: 2rem;
  border-left: 4px solid var(--volt);
  padding-left: 1rem;
}

.hero__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  background: var(--bg-main);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  /* Pop shadow */
}

.badge--volt {
  background: var(--volt);
  border-color: var(--volt);
  color: black;
}

.hero__cta {
  display: flex;
  gap: 15px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

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

.sectionHead {
  margin-bottom: 40px;
}

/* CARDS */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cards2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 30px;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--text-main);
}

/* DECORATIVE LINE ON CARD HOVER */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--volt);
  transition: width 0.3s;
}

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

/* EVENTS TAGS */
article.card .tag {
  display: inline-block;
  background: var(--text-main);
  color: var(--volt);
  padding: 5px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* MEDIA CARD */
.mediaCard {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.mediaCard:hover {
  transform: none;
  box-shadow: none;
}

.mediaCard__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 4px solid var(--volt);
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-left: 4px solid #ddd;
}

.step:hover {
  border-left-color: var(--volt);
}

.step__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #ddd;
  line-height: 1;
}

.step:hover .step__num {
  color: var(--volt);
  text-shadow: 1px 1px 0 black;
}

/* PRICING */
.plan {
  background: var(--bg-main);
  border: 1px solid var(--border);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.plan--primary {
  border: 2px solid var(--text-main);
}

.price__v {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--text-main);
  margin: 10px 0;
}

/* FOOTER */
.footer {
  background: var(--bg-alt);
  padding: 80px 0 40px;
  border-top: 10px solid var(--volt);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__k {
  font-family: var(--font-head);
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer__v {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__note {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 0.8rem;
}

.cta {
  background: var(--text-main);
  color: white;
  padding: 60px 0;
}

.cta__title {
  color: white;
}

.cta__text {
  color: #ccc;
}

.cta .btn {
  background: var(--volt);
  color: black;
  border: none;
}

.cta .btn:hover {
  background: white;
}


/* RESPONSIVE */
.mobileNav {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobileNav a {
  display: block;
  padding: 15px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .navToggle {
    display: block;
  }

  .grid2,
  .cards2,
  .cards3,
  .footer__cols {
    grid-template-columns: 1fr;
  }

  .hero__h1 {
    font-size: 3rem;
  }
}