/* Printed Moments */
@font-face {
  font-family: "printed-moments";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/printed-moments/printed-moments.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/printed-moments/printed-moments.ttf")
      format("ttf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/printed-moments/printed-moments.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/printed-moments/printed-moments.woff2")
      format("woff2");
}

/* Made Coachella */
@font-face {
  font-family: "made-coachella-black";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/black/made-coachella-black.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/black/made-coachella-black.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/black/made-coachella-black.woff2")
      format("woff2");
}

@font-face {
  font-family: "made-coachella-bold";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/bold/made-coachella-bold.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/bold/made-coachella-bold.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/bold/made-coachella-bold.woff2")
      format("woff2");
}

@font-face {
  font-family: "made-coachella-light";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/light/made-coachella-light.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/light/made-coachella-light.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/light/made-coachella-light.woff2")
      format("woff2");
}

@font-face {
  font-family: "made-coachella-medium";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/medium/made-coachella-medium.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/medium/made-coachella-medium.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/medium/made-coachella-medium.woff2")
      format("woff2");
}

@font-face {
  font-family: "made-coachella-regular";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/regular/made-coachella-regular.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/regular/made-coachella-regular.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/regular/made-coachella-regular.woff2")
      format("woff2");
}

@font-face {
  font-family: "made-coachella-thin";
  src: url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/thin/made-coachella-thin.otf")
      format("otf"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/thin/made-coachella-thin.woff")
      format("woff"),
    url("https://impuk-thov.thehubonverulam.com/fonts/made-coachella/thin/made-coachella-thin.woff2")
      format("woff2");
}

/* --- GLOBAL RESETS & TYPOGRAPHY --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif; /* Primary Font */
  background-color: #fafaee; /* Off-white background from screenshots */
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Reusable Button Styles */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

a,
button {
  cursor: pointer;
}

.btn-dark {
  background-color: #1a262d; /* Dark slate blue/black */
  color: #ffffff;
}

.btn-dark:hover {
  opacity: 0.8;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Ensures the video doesn't spill out */
}

/* Video Background Styling */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes the video fill the container like background-size: cover */
  z-index: -1; /* Pushes the video behind your content */
  pointer-events: none; /* Prevents users from accidentally right-clicking or pausing the video */
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 50px;
  display: flex;
  align-items: flex-start;
  z-index: 100; /* Boosted z-index to ensure dropdown is on top */
}

.logo img.logo-home {
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  width: 150px;
  z-index: 101; /* Keeps logo visible if dropdown overlaps */
}

.logo img {
  position: absolute;
  left: 50%;
  top: 6rem;
  transform: translateX(-50%);
  width: 75px;
  z-index: 101; /* Keeps logo visible if dropdown overlaps */
}

.nav-buttons {
  display: flex;
  gap: 15px;
  margin-left: auto; /* Pushes the buttons to the far right */
}

/* --- HAMBURGER BUTTON (Hidden on Desktop) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102; /* Keeps hamburger clickable above the menu */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1a262d; /* Change to #fff if your video background is dark */
  transition: all 0.3s ease;
}

.hero-content {
  color: white;
  z-index: 1; /* Keeps text above the video */
  position: relative;
}

