@font-face {
    font-family: 'BlackChancery'; /* Give your font a name of your choice */
    src: url('../fonts/BlackChancery.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OldStyle'; /* Give your font a name of your choice */
    src: url('../fonts/OldStyle1HPLHS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'BlackChancery'; /* Give your font a name of your choice */
    src: url('../fonts/BlackChancery.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OldStyle'; /* Give your font a name of your choice */
    src: url('../fonts/OldStyle1HPLHS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


:root {
  --text-light: #d4a574;
  --text-dark: #203322;
  --card-background:#f3efe2;
  --page-background:rgba(27, 67, 50, 0.8);
  --main-font: "OldStyle";
  --heading-font: "BlackChancery";
}


/* General Styles */
body {
  padding-top: 70px;
  background-color: var(--page-background);
  position: relative;
}

.disable-link{
  pointer-events: none;
  cursor: default;
}

/* CONTACT */
.contact-info{
  margin-left:9rem;
  margin-right: 9rem;
  text-align: center;
  display:flex;
  flex-direction: row;
  justify-content: space-between;
}
/* Wrapper for both sides */
.contact-wrapper {
  margin-top: 20px;
}

.contact-wrapper h2{
  padding-bottom:1.25rem;
  text-align: center;
}

.find-us-heading{
  padding-top:2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.find-us{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left:9rem;
  margin-right: 9rem;
  text-align: center;
}

.find-us a{
  color: var(--card-background);
}

.find-us p{
  color: var(--card-background);
}

/* About page*/
.about-page{
  display:flex;
  flex-direction:row;
}

.story-image{
  margin-left: 8rem;
    border-radius: 50px;
    width:15em;
    height:20em;
    object-fit: cover;
    justify-content: left;
}

.blog-img{
  margin-right:4rem;
  margin-left:4rem;
  margin-top:2rem;
  margin-bottom:2rem;
  width:auto;
  height:20em;
  object-fit: cover;
}


.wrapped-image {
  /* Pulls the image to the left and forces text to wrap */
  float: left; 
  
  /* Prevents text from smashing directly against the image borders */
  margin-right: 15px;
  margin-bottom: 15px;
  
  /* Ensures the image scales safely on small viewports */
  
  max-height: 50%;
}


.blog-meta{
  font-family: var(--main-font);
}

.blog-post-content{
  display: flex;
  flex-direction: row;
  margin-left:3rem;
  margin-right: 3rem;
}

body::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.myfreetextures.com/excellent-vintage-and-old-yellow-and-brown-parchment-paper/');
    background-repeat: repeat;
    opacity: 0.1; /* Keeps the texture subtle */
    pointer-events: none; /* Allows users to click through the overlay */
}

section, .section-home{
  background-color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  color: var(--card-background);
  padding: 2rem;
}


.section-home h2{
  text-align: center;
}

.section-home{
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, .card-title{
  font-family: var(--heading-font);
  color: var(--text-light);
}

p{
  font-family: var(--main-font);
}

a{
  color:var(--card-background)
}

.mb-1{
  color: var(--text-dark);
}

.main-text{
  color: var(--card-background);
  font-family: var(--main-font);
}

.story-text{
  display: flex;
  flex-direction: row;
}


/*events*/
#events-list, #events-more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

#events-list .card,
#events-more .card {
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  #events-list,
  #events-more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #events-list,
  #events-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  #events-list,
  #events-more {
    grid-template-columns: 1fr;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.card-container .card {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: calc(25% - 1rem);
}


/* shop page */
.vs-products{
  color: var(--text-light);
  font-family: var(--main-text);
}

.vs-products-item-img-container, .vs-products-item-stage, .vs-atc-select .vs-variant-select-stage, .vs-atc-form, .card-body, .mb-3{
  background-color: var(--card-background) !important;
}

.vs-products-item-titles, .vs-products-item-pricing-price, .vs-products-item-appellation, .vs-products-item-varietal, .vs-products-item-meta-item
{
  color: var(--text-dark) !important;
  font-family: var(--main-font);
}

.vs-products-headline, .vs-available-header{
  font-family: var(--heading-font) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.8), rgba(13, 40, 24, 0.8)), 
              url('../images/LogoNoBackground.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  padding: 8rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 4rem;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  font-family: var(--heading-font);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-btns{
  display:flex;
  justify-content: center;
  gap: 1.5rem;
}

/*buttons*/
.btn, #vs-atc-button, .vs-atc-button, .vs-atc-button-stage{
  color: var(--text-dark) !important;
  background-color: var(--text-light)!important;
  border-color: var(--text-light)!important;
  border-width: 2px;
  font-family: var(--main-font);
}

.btn:hover, #vs-atc-button:hover, .vs-atc-button:hover, .vs-atc-button-stage:hover{
  color: var(--text-light) !important;
  background-color: var(--text-dark)!important;
  border-color: var(--text-light)!important;
  border-width: 2px;
}

/* Blog button sizing */
#blog-container .btn{
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1rem !important;
  max-width: fit-content !important;
}

/*events page*/
.upcoming-events{
  background-color: var(--card-background);
  color: var(--text-dark);
}

.event-space{
  display:flex;
  flex-direction: row;
  gap: .5rem;
}

.events-space{
  color:var(--card-background);
  font-family: var(--main-font);
}

.events-heading{
  font-family: var(--heading-font);
  color: var(--text-light);
  text-align: center;
}

.event-text{
  margin-left: 9rem;
  margin-right: 9rem;
  justify-content: space-between;
}

.event-btn{
  display: block;
  margin: 1rem auto;
  text-align: center;
}

.event-card{
  background-color: var(--card-background);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* MOBILE DESIGN (Default) */
.event-space {
  display: flex;
  flex-direction: column;   /* Stacks the blocks vertically on small screens */
  gap: 2rem;                /* Adds vertical spacing between the two blocks */
  padding: 1rem;
}

.event-text {
  width: 100%;              /* Takes full width on mobile devices */
}

/* DESKTOP DESIGN (Screens 768px and wider) */
@media (min-width: 768px) {
  .event-space {
    flex-direction: row;     /* Places the blocks side-by-side on big screens */
    align-items: flex-start; /* Keeps columns from stretching unevenly */
    gap: 4rem;               /* Adds wide separation between the side-by-side columns */
    max-width: 1200px;       /* Prevents the layout from stretching too wide */
    margin: 0 auto;          /* Centers the entire container on the desktop screen */
  }

  .event-text {
    flex: 1;                 /* Forces both columns to take up equal width (50/50 split) */
  }
}


/* Collapsible events wrapper */
#events-toggle{
  display: inline-block;
}

#events-wrapper{
  transition: max-height 0.25s ease-in-out, opacity 0.2s ease-in-out;
}

/* Gallery Section */

#gallery h1{
    text-align: center;
}

