/* =========================
   Real Ale & Sea Shanty Festival
   Full style.css
   ========================= */

body {
  margin: 0;
  font-family: Georgia, serif;
  background: #f4f1ec;
  color: #1b1b1b;
}

a {
  color: inherit;
}

/* Layout rhythm (fix "lost padding") */
main {
  padding-top: 2.5rem;
}

main section {
  padding: 2.5rem 1.25rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

/* =========================
   HERO (Advert background)
   ========================= */

.hero-advert {
  position: relative;
  min-height: 420px;
  background-image: url("images/Shanty_Large.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  margin-bottom: 2rem;
  /* separates header from content */
}

.hero-overlay {
  background: rgba(10, 44, 93, 0.78);
  /* navy overlay */
  min-height: 420px;
  padding: 3rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.15;
}

.hero-tagline {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-style: italic;
  opacity: 0.95;
}

.hero-details {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* =========================
   NAV
   ========================= */

.nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.nav a.active {
  background: rgba(255, 255, 255, 0.35);
  font-weight: bold;
}

.nav .nav-cta {
  background: #d4af37;
  color: #000;
  font-weight: bold;
}

/* =========================
   CONTENT BLOCKS
   ========================= */

.times {
  background: #e8e2d8;
  border-left: 5px solid #0a2c5d;
  border-radius: 6px;
}

.featured ul {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 0;
}

.featured li {
  font-size: 1.1rem;
  margin: 0.55rem 0;
}

/* Google map responsive wrapper */
.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  border-radius: 8px;
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ticket buttons */
.tickets {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ticket-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ticket-btn {
  display: block;
  text-decoration: none;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: #d4af37;
  color: #000;
  font-weight: bold;
  text-align: center;
}

.ticket-btn span {
  display: block;
  margin-top: 0.35rem;
  font-weight: normal;
  opacity: 0.85;
}

/* Quick links cards */
.quick-links .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0 0 0.25rem;
}

.card p {
  margin: 0;
  opacity: 0.85;
}

/* Gallery */
.gallery .images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
}

.note {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Coming soon pages */
.coming-soon {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* =========================
   FOOTER
   ========================= */

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #0a2c5d;
  color: #fff;
}

footer a {
  color: #fff;
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */

@media (max-width: 520px) {
  .hero-overlay {
    padding: 2.25rem 1rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  main section {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
}