/* ============================================
   Matteo Party – School Event Solutions
   Professional, colorful, clean, mobile-first
   ============================================ */

:root {
  --brand-color: #FF328B;
  --primary: var(--brand-color);
  --primary-dark: #e02878;
  --accent: #FF4B6E;
  --secondary: #2C3E50;
  --secondary-light: #3d566e;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --text: #2C3E50;
  --text-muted: #6c757d;
  --border: #e9ecef;
  --max-width: 1200px;
  --radius: 16px;
  --radius-btn: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(255, 50, 139, 0.18);
  --transition: 0.25s ease;
  --whatsapp: #25D366;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-color);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #e02878;
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-light);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo span {
  color: var(--primary);
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-list a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta {
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-btn);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: var(--radius-btn);
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.whatsapp-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.whatsapp-link svg {
  width: 24px;
  height: 24px;
}

.btn-store {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-store:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
  transition: var(--transition);
}

/* Mobile menu base – hidden on desktop */
.mobile-menu,
.mobile-overlay {
  display: none;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: #ff2b7a;
  color: #ffffff;
  border: 2px solid #ff2b7a;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover,
.hero .btn-primary:hover,
.cta-btn:hover {
  background: transparent;
  color: #ff2b7a;
  border: 2px solid #ff2b7a;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/hero-landing.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.55) 20%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.15) 80%,
    rgba(0,0,0,0.05) 100%
  );
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 24px;
}

/* default: mobile hero image hidden, only used on small screens */
.hero-mobile-image {
  display: none;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero .hero-sub,
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero .btn,
.hero a.button,
.hero .cta-button {
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ========== INNER PAGE HERO (match landing hero layout) ========== */
.hero--inner {
  position: relative;
  min-height: 650px; /* same as landing hero */
}

.hero--inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.55) 20%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.15) 80%,
    rgba(0,0,0,0.05) 100%
  );
  z-index: 0;
}

.hero--inner > * {
  position: relative;
  z-index: 1;
}

.hero--inner .hero-content {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  padding: 30px 50px;
  border-radius: 10px;
  color: white;
  text-align: center;
  z-index: 2;
}

/* ========== SPORTS DAY SPLIT HERO ========== */
.sports-hero {
  display: flex;
  height: 66vh;
  min-height: 520px;
  width: 100%;
}

.sports-hero-left {
  flex: 5;
  min-width: 0;
}

.sports-hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sports-hero-right {
  flex: 3;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #c41e6e 100%);
}

.sports-hero-right .hero-text {
  max-width: 480px;
  color: #fff;
  text-align: left;
}

.sports-hero-right .hero-text h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}

.sports-hero-right .hero-text p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.95;
}

.sports-hero-right .hero-button {
  display: inline-block;
  padding: 14px 28px;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sports-hero-right .hero-button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .sports-hero {
    flex-direction: column;
    min-height: auto;
    height: auto;
  }

  .sports-hero-left {
    min-height: 280px;
  }

  .sports-hero-left img {
    min-height: 280px;
  }

  .sports-hero-right {
    padding: 48px 24px;
  }
}

/* ========== EVENT CARDS GRID ========== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.event-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.event-card:hover {
  border-color: var(--brand-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-card a {
  display: block;
  color: inherit;
}

.event-card .card-image {
  height: 180px;
  overflow: hidden;
}

.page-graduation .event-card .card-image {
  height: 225px; /* 25% increase from 180px */
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--brand-color) 0%, #ff5ba0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.95);
}