.gallery-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem 0;
}

.gallery-card {
  background-color: var(--card-background);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gallery-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text-dark);
  font-family: var(--heading-font);
}

.gallery-card-img {
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.gallery-card-artist {
  margin: 0.75rem 0 0;
  color: var(--text-dark);
  font-size: 1rem;
}

.gallery-heading{
    font-family: var(--primary-font);
    margin-left: 17%;
}

.gallery-card-description p{
  font-family: var(--main-font);
  color: var(--text-dark)

}

.gallery-toggle {
  margin-top: 0.75rem;
  padding: 0;
  color: var(--text-dark);
  text-decoration: underline;
}

.gallery-toggle:hover {
  color: var(--accent-color, #8b5e3c);
}

/* nav bar*/
.navbar{
  background-color: var(--text-dark) !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.navbar a{
  color: var(--text-light) !important;
  text-decoration: none;
  margin: 0 !important;
  padding: 0 0.25rem;
}

nav img{
  height: 60px;
  width: auto;
  filter: invert(1);
}

.nav-link.active{
    border-bottom: 2px solid var(--text-light);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  text-align: center;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-top:1rem;
}

/* Add a margin to your main content so it doesn't get hidden behind the floating footer */
main {
  margin-bottom: 60px; /* Match or exceed the height of your footer */
}


footer .container{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

footer a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer a img{
  max-height: 30px;
  width: auto;
  vertical-align: middle;
}

/* FAQ Collapsible Styles */
.faq-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-toggle h5 {
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-toggle:hover h5 {
  color: var(--text-dark);
  opacity: 0.8;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(32, 51, 34, 0.2);
  animation: slideDown 0.3s ease-out;
}

.faq-answer p {
  margin: 0;
  color: var(--text-dark);
}


.no-download {
  /* Prevents right-click popups and dragging gestures */
  pointer-events: none; 
  /* Prevents selecting the element */
  user-select: none;    
  -webkit-user-select: none; 
}


/*about page*/

.about-content{
  display: flex;
}

.about-content img{
  height:fit-content;
  border-radius: 50px;
  margin-right:3rem;
  margin-top:4rem;
}

section .btn{
  text-align: center;
}



/* MOBILE DESIGN (Default) */
.event-space {
  display: flex;
  flex-direction: column;   /* Stacks the blocks vertically on small screens */
  gap: 2rem;                /* Adds vertical spacing between the two blocks */
  padding: 1rem;
}

.event-text {
  width: 100%;              /* Takes full width on mobile devices */
}

/* DESKTOP DESIGN (Screens 768px and wider) */
@media (min-width: 768px) {
  .event-space {
    flex-direction: row;     /* Places the blocks side-by-side on big screens */
    align-items: flex-start; /* Keeps columns from stretching unevenly */
    gap: 4rem;               /* Adds wide separation between the side-by-side columns */
    max-width: 1200px;       /* Prevents the layout from stretching too wide */
    margin: 0 auto;          /* Centers the entire container on the desktop screen */
  }

  .event-text {
    flex: 1;                 /* Forces both columns to take up equal width (50/50 split) */
  }
}


/* Collapsible events wrapper */
#events-toggle{
  display: inline-block;
}

#events-wrapper{
  transition: max-height 0.25s ease-in-out, opacity 0.2s ease-in-out;
}

/* Gallery Section */

#gallery h1{
    text-align: center;
}

.gallery-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem 0;
}

.gallery-card {
  background-color: var(--card-background);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gallery-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text-dark);
  font-family: var(--heading-font);
}

