/*
Theme Name: Heritage Coffee
Theme URI: https://pixelprodesigns.com/heritage-coffee
Author: PixelPro Designs
Author URI: https://pixelprodesigns.com
Description: A custom WordPress theme developed for Heritage Coffee.
Version: 1.0.0
Text Domain: heritage-coffee
Tags: custom, coffee-shop, responsive, modern
*/

.menu-sidebar {
  position: -webkit-sticky; /* For Safari compatibility */
  position: sticky;
  top: 100px; /* Adjust this value depending on how tall your top navbar header is */
  align-self: start; /* CRITICAL: Stops the sidebar height from stretching with grid/flexbox */
  
  /* Recommended optional styles for sticky container height */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
main, .menu-app-section {
  overflow: visible;
}
  
/* 4. Sticky Left Sidebar */
.menu-sidebar {
  position: -webkit-sticky;
  position: sticky;
 
  align-self: start;
  width: 100%;
  
  /* Constrain height so sidebar scrolls internally if it exceeds viewport */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  
  background: #ffffff;
  padding: 1rem;
  
  
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 10;
}

/* Hide inner scrollbar for clean visual look */
.menu-sidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* 5. Scrollable Right Main Content */
.menu-main {
  min-width: 0;
}

.menu-card-layout {
  scroll-margin-top: 100px; /* Aligns target section smoothly when clicking sidebar link */
  margin-bottom: 3.5rem;
}

/* About Us */
 .story-split-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: center;
      }
      .story-quote-card {
        background-color: #ffffff;
        border-left: 3px solid var(--gold);
        padding: 2.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-light);
        border-left: 4px solid var(--gold);
        margin: 2.5rem 0;
      }
      .philosophy-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        margin-top: 3rem;
      }
      .philosophy-card {
        background-color: var(--cream);
        padding: 2.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-light);
      }
      .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        margin-top: 3rem;
      }
      .team-card {
        background-color: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        overflow: hidden;
      }
      .team-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
      }
      .team-card-body {
        padding: 1.75rem;
      }
      .team-card-body h4 {
        font-family: var(--font-serif);
        font-size: 1.35rem;
        margin-bottom: 0.25rem;
      }
      .team-card-body span {
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--timber);
      }
      @media (max-width: 1024px) {
        .story-split-section { grid-template-columns: 1fr; gap: 3rem; }
        .philosophy-grid { grid-template-columns: 1fr; }
        .team-grid { grid-template-columns: 1fr; }
      }

      /* Contact Us */


       .parking-guide-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
      }
      .parking-card {
        background-color: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 2.25rem;
      }
      .parking-card h4 {
        font-family: var(--font-serif);
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
      }
      .faq-list {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 2.5rem;
      }
      .faq-item {
        background-color: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 1.75rem 2rem;
      }
      .faq-item h4 {
        font-family: var(--font-serif);
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        color: var(--espresso);
      }
      .faq-item p {
        font-size: 0.9375rem;
        color: rgba(33, 26, 23, 0.8);
        line-height: 1.65;
        margin-bottom: 0;
      }
      @media (max-width: 1024px) {
        .parking-guide-grid { grid-template-columns: 1fr; }
      }

      /*Menu   */

        /* Update or add this inside your CSS file */
.menu-sidebar {
  position: -webkit-sticky; /* For Safari compatibility */
  position: sticky;
  top: 100px; /* Adjust this value depending on how tall your top navbar header is */
  align-self: start; /* CRITICAL: Stops the sidebar height from stretching with grid/flexbox */
  
  /* Recommended optional styles for sticky container height */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
main, .menu-app-section {
  overflow: visible;
}


/* 4. Sticky Left Sidebar */
.menu-sidebar {
  position: -webkit-sticky;
  position: sticky;
 
  align-self: start;
  width: 100%;
  
  /* Constrain height so sidebar scrolls internally if it exceeds viewport */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  
  background: #ffffff;
  padding: 1rem;
  
  
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 10;
}

/* Hide inner scrollbar for clean visual look */
.menu-sidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* 5. Scrollable Right Main Content */
.menu-main {
  min-width: 0;
}

.menu-card-layout {
  scroll-margin-top: 100px; /* Aligns target section smoothly when clicking sidebar link */
  margin-bottom: 3.5rem;
}

.specs-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
      }
      .spec-card {
        background-color: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 2.5rem;
        text-align: center;
        transition: var(--transition-normal);
      }
      .spec-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(33, 26, 23, 0.08);
      }
      .spec-card .spec-value {
        font-family: var(--font-serif);
        font-size: 3.25rem;
        color: var(--teal);
        line-height: 1;
        margin-bottom: 0.75rem;
      }
      .amenities-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
      }
      .amenity-item {
        display: flex;
        gap: 1.25rem;
        align-items: flex-start;
        padding: 1.75rem;
        background-color: var(--cream);
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-light);
      }
      .amenity-icon {
        width: 48px;
        height: 48px;
        background-color: var(--espresso);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
      }
      .event-types-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        margin-top: 3rem;
      }
      .event-type-card {
        background-color: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        overflow: hidden;
      }
      .event-type-img {
        height: 240px;
        width: 100%;
        object-fit: cover;
      }
      .event-type-body {
        padding: 2rem;
      }
      .catering-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
      }
      .catering-card {
        background-color: var(--espresso);
        color: var(--cream);
        padding: 2.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-dark);
      }
      @media (max-width: 1024px) {
        .specs-grid { grid-template-columns: 1fr; }
        .amenities-grid { grid-template-columns: 1fr; }
        .event-types-grid { grid-template-columns: 1fr; }
        .catering-grid { grid-template-columns: 1fr; }
      }