@import url('style.css');

/* BASE (page background — the rest is inherited from style.css) */
body {
  color: var(--text);
  background: #fffaf7;
  overflow-x: hidden;
  line-height: 1.6;
}

/* HERO */
.events-hero {
  background: linear-gradient(180deg, #fff, #fff9f5);
  text-align: center;
  padding: 140px 20px 100px;
}
.events-hero h1 {
  font-size: 2.8rem;
  color: var(--accent1);
}
.events-hero p {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
}

/* UPCOMING EVENTS */
.upcoming {
  padding: 100px 20px;
  background: #fff;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
}
.upcoming h2 {
  text-align: center;
  color: var(--accent4);
  margin-bottom: 60px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.event-card {
  background: #fffaf8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.event-card h3 {
  color: var(--accent1);
  margin-bottom: 8px;
}
.event-card .date {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* GALLERY */
.past-events {
  background: linear-gradient(180deg, #fefbf8, #fff);
  padding: 100px 20px;
  text-align: center;
}
.past-events h2 {
  color: var(--accent3);
  margin-bottom: 50px;
}
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.gallery img {
  width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* PRESS */
.press {
  padding: 100px 20px;
  background: #fff;
}
.press h2 {
  text-align: center;
  color: var(--accent4);
  margin-bottom: 40px;
}
.reviews {
  max-width: var(--maxw);
  margin: 0 auto 40px;
}
blockquote {
  font-style: italic;
  background: #fefaf6;
  padding: 24px 30px;
  border-left: 4px solid var(--accent1);
  margin-bottom: 24px;
  border-radius: var(--radius);
}
blockquote span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}
.media-links {
  text-align: center;
}
.media-links a {
  display: inline-block;
  margin: 8px 12px;
  text-decoration: none;
  color: var(--accent4);
  font-weight: 600;
  transition: color 0.3s ease;
}
.media-links a:hover {
  color: var(--accent1);
}

/* CONTACT */
.contact {
  background: var(--accent3);
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact p {
  max-width: 600px;
  margin: 0 auto 30px;
}
.contact-form,
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
  margin: 0 auto 40px;
}
.contact-form input,
.contact-form textarea,
.newsletter-form input {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
}
.contact-form button,
.newsletter-form button {
  padding: 12px 20px;
  background: turquoise;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.contact-form button:hover,
.newsletter-form button:hover {
  background: var(--accent1);
  color: #fff;
}

/* FOOTER (page-specific override) */
footer {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .events-hero h1 {
    font-size: 2.2rem;
  }
  .event-card {
    text-align: center;
  }
  .gallery img {
    width: 90%;
    max-width: 320px;
  }
}