.gallery-card-img {
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.gallery-card-artist {
  margin: 0.75rem 0 0;
  color: var(--text-dark);
  font-size: 1rem;
}

.gallery-heading{
    font-family: var(--primary-font);
    margin-left: 17%;
}

.gallery-card-description p{
  font-family: var(--main-font);
  color: var(--text-dark)

}

.gallery-toggle {
  margin-top: 0.75rem;
  padding: 0;
  color: var(--text-dark);
  text-decoration: underline;
}

.gallery-toggle:hover {
  color: var(--accent-color, #8b5e3c);
}

/* nav bar*/
.navbar{
  background-color: var(--text-dark) !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.navbar a{
  color: var(--text-light) !important;
  text-decoration: none;
  margin: 0 !important;
  padding: 0 0.25rem;
}

nav img{
  height: 60px;
  width: auto;
  filter: invert(1);
}

.nav-link.active{
    border-bottom: 2px solid var(--text-light);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  text-align: center;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-top:1rem;
}

/* Add a margin to your main content so it doesn't get hidden behind the floating footer */
main {
  margin-bottom: 60px; /* Match or exceed the height of your footer */
}


footer .container{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

footer a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer a img{
  max-height: 30px;
  width: auto;
  vertical-align: middle;
}

/* FAQ Collapsible Styles */
.faq-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-toggle h5 {
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-toggle:hover h5 {
  color: var(--text-dark);
  opacity: 0.8;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(32, 51, 34, 0.2);
  animation: slideDown 0.3s ease-out;
}

.faq-answer p {
  margin: 0;
  color: var(--text-dark);
}


.no-download {
  /* Prevents right-click popups and dragging gestures */
  pointer-events: none; 
  /* Prevents selecting the element */
  user-select: none;    
  -webkit-user-select: none; 
}

.menu{
  display: flex;
  flex-direction: row;
  margin-left: 9rem;
  margin-right:9rem;
  justify-content: space-between;
}

.menu-left{
  text-align:center;
}

.menu-right{
  text-align:center;
}
/*about page*/

.about-content{
  display: flex;
}

.about-content img{
  height:fit-content;
  border-radius: 50px;
  margin-right:3rem;
  margin-top:4rem;
}

section .btn{
  text-align: center;
}

/* Wrapper for both sides */
.contact-wrapper {
  gap: 40px;
  margin-top: 20px;
}

.contact-wrapper h2{
  text-align: center;
}

/* Left side: contact info */
.contact-info {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
}



@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}


.blog-content{
  color: var(--text-dark) !important;
}


.section-home .btn-container,
.home-btn {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* aligns vertically */
  gap: 1.5rem;                 /* spacing between buttons */
  flex-wrap: wrap;           /* keeps layout responsive */
}


#mc_embed_signup form {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#mc_embed_signup input[type="email"] {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}


/* --- Large Screen Base Styles (Your Current Setup) --- */
.navbar {
  display: flex;
  justify-content: space-around; /* Or whatever your current layout uses */
  align-items: center;
}
.nav-links-container {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}
.menu-toggle, .mobile-logo {
  display: none; /* Hide mobile elements on desktop */
}

/* --- Small Screen Styles (< 768px) --- */
@media (max-width: 767.98px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    
    /* Forces navbar to stick to the top on mobile */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Keeps it stacked above content cards */
  }

  /* Style the hamburger icon to be highly visible */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;       /* Makes the hamburger icon larger */
    line-height: 1;
    color: #ffffff;        /* Forces the text icon to pure white */
    cursor: pointer;
    order: 1;
    padding: 5px;
    outline: none;
    
    /* Backup filter method if using a complex custom icon image or component */
    filter: brightness(1) invert(0); 
  }

  /* Keeps mobile logo centered */
  .mobile-logo {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
  }

  .desktop-logo {
    display: none !important;
  }

  /* Fixed mobile drop down positioning adjustments */
  .nav-links-container {
    display: none; 
    flex-direction: column;
    position: fixed;       /* Switches to fixed so it scrolls smoothly with the header */
    top: 50px;             /* Adjust this match the actual total height of your navbar */
    left: 0;
    width: 100%;
    background-color: inherit; 
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1029;         /* Places dropdown layers perfectly under the top main header strip */
    max-height: calc(100vh - 50px); /* Prevents menu from overflowing past viewport viewport height */
    overflow-y: auto;      /* Enables clean scrolling inside the menu link item stack if required */
  }

  .nav-links-container p {
    margin: 10px 0;
    text-align: center;
    width: 100%;
  }

  .nav-links-container.open {
    display: flex;
  }

  /* Layout stacking */
  .about-page,
  .story-text,
  .find-us,
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Margin fixes */
  .left, .right {
    margin: 1rem auto;
    text-align: center;
  }

  /* Image scaling */
  .story-image,
  .about-content img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 1rem auto;
  }

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p  { font-size: 1rem; }

  /* Hero section */
  .hero {
    padding: 4rem 1rem;
    background-attachment: scroll;
  }
  .hero h1 { font-size: 2.5rem; }

  .hero .btn{
    margin-top:.35rem;
  }

  .disabled-link {
  color: #999;
  cursor: not-allowed;    /* Shows a crosshair/blocked cursor */
  pointer-events: none;   /* Blocks mouse clicks and hover events */
  text-decoration: none;  /* Removes the underline */
}

/* contact page*/
  .contact-info{
    flex-direction: column;
  }

  /*menu*/
  .menu, .find-us, .contact-info{
    flex-direction: column;
    justify-content: space-between;
    margin-left: 1.2rem;
    margin-right: 0rem;
    text-align: center;
  }

  .column{
    width:90%;
  }
  /* Footer spacing */
  main { margin-bottom: 80px; }

  /* Section padding */
  section, .section-home {
    padding: 1rem;
    margin: 1rem;
  }
  .featured-meads {
    flex-direction: column;
    align-items: center; /* keeps cards centered */
  }

  .featured-meads .card {
    width: 100% !important;      /* full width on mobile */
    max-width: 20rem;            /* prevents cards from becoming too wide */
  }

  /* Center all sections */
  section,
  .section-home,
  .container {
    padding: 1rem;
    margin: 1rem auto;
    text-align: center;
  }

  /* Stack all flex rows vertically */
  .featured-meads,
  .about-page,
  .story-text,
  .find-us,
  .contact-wrapper,
  .gallery-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem;
  }

  /* Card responsiveness */
  .card {
    width: 100% !important;
    max-width: 22rem;
    margin: 0 auto;
  }

  /* Featured meads spacing */
  .featured-meads .card {
    width: 100% !important;
    max-width: 20rem;
  }

  /* About page image fix */
  .about-content img,
  .story-image {
    width: 100%;
    max-width: 280px;
    height: auto !important;   /* prevents vertical stretching */
    margin: 0 auto 1.5rem auto;
    display: block;
  }

  /* Force the image ABOVE the text */
  .about-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .about-content img {
    order: -1;                 /* Moves image above text */
    width: 100%;               /* Full responsive width */
    max-width: 320px;          /* Prevents oversized images */
    height: auto;              /* Keeps proportions */
    margin: 0 auto 1.5rem auto;
    display: block;
  }

  /* Typography scaling */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p  { font-size: 1rem; }

  /* Hero section mobile */
  .hero {
    padding: 4rem 1rem;
    background-attachment: scroll;
  }

   /* Force gallery grid into a single column */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
    max-width: 22rem;   /* keeps cards same width */
    margin: 0 auto;     /* centers the column */
  }

  /* Make all gallery cards uniform */
  .gallery-card {
    width: 100% !important;
    max-width: 22rem;     /* consistent card size */
    margin: 0 auto;       /* center each card */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Ensure images scale consistently */
  .gallery-card-img {
    width: 100%;
    max-width: 20rem;
    height: auto;
    object-fit: cover;
  }

  .event-text {
    margin-left: 1rem;
    margin-right: 1rem;
    width: 90%;   /* fills more of the available space */
  }
    #events-container .card {
    width: 100% !important;       /* full width */
    max-width: 26rem !important;  /* slightly larger than current 20–22rem */
    margin: 0 auto 1.5rem auto;   /* center and add spacing */
    padding: 1.5rem;              /* more breathing room inside */
  }
  footer {
    position: relative;
    text-align: center;
    margin: 0rem;
    padding:0rem;
  }

  footer .container {
    display: flex;           /* Ensures flex rules apply */
    flex-direction: column;
    gap: 0.15rem;            /* Dramatically shrinks space between text and social icons */
  }

  footer p {

    margin: 0rem;               /* Removes default browser browser paragraph margins */
    font-size: 0.85rem;      /* Slightly smaller text reduces line height */
    line-height: 1.2;        /* Forces text lines to sit closely together */
  }

  footer a img {
    max-height: 20px;        /* Shrinks icons slightly more to shave off pixels */
    vertical-align: middle;
    padding-bottom:0rem;
  }

  .footer-links {
    display: flex;           /* Ensures flex direction works */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;  
    padding-bottom:0rem;          /* Spaces out the icons horizontally, not vertically */
  }
}

