/* ===== VARIABLES CSS ===== */
:root {
  /* Pizzicato Color System */
  --color-background: oklch(1 0 0); /* White */
  --color-foreground: oklch(0 0 0); /* Black */
  --color-primary: #9C0E42; /* Deep Blue #204066 */
  --color-primary-foreground: oklch(1 0 0);
  --color-accent:#FFF8F2; /* Beige/Dusty Gold #C7A78C */
  --color-accent-foreground: oklch(0 0 0);
  --color-input: oklch(0.95 0.02 320); /* Pale Pink/Lavender */
  --color-muted: oklch(0.96 0 0);
  --color-muted-foreground: oklch(0.45 0 0);
  --color-card: oklch(1 0 0);
  --color-border: oklch(0.9 0 0);

  /* Typography */
  --font-sans: Aptos, system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.functional-title {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
}

.btn-accent:hover {
  opacity: 0.9;
}

.btn-dark {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.btn-dark:hover {
  opacity: 0.9;
}

.btn-header {
  background-color: #FFF8F2;
  color: #2B2B2B;
}

.btn-header:hover {
  opacity: 0.9;
}

.btn-large {
  padding: 1.75rem 2.5rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER ===== */
.header {
  background-color: #9C0E42;
  color: var(--color-primary-foreground);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.header .logo-text {
  font-size: 1.875rem;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav-link {
  color: var(--color-primary-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 8rem 0 10rem;
  overflow: hidden;
  background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/imageHeader-SN7xyEjwUwzCYc0w8hyy36rGrzuPfj.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--color-foreground);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 10rem 0;
  }
  
  .hero-title {
    font-size: 6rem;
  }
  
  .hero-subtitle {
    font-size: 1.875rem;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 5rem 0;
  background-color: #D1DCCA ;
}

.about-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

.about-text {
  font-size: 1rem;
  color: var(--color-muted-foreground) ;
  margin-bottom: 1rem;
}

.about-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

@media (min-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
}

/* ===== EVENTS SECTION ===== */
.events-section {
  padding: 5rem 0;
  background-color: rgba(0, 0, 0, 0.02);
}

.section-title {
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-foreground);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

.event-card {
  background-color: var(--color-card);
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s;
}

.event-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.event-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-title {
  padding: 1rem;
  text-align: center;
}

.event-title h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-foreground);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--color-background);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.how-card {
  background-color: var(--color-card);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.how-card-title {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-foreground);
}

.step-content p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 1.5rem 0;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-description {
  font-size: 0.75rem;
  opacity: 0.9;
}

.footer-title {
  font-size: 0.65rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links a {
  color: var(--color-primary-foreground);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
}