.event-card:nth-child(2) .event-card-img { background: linear-gradient(135deg, var(--secondary) 0%, #4a6fa5 100%); }
.event-card:nth-child(3) .event-card-img { background: linear-gradient(135deg, #1a7f4a 0%, #2ecc71 100%); }
.event-card:nth-child(4) .event-card-img { background: linear-gradient(135deg, #7b3a9e 0%, #9b59b6 100%); }
.event-card:nth-child(5) .event-card-img { background: linear-gradient(135deg, #c45a1a 0%, #f39c12 100%); }
.event-card:nth-child(6) .event-card-img { background: linear-gradient(135deg, #2980b9 0%, #5dade2 100%); }

.event-card-body {
  padding: 26px;
}

.event-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* Landing: Event Solutions card titles in pink */
#solutions .event-card h3 {
  color: #ff4f8b;
}

.event-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== SPORTS DAY PLANNING ESSENTIALS ========== */
.planning-essentials .sports-banner {
  width: 100%;
  margin: 40px 0 50px 0;
}

.planning-essentials .sports-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.planning-essentials .planning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
  justify-content: center;
  margin-top: 40px;
}

.planning-essentials .planning-grid .planning-card {
  padding: 32px;
  border-radius: 20px;
  background: #f8f8f8;
  max-width: 360px;
  width: 100%;
}

/* Sports Day: match site list bullets inside cards */
.planning-essentials .planning-grid .planning-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 12px;
}

.planning-essentials .planning-grid .planning-card li {
  margin-bottom: 6px;
}

.planning-essentials .planning-grid .planning-card ul li {
  padding-left: 0;
}

.planning-essentials .planning-grid .planning-card ul li::before {
  content: none;
}

.planning-essentials .planning-grid .planning-card .planning-card-body {
  padding: 0;
}

/* Sports Day: pink bullet markers */
.planning-essentials .planning-grid .planning-card ul li::marker {
  color: #ff4f8b;
}

.planning-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.planning-card:hover {
  border-color: #ff4f8b;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.planning-card .card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Back-to-School: square card images only on this page */
.back-to-school .event-grid .event-card .card-image {
  height: auto;
}

.back-to-school .event-grid .event-card .card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

/* Souvenirs: match Graduation-style card images */
.souvenir-page .sports-planning .event-grid .card-image {
  height: 220px;
  overflow: hidden;
}

.souvenir-page .sports-planning .event-grid .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none;
}

.planning-card-body {
  padding: 26px;
}

.planning-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.sports-planning h3 {
  color: #ff3c8e;
}

.planning-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.planning-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.planning-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.planning-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 992px) {
  .planning-essentials .planning-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .planning-essentials .planning-grid {
    grid-template-columns: 1fr;
  }
}

.sports-cta {
  text-align: center;
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sports-cta-text {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.sports-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-contact {
  background: #ff3c8e;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.cta-whatsapp {
  background: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* ========== BROWSE CTA (EVENT PAGES) ========== */
.browse-cta-wrap {
  text-align: center;
  margin: 32px 0 48px;
}

.browse-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.browse-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: var(--shadow-hover);
}

/* ========== WHY CHOOSE US (4 COLUMNS) ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
}

.why-item {
  padding: 24px 16px;
}

.why-icon {
  margin: 0 auto 18px;
  border-radius: 16px;
  overflow: hidden;
}

.why-icon img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.why-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== CASE REFERENCE ========== */
.case-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.case-image {
}

.school-image {
  width: 100%;
  max-width: 520px;
}

.school-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.school-section {
  padding: 80px 0;
}

.school-events {
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.school-events li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}

.store-btn{
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #ff2c7d;
  color: #fff;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: all .2s ease;
}

.store-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,44,125,0.35);
}

.case-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.case-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========== CUSTOMIZATION SECTION (HOME) ========== */
.custom-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.custom-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--secondary);
}

.custom-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  margin: 0 24px 80px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.cta-section p {
  opacity: 0.95;
  margin-bottom: 24px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* ========== CTA BANNER ABOVE FOOTER ========== */
.cta-banner{
  background: #000;
  padding: 80px 0 0 0;
}

.cta-container{
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-image{
  flex: 1;
}

.cta-image img{
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: block;
}

.cta-text{
  flex: 1;
  color: white;
}

.cta-text h2{
  font-size: 42px;
  margin-bottom: 20px;
}

.cta-text p{
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.85;
}

.cta-buttons{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
}

.cta-button{
  background: #ff3b8d;
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #ff3b8d;
  transition: all 0.25s ease;
}

.cta-button:hover{
  background: white;
  color: #ff3b8d;
}

.whatsapp-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
}

.whatsapp-button img{
  width: 22px;
  height: 22px;
  display: block;
}

/* ========== PAGE HERO (INTERNAL PAGES) ========== */
.page-hero {
  position: relative;
  height: 520px;
  padding: 60px 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, #fdf5fc 0%, #f8e8f5 40%, #fff 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero h1,
.page-hero p {
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

.page-hero .subtitle {
  font-size: 1.1rem;
  color: #fff;
  max-width: 560px;
  margin: 0 auto;
}

/* Contact page hero override */
.page-contact .page-hero {
  height: 220px;
  padding: 0 24px;
  background: #ff4f8b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact .page-hero::before {
  background: transparent;
}

.page-contact .page-hero h1,
.page-contact .page-hero p {
  color: #fff;
  text-shadow: none;
}

/* ========== CONTENT SECTIONS (EVENT PAGES) ========== */
.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.supply-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.supply-list li {
  padding: 10px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-btn);
  font-weight: 500;
  color: var(--secondary);
}

.deco-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.deco-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--secondary);
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card-img {
  height: 160px;
  background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Graduation page: show full product images without cropping */
.page-graduation .product-card-img img {
  object-fit: contain;
  background: #fff;
}

.popular-products-section .product-grid {
  grid-template-columns: repeat(5, 1fr);
}

.product-card-body {
  padding: 16px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
  min-height: 2.4em;
}

/* Customization products grid */
.customization-products .customization-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.customization-products .product-item {
  text-align: center;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.25s ease;
  padding: 0 12px 16px 12px;
}

.customization-products .product-item:hover {
  transform: translateY(-6px);
  border-color: #ff4fa3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.customization-products .product-item img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 -12px 0 -12px;
  transition: transform 0.25s ease;
}

.customization-products .product-item:hover img {
  transform: scale(1.02);
}

.customization-products .product-item h4 {
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wristband-title {
  color: #ff4f8b;
}

.souvenirs-title {
  color: #ff4f8b;
}

.house-flags-title {
  color: #ff4f8b;
}

.customization-button-container {
  margin-top: 60px;
  text-align: center;
}

.product-card .btn {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
}

/* ========== CUSTOMIZATION PAGE SECTIONS ========== */
.category-block {
  margin-bottom: 48px;
}

.category-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.category-block ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.category-block li {
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-btn);
  border-left: 4px solid var(--primary);
}

/* ========== WORKSHOP PAGE ========== */
.workshop-content {
  max-width: 720px;
  margin: 0 auto;
}

.workshop-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 32px 0 16px;
}

.workshop-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ========== CONTACT FORM ========== */
.form-section {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(167, 58, 140, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-section .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 8px;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  flex: 0 0 auto;
}

.footer-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-nav a {
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand-color);
}

.footer-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #ff3b8d;
  color: white;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #ff3b8d;
  transition: all 0.25s ease;
}

.footer-store-btn:hover {
  background: white;
  color: #ff3b8d;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 30px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  opacity: 0.8;
  color: #cccccc;
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .case-section {
    grid-template-columns: 1fr;
  }
  .case-image {
    order: -1;
    height: 240px;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    margin-left: auto;
    gap: 10px;
  }

  /* Hide header Contact button on mobile (all pages, including home) */
  body:not(.home) .header-contact-btn,
  body.home .header-contact-btn {
    display: none;
  }

  /* Slide-in mobile menu from right */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 66%;
    height: 100vh;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    transition: right 0.35s ease;
    z-index: 999;
    padding: 90px 30px 40px 30px;
    display: block;
  }

  .mobile-menu.open {
    right: 0;
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mobile-links a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-links a:hover {
    color: var(--primary);
  }

  .mobile-contact {
    position: absolute;
    bottom: 40px;
    left: 30px;
    right: 30px;
  }

  .mobile-contact-btn {
    display: block;
    text-align: center;
    background: #ff4f8b;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-contact-btn:hover {
    background: #000;
    color: #fff;
    border: 2px solid #000;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 998;
    display: none;
  }

  .mobile-overlay.open {
    display: block;
  }

  .section {
    padding: 56px 0;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-center {
    justify-content: flex-start;
  }

  .cta-container{
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2{
    font-size: 32px;
  }

  .customization-products .customization-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .popular-products-section .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .popular-products-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Landing hero: image on top, pink block below */
  .hero {
    min-height: auto;
    display: block;
    background: none;
  }

  .hero::before {
    display: none;
  }

  .hero-mobile-image {
    display: block;
    width: 100%;
    min-height: 280px;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    background: #ff4f8b;
    padding: 40px 24px;
    text-align: center;
    color: #fff;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 12px;
    text-shadow: none;
  }

  .hero .hero-sub,
  .hero p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    text-shadow: none;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
  }

  .hero-buttons .btn {
    width: auto;
  }

  /* Hide Contact button in mobile hero */
  .hero .btn.btn-outline {
    display: none;
  }

  /* Primary hero button – black style on mobile */
  .hero .btn.btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    display: inline-block;
    width: auto;
    padding: 14px 28px;
  }

  .hero .btn.btn-primary:hover {
    background: transparent;
    color: #000;
    border-color: #000;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .cta-section {
    margin-left: 16px;
    margin-right: 16px;
    padding: 48px 20px;
  }

  .customization-products .customization-product-grid {
    grid-template-columns: 1fr;
  }

  .popular-products-section .product-grid {
    grid-template-columns: 1fr;
  }
}

  .poster-carousel__track {
    gap: 0;
  }

  .poster-slide {
    width: min(420px, calc(100vw - 56px));
    margin-left: 0;
  }

  /* Mobile: show only the center poster */
  .poster-slide.is-near,
  .poster-slide.is-far {
    opacity: 0;
    pointer-events: none;
  }

  .poster-slide.is-center {
    opacity: 1;
  }
}

/* ========== SPORTS DAY POSTERS (FIXED 7 POSITIONS) ========== */

.sports-fixed-viewport {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  height: 560px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.sports-fixed-viewport.is-dragging {
  cursor: grabbing;
}

.sports-fixed-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
}

.sports-fixed-stage.is-snapping {
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sports-fixed-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 305px; /* reduced from 340px (≈ -10%) */
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  transform-origin: center center;
  box-shadow: 0 18px 38px rgba(0,0,0,0.18);
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sports-fixed-poster img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fixed position rules */
.sports-fixed-poster.pos-far-left {
  transform: translate3d(calc(-50% - 760px), -50%, 0) scale(0.55);
  z-index: 2;
}

.sports-fixed-poster.pos-left {
  transform: translate3d(calc(-50% - 520px), -50%, 0) scale(0.70);
  z-index: 3;
}

.sports-fixed-poster.pos-mid-left {
  transform: translate3d(calc(-50% - 260px), -50%, 0) scale(0.85);
  z-index: 4;
}

.sports-fixed-poster.pos-center {
  transform: translate3d(-50%, -50%, 0) scale(1);
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.sports-fixed-poster.pos-mid-right {
  transform: translate3d(calc(-50% + 260px), -50%, 0) scale(0.85);
  z-index: 4;
}

.sports-fixed-poster.pos-right {
  transform: translate3d(calc(-50% + 520px), -50%, 0) scale(0.70);
  z-index: 3;
}

.sports-fixed-poster.pos-far-right {
  transform: translate3d(calc(-50% + 760px), -50%, 0) scale(0.55);
  z-index: 2;
}

@media (max-width: 1024px) {
  .sports-fixed-viewport {
    height: 520px;
  }
  .sports-fixed-poster {
    width: 320px;
  }
  .sports-fixed-poster.pos-far-left { transform: translate3d(calc(-50% - 560px), -50%, 0) scale(0.55); }
  .sports-fixed-poster.pos-left { transform: translate3d(calc(-50% - 380px), -50%, 0) scale(0.70); }
  .sports-fixed-poster.pos-mid-left { transform: translate3d(calc(-50% - 190px), -50%, 0) scale(0.85); }
  .sports-fixed-poster.pos-center { transform: translate3d(-50%, -50%, 0) scale(1); }
  .sports-fixed-poster.pos-mid-right { transform: translate3d(calc(-50% + 190px), -50%, 0) scale(0.85); }
  .sports-fixed-poster.pos-right { transform: translate3d(calc(-50% + 380px), -50%, 0) scale(0.70); }
  .sports-fixed-poster.pos-far-right { transform: translate3d(calc(-50% + 560px), -50%, 0) scale(0.55); }
}

@media (max-width: 768px) {
  .sports-fixed-viewport {
    height: 480px;
  }
  .sports-fixed-poster {
    width: 340px;
  }
  .sports-fixed-poster.pos-far-left,
  .sports-fixed-poster.pos-left,
  .sports-fixed-poster.pos-mid-left,
  .sports-fixed-poster.pos-mid-right,
  .sports-fixed-poster.pos-right,
  .sports-fixed-poster.pos-far-right {
    transform: translate3d(-50%, -50%, 0) scale(0.85);
    z-index: 1;
    box-shadow: 0 18px 38px rgba(0,0,0,0.18);
  }
  .sports-fixed-poster.pos-center {
    transform: translate3d(-50%, -50%, 0) scale(1);
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  }
}