@media (max-width: 576px) {
  .event-text {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 100%;  /* full width on very small screens */
  }

  #events-container .card {
    width: 100% !important;
    max-width: 28rem !important;  /* even larger for very small screens */
    margin: 0 auto 1.5rem auto;
    padding: 1.75rem;
  }
}


.section-home .btn-container,
.home-btn {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* aligns vertically */
  gap: 15px;                 /* spacing between buttons */
  flex-wrap: wrap;           /* keeps layout responsive */
}


#mc_embed_signup form {
  display: flex;
  align-items: center;
  gap: 10px;
}

#mc_embed_signup input[type="email"] {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/*featured-meads*/
.featured-meads {
  display: flex;
  justify-content: space-between;
  gap:1rem;
}

.featured-meads img{
  object-fit: cover;
  width:100%;
  height:20rem;
}


/* --- Large Screen Base Styles (Your Current Setup) --- */
.navbar {
  display: flex;
  justify-content: space-around; /* Or whatever your current layout uses */
  align-items: center;
}
.nav-links-container {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}
.menu-toggle, .mobile-logo {
  display: none; /* Hide mobile elements on desktop */
}

/* --- Small Screen Styles (< 768px) --- */
@media (max-width: 767.98px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    
    /* Forces navbar to stick to the top on mobile */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Keeps it stacked above content cards */
  }

  /* Style the hamburger icon to be highly visible */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;       /* Makes the hamburger icon larger */
    line-height: 1;
    color: #ffffff;        /* Forces the text icon to pure white */
    cursor: pointer;
    order: 1;
    padding: 5px;
    outline: none;
    
    /* Backup filter method if using a complex custom icon image or component */
    filter: brightness(1) invert(0); 
  }

  /* Keeps mobile logo centered */
  .mobile-logo {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
  }

  .desktop-logo {
    display: none !important;
  }

  /* Fixed mobile drop down positioning adjustments */
  .nav-links-container {
    display: none; 
    flex-direction: column;
    position: fixed;       /* Switches to fixed so it scrolls smoothly with the header */
    top: 50px;             /* Adjust this match the actual total height of your navbar */
    left: 0;
    width: 100%;
    background-color: inherit; 
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1029;         /* Places dropdown layers perfectly under the top main header strip */
    max-height: calc(100vh - 50px); /* Prevents menu from overflowing past viewport viewport height */
    overflow-y: auto;      /* Enables clean scrolling inside the menu link item stack if required */
  }
  
  .nav-links-container p {
    margin: 10px 0;
    text-align: center;
    width: 100%;
  }

  .nav-links-container.open {
    display: flex;
  }

  /* Layout stacking */
  .about-page,
  .story-text,
  .find-us,
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Margin fixes */
  .left, .right {
    margin: 1rem auto;
    text-align: center;
  }

  /* Image scaling */
  .story-image,
  .about-content img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 1rem auto;
  }

  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p  { font-size: 1rem; }

  /* Hero section */
  .hero {
    padding: 4rem 1rem;
    background-attachment: scroll;
  }
  .hero h1 { font-size: 2.5rem; }

  .hero .btn{
    margin-top:.35rem;
  }

  .disabled-link {
  color: #999;
  cursor: not-allowed;    /* Shows a crosshair/blocked cursor */
  pointer-events: none;   /* Blocks mouse clicks and hover events */
  text-decoration: none;  /* Removes the underline */
}

  /*menu*/
  .menu{
    flex-direction: column;
  }

  .column{
    width:90%;
  }
  /* Footer spacing */
  main { margin-bottom: 80px; }

  /* Section padding */
  section, .section-home {
    padding: 1rem;
    margin: 1rem;
  }
  .featured-meads {
    flex-direction: column;
    align-items: center; /* keeps cards centered */
  }

  .featured-meads .card {
    width: 100% !important;      /* full width on mobile */
    max-width: 20rem;            /* prevents cards from becoming too wide */
  }
  /* Center all sections */
  section,
  .section-home,
  .container {
    padding: 1rem;
    margin: 1rem auto;
    text-align: center;
  }

  /* Stack all flex rows vertically */
  .featured-meads,
  .about-page,
  .story-text,
  .find-us,
  .contact-wrapper,
  .gallery-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem;
  }

  /* Card responsiveness */
  .card {
    width: 100% !important;
    max-width: 22rem;
    margin: 0 auto;
  }

  /* Featured meads spacing */
  .featured-meads .card {
    width: 100% !important;
    max-width: 20rem;
  }

  /* About page image fix */
  .about-content img,
  .story-image {
    width: 100%;
    max-width: 280px;
    height: auto !important;   /* prevents vertical stretching */
    margin: 0 auto 1.5rem auto;
    display: block;
  }

  /* Force the image ABOVE the text */
  .about-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .about-content img {
    order: -1;                 /* Moves image above text */
    width: 100%;               /* Full responsive width */
    max-width: 320px;          /* Prevents oversized images */
    height: auto;              /* Keeps proportions */
    margin: 0 auto 1.5rem auto;
    display: block;
  }

  .about-text {
    width: 100%;
    max-width: 600px;          /* Keeps text readable */
    margin: 0 auto;
  }

  /* Typography scaling */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p  { font-size: 1rem; }

  /* Hero section mobile */
  .hero {
    padding: 4rem 1rem;
    background-attachment: scroll;
  }

   /* Force gallery grid into a single column */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
    max-width: 22rem;   /* keeps cards same width */
    margin: 0 auto;     /* centers the column */
  }

  /* Make all gallery cards uniform */
  .gallery-card {
    width: 100% !important;
    max-width: 22rem;     /* consistent card size */
    margin: 0 auto;       /* center each card */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Ensure images scale consistently */
  .gallery-card-img {
    width: 100%;
    max-width: 20rem;
    height: auto;
    object-fit: cover;
  }

  .event-text {
    margin-left: 1rem;
    margin-right: 1rem;
    width: 90%;   /* fills more of the available space */
  }
    #events-container .card {
    width: 100% !important;       /* full width */
    max-width: 26rem !important;  /* slightly larger than current 20–22rem */
    margin: 0 auto 1.5rem auto;   /* center and add spacing */
    padding: 1.5rem;              /* more breathing room inside */
  }
  footer {
    position: relative;
    text-align: center;
    margin: 0rem;
    padding:0rem;
  }

  footer .container {
    display: flex;           /* Ensures flex rules apply */
    flex-direction: column;
    gap: 0.15rem;            /* Dramatically shrinks space between text and social icons */
  }

  footer p {

    margin: 0rem;               /* Removes default browser browser paragraph margins */
    font-size: 0.85rem;      /* Slightly smaller text reduces line height */
    line-height: 1.2;        /* Forces text lines to sit closely together */
  }

  footer a img {
    max-height: 20px;        /* Shrinks icons slightly more to shave off pixels */
    vertical-align: middle;
    padding-bottom:0rem;
  }

  .footer-links {
    display: flex;           /* Ensures flex direction works */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;  
    padding-bottom:0rem;          /* Spaces out the icons horizontally, not vertically */
  }
}

@media (max-width: 576px) {
  .event-text {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 100%;  /* full width on very small screens */
  }

  #events-container .card {
    width: 100% !important;
    max-width: 28rem !important;  /* even larger for very small screens */
    margin: 0 auto 1.5rem auto;
    padding: 1.75rem;
  }
}