.script-title {
  font-family: "printed-moments", cursive;
  font-size: 3.8rem;
  font-weight: 400;
  margin-bottom: -20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.main-title {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.scroll-down {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  color: #333;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- INTRO SECTION --- */
.intro-section {
  position: relative;
  padding: 100px 20px 0;
  text-align: center;
  overflow-x: clip;
}

.bottom-text-section {
  position: relative;
  padding: 100px 20px 100px;
  text-align: center;
  overflow-x: clip;
}

/* Subtle curved line decoration placeholder */
.background-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  transform: translate(55%, -35%);
  pointer-events: none;
  opacity: 0.5;
  z-index: -1;
  overflow: hidden;
}

.background-decor img {
  width: 100%;
  height: 100%;
}

.intro-text {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.intro-text h1,
.intro-text h2,
.bottom-text h2 {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 4px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #222;
}

.intro-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.intro-image-container {
  display: grid;
  max-width: 1600px;
  height: 800px;
  margin: 100px auto 0;
  position: relative;
}

.intro-image-container .corner-deco {
  background-color: #28321a;
  position: absolute;
  top: -2rem;
  left: -2rem;
  border-radius: 20px;
  padding: 2rem;
  width: 40%;
  height: 50%;
  grid-area: 1 / 1;
  z-index: 2;
  pointer-events: none; /* So it doesn't block clicks */
}

/* Base styles for all slides */
.gallery-slide {
  grid-area: 1 / 1; /* Forces all images to sit in the exact same spot */
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the space nicely */

  /* Fade animation setup */
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* Smooth, slow luxury fade */
  z-index: 1;
}

/* Only the active slide is visible */
.gallery-slide.active {
  opacity: 1;
}

.featured-image {
  width: 100%;
  height: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 10;
}

/* --- EVENTS SECTION --- */
.events-section {
  /* Made full-width to allow the right side to bleed */
  margin: 80px 0;
  width: 100%;
  overflow: hidden; /* Keeps the horizontal scroll contained to the grid row */
}

.events-header {
  /* Constrain the header to your original center grid */
  max-width: 1600px;
  margin: 0 auto 30px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.events-header h3 {
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: #222;
  font-weight: 400;
}

.events-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.view-all {
  color: #333;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid #333;
  margin-right: 15px;
}

.nav-arrow {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.nav-arrow:hover {
  background: #eaeaea;
}

/* --- UPDATED GRID LAYOUT FOR RIGHT BLEED --- */
.events-grid {
  display: flex;
  gap: 20px;
  padding-left: max(20px, calc(50% - 800px + 20px));
  padding-right: 40px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */

  /* NEW STYLES */
  cursor: grab; /* Shows the open hand icon */
  scroll-behavior: smooth; /* Makes the button clicks glide smoothly */
}

/* Important: This turns off smooth scrolling while dragging, otherwise it lags */
.events-grid.active {
  cursor: grabbing; /* Shows the closed hand icon */
  scroll-behavior: auto;
}

.events-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Update your existing event-card */
.event-card {
  background: transparent;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  flex: 0 0 386px;

  /* NEW STYLES */
  user-select: none; /* Prevents text from highlighting while dragging */
  -webkit-user-drag: none; /* Prevents images from natively dragging */
}

a.event-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
/* Add this part */
.events-grid.grabbing {
  cursor: grabbing;
}
.events-grid.grabbing a {
  cursor: grabbing;
}

.card-image {
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 15px;
  /* background: #faf8f5; */
}

.card-content h4 {
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 600;
}

.card-content p {
  font-size: 0.75rem;
  color: #777;
}

/* --- FIXED BOTTOM NAVIGATION --- */
.fixed-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fafaee; /* Matches your off-white background */
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px;
  z-index: 1000; /* Keeps it on top of all other content */
  border-top: 1px solid #e5e5e5; /* Subtle line to separate it from page content */
}

.fixed-bottom-nav .btn-outline, .nav-buttons.active .btn-outline{
  background-color: #fafaee;
}

/* Adjust base button for the bottom nav */
.fixed-bottom-nav .btn {
  padding: 10px 20px;
  font-size: 0.75rem; /* Slightly smaller text for the bottom nav */
  text-transform: uppercase;
  border: 1px solid transparent; /* Prevents jumping when swapping to outline */
}

/* New Outline Button Style (for HOME) */
.btn-outline {
  background-color: transparent;
  color: #1a262d;
  border: 1px solid #1a262d !important; /* Force the border */
}

.btn-outline:hover {
  background-color: #eaeaea;
}

/* Make sure the dark buttons have a matching border size so heights align */
.fixed-bottom-nav .btn-dark {
  border: 1px solid #1a262d;
}

/* Add padding to the bottom of the body so you can scroll past the fixed nav */
body {
  padding-bottom: 70px;
}

/* --- FOOD AND DRINK SECTION --- */
.food-drink-section {
  max-width: 1400px;
  margin: 150px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fd-content {
  width: 35%;
  padding-top: 0;
}

/* Using a generic serif fallback, apply your specific font family here */
.title {
  font-size: 3rem;
  font-weight: 400;
  color: #1a262d;
  line-height: 1.1;
  margin-bottom: 20px;
}

.fd-content p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: unset;
  padding-right: 2rem;
}

.private-hire-section .fd-content p {
  max-width: unset;
  padding-right: 2rem;
}

/* Minimalist text button */
.btn-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a262d;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.btn-text:hover {
  opacity: 0.7;
}

.btn-margin-btm {
  margin-bottom: 30px;
  display: block;
}

/* --- MENU BUTTONS LAYOUT --- */
.bottom-text-btns {
  display: flex;
  flex-wrap: wrap; /* Allows the buttons to naturally wrap to the next line */
  gap: 15px; /* Creates perfectly even space between all buttons */
  margin-top: 30px; /* Gives some breathing room from the paragraph above */
}

/* Optional: Ensure your buttons have a consistent, clean display behavior */
.bottom-text-btns .btn {
  margin: 0; /* Resets any lingering margins so 'gap' does all the work */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Image Container Layout */
.fd-images {
  width: 55%;
  position: relative;
}

.fd-large-img {
  width: 100%;
  height: auto;
  display: block;
}

.fd-small-img {
  position: absolute;
  width: 75%; /* Scales relative to the large image container */
  left: -20%; /* Pulls it over to overlap the empty space on the left */

  /* THE PARALLAX OFFSET: Starts 150px lower than the large image */
  top: 150px;

  /* Hardware acceleration for smooth scrolling */
  will-change: transform;
}

/* --- MEMBERSHIP SECTION --- */
.membership-section {
  max-width: 1400px;
  margin: 150px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  /* Default flex behavior makes both columns the same height */
}

.membership-image {
  width: 50%;
}

.membership-image img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-us-section .membership-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 700px;
}

.membership-content {
  width: 50%;
  position: relative; /* Context for the sticky element */
}

.contact-us {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* The magic sticky class */
.sticky-text {
  position: -webkit-sticky; /* For Safari support */
  position: sticky;

  /* This defines where it locks onto the viewport. 
       40px gives it a little breathing room from the very top edge. */
  top: 40px;

  padding-top: 20px;
}

.sticky-text p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px; /* Keeps the paragraph lines short and readable */
}
.text p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px; /* Keeps the paragraph lines short and readable */
}

.text a {
  color: #444;
}

/* --- FOOTER SECTION --- */
.site-footer {
  background-color: #fafaee; /* Matches your background */
  border-top: 1px solid #e5e5e5; /* Top dividing line */
  padding: 80px 20px 40px; /* Generous top padding */
  color: #1a262d;

  /* Ensure it sits above the fixed nav area but below content */
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px; /* Space between links and bottom copyright */
}

/* Logo takes up the left third */
.footer-logo {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

/* Links take up the right portion */
.footer-links {
  width: 60%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: #1a262d;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: #444;
}

.footer-list a {
  color: #444;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-list a:hover {
  opacity: 0.6;
}

/* Bottom Legal Section */
.footer-bottom {
  border-top: 1px solid #e5e5e5; /* Dividing line above copyright */
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal p {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.5px;
}

.footer-icon img {
  height: 100px;
  width: auto;
  display: block;
}

.footer-logo img {
  width: 100px;
}

.stacking-content h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #1a262d;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .title {
    font-size: 2.5rem;
  }
}
@media (max-width: 992px) {
  .main-title {
    font-size: 2.5rem;
  }
  .script-title {
    font-size: 4rem;
  }
  .intro-text h1,
  .intro-text h2,
  .bottom-text h2 {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .food-drink-section {
    flex-direction: column;
    margin: 80px auto;
  }
  .fd-content {
    width: 100%;
    margin-bottom: 50px;
  }
  .fd-images {
    width: 80%;
    margin: 0 auto;
  }
  .fd-small-img {
    left: -20%;
  }

  .membership-section {
    flex-direction: column-reverse;
    margin: 80px auto;
  }

  .membership-image,
  .membership-content {
    width: 100%;
  }

  /* Turn off sticky on mobile since the layout is stacked */
  .sticky-text {
    position: relative;
    top: 0;
    padding-top: 40px;
  }

  .sticky-text p,
  .text p {
    max-width: 800px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-logo {
    width: 100%;
    margin-bottom: 50px;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap; /* Allows columns to wrap on smaller tablets */
  }

  .footer-column {
    min-width: 200px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .fixed-bottom-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 20px; /* Space for mobile scrollbar */
  }

  .fixed-bottom-nav .btn {
    white-space: nowrap; /* Stops button text from wrapping */
  }

  .footer-links {
    flex-direction: column;
    gap: 0;
  }

  .footer-bottom {
    flex-direction: column-reverse; /* Puts icon above text on mobile */
    gap: 20px;
    align-items: flex-start;
  }

  .footer-legal p {
    line-height: 1.6;
  }

  /* Ensure padding for fixed nav exists */
  body {
    padding-bottom: 90px;
  }
}

@media (max-width: 600px) {
  .top-nav {
    padding: 30px 20px;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: auto; /* Pushes hamburger to the far right */
  }

  /* Dropdown Menu Setup */
  .nav-buttons {
    position: absolute;
    top: 100%; /* Positions it directly below the nav bar */
    left: 0;
    width: 100%;
    background-color: #1a262d; /* Off-white background */
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 20px;
    z-index: 1000;

    /* Animation properties */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
  }

  /* Class added by JavaScript to open the menu */
  .nav-buttons.active {
    max-height: 300px;
    padding: 30px 0;
    background-color: #1a262d;
    color: #ffffff;
  }

  /* Hamburger 'X' Animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }
  .events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero-content {
    margin: 0 1rem;
  }

  .script-title {
    font-size: 2rem;
  }

  .logo img.logo-home {
    top: 6rem;
    width: 100px;
  }
  .logo img {
    top: 6rem;
    width: 60px;
  }

  .background-decor {
    width: 500px;
    height: 500px;
  }

  .intro-image-container,
  .featured-image {
    height: 400px;
  }

  .events-header h3 {
    font-size: 1.6rem;
  }

  .title {
    font-size: 1.8rem;
  }

  .fd-content p,
  .sticky-text p,
  .text p {
    max-width: unset;
  }

  .fd-images {
    margin-right: 0;
  }

  .fd-small-img {
    left: -25%;
  }

  .food-drink-section {
    margin: 50px auto;
  }

  .footer-main {
    margin-bottom: 0;
  }

  .intro-text h1,
  .intro-text h2,
  .bottom-text h2 {
    font-size: 2.6rem;
  }
  .intro-text h1,
  .intro-text h2,
  .bottom-text h2 {
    font-size: 2.4rem;
  }

  .stacking-content h2 {
    font-size: 2rem;
  }

  .contact-us-section .membership-image img {
    min-height: 400px;
  }
}

/* --- CAREERS SECTION --- */
.careers-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.careers-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.jobs-column {
  width: 50%;
}

.form-column {
  width: 50%;
  background-color: #faf8f5; /* Slight offset to separate form area */
  padding: 40px;
  border: 1px solid #e5e5e5;
}

.column-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a262d;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* --- ACCORDION STYLES --- */
.accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a262d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: #555;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 400;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-inner {
  padding-bottom: 20px;
}

.accordion-inner p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.no-jobs-message p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  font-style: italic;
}

/* --- FORM STYLES --- */
.application-form .form-group {
  margin-bottom: 20px;
}

.application-form .form-row {
  display: flex;
  gap: 20px;
}

.application-form .half {
  width: 50%;
}

.application-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  background-color: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: #1a262d;
  transition: border-color 0.3s ease;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: none;
  border-color: #1a262d;
}

/* Custom File Upload Styling */
.file-upload {
  margin-top: 10px;
  margin-bottom: 30px !important;
}

.application-form input[type="file"] {
  font-size: 0.9rem;
  padding: 10px 0;
  border: none;
  cursor: pointer;
}

.w-100 {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  font-size: 0.95rem;
}

/* Form Alerts */
.form-alert {
  padding: 15px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid;
}

.form-alert.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-color: #2e7d32;
}

.form-alert.error {
  background-color: #ffebee;
  color: #c62828;
  border-color: #c62828;
}

/* Responsive constraints */
@media (max-width: 992px) {
  .careers-container {
    flex-direction: column;
  }

  .jobs-column,
  .form-column {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .application-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .application-form .half {
    width: 100%;
  }

  .form-column {
    padding: 30px 20px;
  }
}

/* --- ABOUT PAGE HEADER --- */
.about-header {
  padding-top: 150px; /* Adjust based on your nav height */
  padding-bottom: 60px;
}

.about-header .serif-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.about-header p {
  font-size: 0.9rem;
  color: #444;
}

/* Full Width Divider */
.section-divider {
  border: none;
  border-top: 1px solid #1a262d;
  margin: 0;
  width: 100%;
}

/* --- ABOUT CONTENT SECTION --- */
.about-section {
  max-width: 1200px;
  margin: 80px auto 120px;
  padding: 0 20px;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; /* The crisp white gap between the columns */
}

/* Images */
.about-tall-img,
.about-square-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-tall-img {
  height: 75%; /* Stretches to fill the column nicely */
  min-height: 600px;
}

.about-square-img {
  aspect-ratio: 1 / 1;
  margin-bottom: 40px; /* Space between the image and the text */
}

/* Editorial Text Block */
.about-text-block {
  /* Using a classic serif stack to match the screenshot's elegant vibe */
  font-family: "Georgia", "Times New Roman", serif;
  padding-right: 40px; /* Keeps line lengths comfortable */
}

.about-text-block p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
}

.about-quote {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 15px !important;
}

.about-author {
  font-family: "Montserrat", sans-serif; /* Switch back to sans-serif for the label */
  font-size: 0.75rem !important;
  letter-spacing: 1.5px;
  color: #666 !important;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
  .about-header .serif-title {
    font-size: 3.5rem;
  }

  .about-text-block {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  /* Stack the columns on mobile */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-tall-img {
    min-height: auto;
  }
}

/* --- EVENTS ARCHIVE PAGE --- */
.events-archive-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

/* The new grid layout that wraps naturally */
.events-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Shows 4 across on desktop */
  gap: 20px;
}

/* Make the links invisible and add a lift effect on hover */
.event-card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* Ensures the link fills the grid cell */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card-link:hover {
  transform: translateY(-5px); /* Lifts the card up slightly */
}

.event-card-link:hover .event-card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Adds a shadow for depth */
  border-color: #ccc;
}

/* Ensure the cards stretch to fill the grid height uniformly */
.event-card-link .event-card {
  height: 100%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  /* Overrides the flex width from the homepage slider */
  flex: 1 1 auto;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
  .events-archive-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 across on tablets */
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .events-archive-grid {
    grid-template-columns: 1fr; /* 1 across on mobile */
  }
}

/* --- MEMBERSHIP PRICING SECTION --- */
.pricing-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* Space between cards */
}

