/* =============================================
   Sports Linguine — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --yellow:  #F5C800;
  --red:     #E8372A;
  --green:   #2D6A4F;
  --cream:   #FFF8EE;
  --dark:    #1A1A1A;
  --mid:     #444444;
  --light:   #F0EBE3;
  --white:   #FFFFFF;
  --radius:  12px;
  --shadow:  4px 4px 0px var(--dark);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p { font-size: 1.05rem; color: var(--mid); }

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

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ── Navbar ── */
nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--yellow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--yellow);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--white);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid var(--dark);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--dark);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--dark);
}

.btn-primary   { background: var(--yellow); color: var(--dark); }
.btn-secondary { background: var(--red);    color: var(--white); }
.btn-outline   { background: transparent;   color: var(--dark); }
.btn-green     { background: var(--green);  color: var(--white); }

/* ── Tags / Pills ── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--dark);
}

.tag-yellow { background: var(--yellow); }
.tag-red    { background: var(--red);   color: var(--white); }
.tag-green  { background: var(--green); color: var(--white); }
.tag-light  { background: var(--light); }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 2px solid var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--dark);
}

/* ── Section Headers ── */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 600px;
}

/* ── Decorative Stripe ── */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0px, var(--yellow) 20px,
    var(--red) 20px, var(--red) 40px,
    var(--green) 40px, var(--green) 60px,
    var(--dark) 60px, var(--dark) 80px
  );
}

/* ── Footer ── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.footer-brand .nav-logo { font-size: 1.6rem; margin-bottom: 0.75rem; display: block; }
.footer-brand p { color: #aaa; font-size: 0.9rem; }

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #ccc; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }

.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid #555;
  border-radius: 100px;
  color: #ccc;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}

.social-links a:hover { border-color: var(--yellow); color: var(--yellow); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
}

/* ── Placeholder image ── */
.img-placeholder {
  background: var(--light);
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); padding: 1rem 1.5rem; gap: 1rem; border-bottom: 3px solid var(--yellow); }
  .nav-links.open { display: flex; }
  .nav-menu-btn { display: flex; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
