/* ==========================================================
   River Crew Brewing - style.css (Final Fullscreen Mobile Menu Fix)
   ========================================================== */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background-color: #000;
}

/* ---------- Transparent Header ---------- */
.transparent-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  display: flex;
  justify-content: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.transparent-header.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  box-sizing: border-box;
}

.site-logo img {
  height: 60px;
  width: auto;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: relative;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.nav-menu li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-menu li a:hover {
  color: #a4c4d8;
}

/* ---------- Mobile Menu Toggle ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 35px;
  height: 25px;
  position: relative;
  z-index: 1101;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-icon {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon::before {
  top: -10px;
}

.menu-icon::after {
  bottom: -10px;
}

.menu-toggle.active .menu-icon {
  background: transparent;
}

.menu-toggle.active .menu-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-icon::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Mobile Navigation ---------- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95)
      url("assets/media/woodgrain-overlay.png") center/cover no-repeat;
    text-align: center;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 999;
    overflow-y: auto;
    padding-top: 100px;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-menu li {
    margin: 10px 0;
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 18px 0;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.6;
    white-space: normal;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ---------- Hero Section ---------- */
.rcbc-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

#rcbc-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.rcbc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25)
    url("assets/media/woodgrain-overlay.png") center/cover repeat;
  z-index: 2;
  pointer-events: none;
}

.rcbc-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  width: 100%;
  padding: 0 20px;
}

.rcbc-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .rcbc-hero-title {
    font-size: 2rem;
    text-align: center;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}
/* ---------- Footer Menu Cleanup ---------- */
.site-footer .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer .menu li {
  display: inline-block;
}

.site-footer .menu li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .menu li a:hover {
  color: #a4c4d8;
}
/* ---------- Footer Newsletter ---------- */
.footer-newsletter {
  margin-top: 40px;
  text-align: center;
}

.footer-newsletter h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.footer-newsletter p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ddd;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 10px 15px;
  border: none;
  border-radius: 3px;
  width: 280px;
  max-width: 80%;
}

.newsletter-form button {
  background-color: #6f5e4f;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #a4c4d8;
  color: #000;
}
/* ---------- Full-width hero fix for desktop + mobile ---------- */
.rcbc-hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero video or image should fill the container perfectly */
#rcbc-hero-video,
.rcbc-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero content perfectly centered */
.rcbc-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

/* Hero title styling */
.rcbc-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
  max-width: 90%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .rcbc-hero {
    height: 60vh; /* makes sure video isn't too tall on small screens */
  }
  .rcbc-hero-title {
    font-size: 1.8rem;
    max-width: 95%;
  }
}
/* ===== River Crew Brewing Age Gate (Video Blur Background) ===== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  backdrop-filter: blur(12px) brightness(0.8);
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease;
}

.age-gate-content {
  background: rgba(40, 32, 27, 0.7);
  border: 2px solid rgba(160, 123, 74, 0.6);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 40px 30px;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.age-gate-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.age-gate-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.age-gate-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.age-gate-buttons button {
  background-color: #6f5e4f;
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-gate-buttons button:hover {
  background-color: #a07b4a;
  transform: translateY(-1px);
}

.fade-out {
  animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 600px) {
  .age-gate-content {
    padding: 25px 20px;
  }
  .age-gate-content h2 {
    font-size: 1.3rem;
  }
  .age-gate-buttons button {
    padding: 10px 20px;
  }
}
.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #a4c4d8;
}
/* ================================
   Beers Section
=================================== */

.rcbc-featured-beers {
  background-color: #f8f6f3;
  padding: 80px 0;
  text-align: center;
}

.rcbc-featured-beers h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6f5e4f;
  margin-bottom: 20px;
}

.rcbc-featured-beers p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

.beer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.beer-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beer-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.beer-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.beer-item h3 {
  font-size: 1.4rem;
  color: #333;
  margin: 15px 0 10px;
}

.beer-item h3 a {
  color: inherit;
  text-decoration: none;
}

.beer-item h3 a:hover {
  color: #6f5e4f;
}

.beer-item p {
  padding: 0 20px 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* ================================
   Latest News Section (Dark Theme)
=================================== */

.rcbc-latest-news.dark-theme {
  background-color: #111;
  color: #f4f4f4;
  padding: 80px 0;
  text-align: center;
}

.rcbc-latest-news.dark-theme h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f8f6f3;
  margin-bottom: 20px;
}

.rcbc-latest-news.dark-theme p {
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 40px;
}