/* Individual Card Styling */
.pricing-card {
  border: 1px solid #1a262d; /* Dark border matching your buttons */
  display: flex;
  flex-direction: column;
  background-color: transparent;
}

/* Top Section (Title & Desc) */
.pricing-top {
  padding: 60px 40px;
  text-align: center;
  flex-grow: 1; /* Ensures all cards stretch to equal height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing-top h3 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: #1a262d;
}

.pricing-top p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  max-width: 400px;
}

/* Bottom Section (Fees) */
.pricing-bottom {
  display: flex;
  border-top: 1px solid #1a262d; /* Line separating top and bottom */
}

.fee-col {
  flex: 1; /* Splits the bottom perfectly in half */
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Adds the vertical dividing line between the two fee columns */
.fee-col:first-child {
  border-right: 1px solid #1a262d;
}

.fee-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.fee-amount {
  font-size: 2.5rem;
  font-weight: 400;
  color: #1a262d;
}

.full-width-img {
  height: 500px;
}

.full-width-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .pricing-top {
    padding: 40px 20px;
  }

  .fee-col {
    padding: 30px 10px;
  }
}

@media (max-width: 768px) {
  /* Collapse to a single column on mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .intro-text h2 {
    margin-top: 150px;
  }
}

/* --- TEAM PAGE HEADER --- */
.team-header {
  padding-top: 150px;
  padding-bottom: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.team-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* --- TEAM GRID SECTION --- */
.team-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 40px;
}

/* Team Card Styling */
.team-card {
  display: flex;
  flex-direction: column;
}

/* Image Wrapper & Editorial Hover Effect */
.team-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4; /* Keeps all portrait photos perfectly uniform */
  overflow: hidden;
  margin-bottom: 25px;
  background-color: #e5e5e5; /* Placeholder color while loading */
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Editorial black and white by default */
  transition: filter 0.5s ease, transform 0.5s ease;
}

.team-card:hover .team-img {
  filter: grayscale(0%); /* Fades to full color on hover */
  transform: scale(1.03); /* Slight zoom for luxury feel */
}

/* Typography for the cards */
.team-info {
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a262d;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.team-role {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5; /* Crisp divider line */
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 50px;
  }

  .team-header {
    padding-top: 120px;
  }
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 30px;
}

.socials img {
  width: 40px;
}

/* --- HOMEPAGE MOBILE BOTTOM NAV TRANSPARENCY --- */
@media (max-width: 600px) {
  .fixed-bottom-nav.is-transparent {
    background-color: transparent !important;
    border-top: none !important;
    box-shadow: none !important;

    /* Optional: Adds a smooth fade when the white background comes back */
    transition: background-color 0.3s ease;
  }
}

/* --- WHAT3WORDS SUBTLE LINK --- */
.w3w-link {
  color: #888 !important; /* A soft, subtle grey */
  font-size: 0.85rem; /* Slightly smaller than the main address text */
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.w3w-link:hover {
  color: #1a262d !important; /* Darkens on hover to match the standard text */
}

/* --- WEDDING ENQUIRY FORM STYLES --- */
.wedding-enquiry-wrapper {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5; /* Subtle divider from the text above */
}

.form-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: #1a262d;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Reusable Form Classes (In case they aren't fully styled in your global CSS yet) */
.application-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group.half {
  width: 50%;
  margin-bottom: 0; /* Let the row handle bottom margins */
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px; /* Adjust or remove to match your exact aesthetic */
  font-family: inherit;
  font-size: 1rem;
  background-color: transparent;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a262d; /* Darkens on focus for premium feel */
}

.w-100 {
  width: 100%;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-group.half {
    width: 100%;
  }
}

/* --- FORM ALERTS --- */
.form-alert {
  padding: 15px 20px;
  margin-bottom: 25px;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-alert p {
  margin: 0;
}

.success-alert {
  background-color: #f0f7f4; /* Very soft green */
  color: #2c3e35;
  border: 1px solid #d6e8df;
}

.error-alert {
  background-color: #fdf2f2; /* Very soft red */
  color: #8b3a3a;
  border: 1px solid #f5dada;
}

.error-alert a {
  color: inherit;
  text-decoration: underline;
}

/* --- FEATURED IMAGE & LOCATIONS --- */
.menu-featured-image {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
}

.menu-availability {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: #666;
  margin-top: -25px; /* Pulls it up closer to the title */
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-availability strong {
  color: #1a262d;
}

/* --- FLOATING BOOK A TABLE BUTTON --- */
.floating-book-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #1a262d;
  color: #fff !important;
  padding: 15px 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 50px; /* Makes it a pill shape */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 9999;

  /* Animation setup */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.floating-book-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-book-btn:hover {
  background-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Adjustments for smaller screens */
@media (max-width: 992px) {
  .menu-featured-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .floating-book-btn {
    /* Pushed up to 80px so it clears your mobile bottom navigation bar */
    bottom: 80px;
    right: 20px;
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}

/* --- MEDIA GALLERY STYLES --- */
.space-gallery-section {
  max-width: 1200px;
  margin: 80px auto 120px;
  padding: 0 20px;
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 images across on desktop */
  gap: 15px; /* Clean, tight spacing between items */
}

.gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces all media into perfect squares regardless of original dimensions */
  overflow: hidden;
  background-color: #e5e5e5; /* Placeholder color while loading */
  border-radius: 4px; /* Optional: adds a very slight premium softness to the corners */
}

.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures media fills the square without stretching */
  transition: transform 0.5s ease;
}

/* Subtle zoom effect on hover for interactivity */
.gallery-item:hover .gallery-media {
  transform: scale(1.05);
}

/* --- RESPONSIVE GALLERY ADJUSTMENTS --- */
@media (max-width: 992px) {
  .media-gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 across on tablets */
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .media-gallery-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Keep 2 across on mobile to save vertical scrolling, or change to 1fr for full width */
    gap: 10px;
  }

  .space-gallery-section {
    margin: 60px auto 80px;
  }
}

/* --- POLICY PAGE STYLES --- */
.policy-section {
  padding: 60px 20px 100px;
  background-color: #faf8f5; /* A soft, warm background color */
}

.policy-container {
  max-width: 800px; /* Keeps the text line-length optimal for reading */
  margin: 0 auto;
  background-color: #ffffff;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.policy-container h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a262d;
  margin-top: 40px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

.policy-container h2:first-of-type {
  margin-top: 0;
}

.policy-container p {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.policy-container ul {
  margin-bottom: 30px;
  padding-left: 20px;
}

.policy-container li {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.policy-container a {
  color: #1a262d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.policy-container a:hover {
  border-bottom: 1px solid #1a262d;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .policy-container {
    padding: 30px 20px;
  }

  .policy-container h2 {
    font-size: 1.1rem;
  }
}

/* --- CUSTOM MODAL STYLES --- */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Animation defaults */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 450px;
  padding: 40px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

  /* Animation for the box */
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.custom-modal-overlay.active .custom-modal-content {
  transform: translateY(0);
}

.custom-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}

.custom-modal-close:hover {
  color: #1a262d;
}

/* --- EVENTS SLIDER COMPONENT --- */
.upcoming-events-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  overflow: hidden; /* Contains the slider width to the section */
}

.upcoming-events-header {
  display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Aligns the bottom of the buttons with the bottom of the title */
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap; /* CRITICAL: Allows items to wrap on small screens */
}

.upcoming-events-header h3 {
  margin: 0;
  font-size: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}
/* New View All Link Styling */
.view-all-link {
  font-size: 0.9rem;
  /* font-weight: 600; */
  color: #1A262D;
  /* text-transform: uppercase; */
  text-decoration: none;
  border-bottom: 1px solid #1A262D;
  padding-bottom: 2px;
  white-space: nowrap; /* CRITICAL: Prevents squashing onto two lines */
  transition: color 0.3s ease, border-color 0.3s ease;
}

.view-all-link:hover {
  color: #666;
  border-color: #666;
}

.slider-btn {
  background: transparent;
  border: 1px solid #1a262d;
  color: #1a262d;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #1a262d;
  color: #fff;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 600px) {
  .upcoming-events-header {
      flex-direction: column; /* Stacks the title on top of the actions */
      align-items: flex-start;
      gap: 15px;
  }
  
  .header-actions {
      /* width: 100%; */
      justify-content: space-between; /* Pushes View All to the left, arrows to the right */
  }
}

/* Slider Track */
.events-slider-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-behavior: smooth;
  padding-bottom: 20px; /* Room for hover shadows */
}

.events-slider-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.events-slider-wrapper.grabbing {
  cursor: grabbing;
  scroll-behavior: auto; /* Disables smooth scroll during drag */
}

/* Individual Event Cards */
.event-slide-card {
  flex: 0 0 350px; /* Fixed width for cards */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #e5e5e5;
}

.event-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.event-slide-card:hover .event-image {
  transform: scale(1.05);
}

.event-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 3px;
}

.badge-location {
  background-color: rgba(255, 255, 255, 0.9);
  color: #1a262d;
}

.badge-sold-out {
  background-color: #8b3a3a;
  color: #fff;
}

.event-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-datetime {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.event-title {
  font-size: 1.3rem;
  color: #1a262d;
  margin-bottom: 15px;
  line-height: 1.3;
}

.event-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes the action text to the bottom */
}

.event-action-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a262d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-slide-card.sold-out .event-action-text {
  color: #888;
}

.no-events-msg {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .event-slide-card {
    flex: 0 0 280px; /* Slightly narrower on mobile */
  }
}

/* --- JOIN THE TEAM BANNER --- */
.join-team-banner {
  background-color: #1A262D; /* Your premium dark brand color */
  color: #FFF;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 0; /* Sits flush with the footer if needed */
}

.join-team-content {
  max-width: 700px;
  margin: 0 auto;
}

.join-team-content p {
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #E5E5E5; /* Slightly muted white for readability */
  margin-bottom: 35px;
}

/* Light Outline Button (For Dark Backgrounds) */
.btn-light-outline {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFF;
  background-color: transparent;
  border: 1px solid #FFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-light-outline:hover {
  background-color: #FFF;
  color: #1A262D;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .join-team-banner {
      padding: 60px 20px;
  }
  
  .join-team-content h2 {
      font-size: 2rem;
  }
}

/* --- FILM SCHEDULE SIGN UP STYLES --- */
.film-schedule-wrapper {

  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #E5E5E5;
}

.film-schedule-content {
  max-width: 600px;
  margin: 0 auto;
}

.film-schedule-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.75rem;
  color: #1A262D;
}

.film-schedule-content p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Inline Form Layout */
.inline-signup-form {
  width: 100%;
}

.inline-form-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch; /* Ensures button and input are the exact same height */
}

.inline-form-group input[type="email"] {
  flex-grow: 1;
  padding: 12px 20px;
  border: 1px solid #CCC;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.inline-form-group input[type="email"]:focus {
  outline: none;
  border-color: #1A262D;
}

.inline-form-group .btn {
  margin: 0;
  white-space: nowrap; /* Prevents button text from wrapping */
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .inline-form-group {
      flex-direction: column;
  }
  
  .inline-form-group .btn {
      width: 100%;
  }
}