/* Reset and base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #022c57;
  color: #f0f0f0;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  padding: 0 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
header {
  text-align: center;
  padding: 1.5rem 0;
}

.hero-image {
  width: 75%;
  max-width: 500px;
  display: block;
  margin: 0 auto 1rem;
  object-fit: cover;
  height: 250px;
  object-position: center 47%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2.6rem;
  margin: 0.25rem 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e9e9e9;
}

.address {
  font-style: normal;
  font-weight: 400;
  color: #b0c7ff;
  letter-spacing: 0.05em;
  margin-top: 0;
  font-size: 1rem;
}

/* Center align all main sections */
.welcome,
.opening-hours,
.links,
.menus,
.contact {
  text-align: center;
}

/* Section headings */
h2 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #d1dffb;
  border-bottom: 2px solid #113a81;
  padding-bottom: 0.3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Section headings */
h3 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #d1dffb;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Section paragraphs */
.welcome p {
  margin: 0.8rem auto;
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.5;
  color: #dbe2f1;
}

/* Added semi-transparent background box to WELCOME section */ .background-box { background-color: rgba(10, 35, 70, 0.6); padding: 0.5rem 2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); margin-left: auto; margin-right: auto; max-width: 720px; }

/* PUBLIC HOLIDAY NOTICE BOX */
.public-holiday-box {
  background-color: #113a81;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 720px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.public-holiday-box h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #f0f6ff;
  letter-spacing: 0.05em;
}

.public-holiday-box p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #dbe2f5;
}


/* Mobile: reduce left and right padding */
@media (max-width: 600px) {
  .background-box {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Divider */
.divider {
  text-align: center;
  font-size: 1.2rem;
  margin: 1.5rem 0;
  letter-spacing: 0.2em;
  color: #8497c6;
  user-select: none;
}

/* Opening Hours */
.opening-hours .hours-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hours-column {
  flex: 1 1 45%;
  min-width: 250px;
  background-color: #022c57;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px #01172c;
  text-align: center;
}

.hours-column h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #c9d6ff;
}

/* Make address text in opening-hours blue */
.opening-hours .address-blue {
  color: #c9d6ff;
  font-weight: 600;
  margin: 0.6rem 0 1rem 0;
}

.hours-column p {
  margin: 0.3rem 0;
  font-size: 1rem;
  color: #ffffff;
}

.hours-column .small-text {
  font-size: 0.85rem;
  color: #a5b1cc;
  margin-top: 0.7rem;
}

/* Color of addresses in Opening Hours to match Headings */
.address-blue {
  color: #c9d6ff;
  font-weight: 600;
  margin: 0.6rem 0 1rem 0;
}

/* LINKS Section */
.links .link-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.links .link-buttons a img {
  width: 160px;
  max-width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.links .link-buttons a.takeaway-btn img,
.links .link-buttons a.gift-card-btn img {
  width: 140px;
}

.links .link-buttons a.book-now-btn img {
  width: 180px;
}

.links .link-buttons a:hover img,
.links .link-buttons a:focus img {
  transform: scale(1.05);
  outline: none;
  box-shadow: 0 0 8px #7a94d6;
}

.links-note {
  max-width: 720px;
  margin: 0 auto 2rem auto;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #a9b3d3;
  letter-spacing: 0.02em;
  text-align: center;
}

/* FUNCTIONS Section */
.functions {
  max-width: 720px;
  margin: 2rem auto 3rem auto;
  padding: 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
  color: #a9b3d3;
}

.functions h2 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #d1dffb;
}

/* MENUS Section */
.menus .menu-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.menu-img {
  width: 140px;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.menu-img:hover,
.menu-img:focus {
  transform: scale(1.05);
  outline: none;
  box-shadow: 0 0 10px #3c5ca5;
}

.menu-times {
  text-align: center;
  color: #c7d0e9;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
}

.menu-times p {
  margin: 0.3rem 0;
  font-weight: 600;
}

/* LIVE MUSIC Section */
.music {
  max-width: 720px;
  margin: 2rem auto 3rem auto;
  padding: 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
  color: #a9b3d3;
}

.music h2 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #d1dffb;
}

/* CONTACT Section */
.contact {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  font-size: 1rem;
  line-height: 1.5;
  color: #c1cde8;
  letter-spacing: 0.04em;
  text-align: center;
}

.contact p {
  margin: 0.6rem 0;
}

.contact strong {
  font-weight: 600;
  color: #f2f4fc;
}

.contact a {
  color: #a6bbff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact a:hover,
.contact a:focus {
  color: #e0e9ff;
  outline: none;
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-divider {
  border: 0;
  border-bottom: 4px solid #113a81;
  width: 100%;
  margin: 3rem 0 2rem 0;
}

/* Responsive */
@media (max-width: 600px) {
  .opening-hours .hours-container {
    flex-direction: column;
  }

  .hours-column {
    min-width: 100%;
  }

  .links .link-buttons {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  /* MENU section already updated previously to 2x2 */

  .menus .menu-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
  }

  /* LINKS section: rearrange buttons */
  .links .link-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .links .link-buttons a.takeaway-btn {
    order: 1;
    width: 100%;
    max-width: 160px;
  }

  .links .link-buttons a.book-now-btn,
  .links .link-buttons a.gift-card-btn {
    order: 2;
    display: inline-block;
    width: 48%;
    max-width: 140px;
  }
}

/* Added spacing between social icons in CONTACT section */
.contact p.social-icons a {
  margin-right: 1px;
  display: inline-block;
  vertical-align: middle;
}

.contact p.social-icons a:last-child {
  margin-right: 0;
}

@media (max-width: 600px) {
  .links .link-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .links .link-buttons .takeaway-row {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .links .link-buttons .takeaway-btn {
    max-width: 160px;
  }

  .links .link-buttons .book-gift-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .links .link-buttons .book-gift-row a {
    flex: 1;
    max-width: 140px;
  }
}