.rcbc-latest-news.dark-theme .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.rcbc-latest-news.dark-theme .news-item {
  background: #1b1b1b;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rcbc-latest-news.dark-theme .news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.rcbc-latest-news.dark-theme .news-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.rcbc-latest-news.dark-theme .news-item h3 {
  font-size: 1.4rem;
  color: #fff;
  margin: 15px 0 10px;
}

.rcbc-latest-news.dark-theme .news-item h3 a {
  color: inherit;
  text-decoration: none;
}

.rcbc-latest-news.dark-theme .news-item h3 a:hover {
  color: #a4c4d8;
}

.rcbc-latest-news.dark-theme .news-item p {
  padding: 0 20px 20px;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================================
   About Us Section (Dark Theme)
=================================== */

.rcbc-about.dark-theme {
  background-color: #000;
  color: #f4f4f4;
  padding: 100px 0;
  text-align: center;
}

.rcbc-about.dark-theme h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f8f6f3;
  margin-bottom: 25px;
}

.rcbc-about.dark-theme .about-text {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #ddd;
}

.rcbc-about.dark-theme img {
  margin-top: 30px;
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.rcbc-about.dark-theme img:hover {
  opacity: 1;
}

/* ================================
   Upcoming Events Section (Light Theme)
=================================== */

.rcbc-upcoming-events.light-theme {
  background-color: #fff;
  color: #333;
  padding: 100px 0;
  text-align: center;
}

.rcbc-upcoming-events.light-theme h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  margin-bottom: 20px;
}

.rcbc-upcoming-events.light-theme p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.rcbc-upcoming-events.light-theme .event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.rcbc-upcoming-events.light-theme .event-item {
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rcbc-upcoming-events.light-theme .event-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.rcbc-upcoming-events.light-theme .event-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.rcbc-upcoming-events.light-theme .event-item h3 {
  font-size: 1.4rem;
  color: #222;
  margin: 15px 0 10px;
}

.rcbc-upcoming-events.light-theme .event-item h3 a {
  color: inherit;
  text-decoration: none;
}

.rcbc-upcoming-events.light-theme .event-item h3 a:hover {
  color: #6f5e4f;
}

.rcbc-upcoming-events.light-theme .event-item p {
  padding: 0 20px 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .rcbc-upcoming-events.light-theme {
    padding: 80px 20px;
  }

  .rcbc-upcoming-events.light-theme h2 {
    font-size: 2rem;
  }

  .rcbc-upcoming-events.light-theme p {
    font-size: 1rem;
  }
}
/* ================================
   Upcoming Events Image Styling
   (Warm + Desaturated Effect)
=================================== */

.rcbc-upcoming-events.light-theme .event-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.95) sepia(10%) hue-rotate(-10deg) saturate(90%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.rcbc-upcoming-events.light-theme .event-item:hover img {
  filter: grayscale(0%) brightness(1.05) sepia(5%) hue-rotate(0deg) saturate(110%);
  transform: scale(1.03);
}
/* ================================
   Section Buttons
=================================== */

.section-button {
  margin-top: 40px;
  text-align: center;
}

.section-button .btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: #6f5e4f; /* Brewery wood tone */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-button .btn:hover {
  background-color: #a4c4d8; /* River blue hover */
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .section-button .btn {
    width: 80%;
    padding: 12px 20px;
  }
}
/* ================================
   Parallax Section Backgrounds (Color-based)
=================================== */

.rcbc-about.parallax {
  background: linear-gradient(180deg, #111 0%, #1b1b1b 100%);
  color: #fff;
}

.rcbc-beers.parallax {
  background: linear-gradient(180deg, #f5f2ee 0%, #e8e3da 100%);
}

.rcbc-latest-news.parallax {
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  color: #fff;
}

.rcbc-upcoming-events.parallax {
  background: linear-gradient(180deg, #f6f6f6 0%, #ececec 100%);
}

.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  will-change: background-position;
  transition: background-position 0.3s ease-out;
}

@media (max-width: 1024px) {
  .parallax {
    background-attachment: scroll;
  }
}
/* ================================
   Fade-in Animation with Stagger
=================================== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered timing for each section */
.fade-in:nth-of-type(1) {
  transition-delay: 0.1s;
}

.fade-in:nth-of-type(2) {
  transition-delay: 0.3s;
}

.fade-in:nth-of-type(3) {
  transition-delay: 0.5s;
}

.fade-in:nth-of-type(4) {
  transition-delay: 0.7s;
}



