/* -------------------------------
   Root Variables: Colors & Fonts
   ------------------------------- */
:root {
  /* Color Palette */
  --primary-green: #3A6B35;
  --primary-green-dark: #2A4F27;
  --primary-complement:#66356B;
  --primary-dark-complement:#4C274F;
  --secondary-complement:#6B353A;
  --secondary-dark-complement:#4F272A;
  --black: #000000;
  --white: #FFFFFF;
  --light-gray: #F5F5F5; 

  /* Serif Fonts */
  --font-serif-primary: 'Goudos', serif; /* make Goudos the preferred serif */
  --font-serif-secondary: 'Lora', serif;

  /* Sans-Serif Fonts */
  --font-sans-primary: 'Montserrat', sans-serif;
  --font-sans-secondary: 'Open Sans', sans-serif;

  /* Display / Decorative Fonts */
  --font-display: 'Raleway', sans-serif;
  --font-script: 'Exodus', cursive;

  /* System Fallback */
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes & Line Heights */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --line-height-tight: 1.3;
  --line-height-normal: 1.6;
  --line-height-loose: 1.8;

  /* Navbar height variables */
  --contact-strip-height: 70px;
  --navbar-height: 134px;
  --header-height: calc(var(--contact-strip-height) + var(--navbar-height));
}

/* ================================
   Custom Fonts
   ================================ */
@font-face {
  font-family: 'Goudos';
  src: url('/font/goudos.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Italiana';
  src: url('/font/Italiana-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Wonton';
  src: url('/font/Wonton.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MexicanTequila';
  src: url('/font/MexicanTequila.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}



html,body{margin:0;padding:0;} /* remove browser default padding and margin */

/* =========================================================
   Mobile contact strip: clean baseline
   ========================================================= */
.mobile-contact-strip {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;              /* full viewport width */
  margin: 0;
  height: var(--contact-strip-height);

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: var(--line-height-normal);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 6000;
  box-sizing: border-box;

  background:
    linear-gradient(to bottom,
      var(--light-gray) 0%,
      var(--light-gray) 65%,
      rgba(217,217,217,0) 100%
    ),
    linear-gradient(to right,
      var(--primary-green) 0%,
      var(--white) 100%);
}

.contact-address {
  font-size: inherit; /* inherits the slightly smaller size */
}



.mobile-contact-strip.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.mobile-contact-strip.hidden {
  top: -100px;
  opacity: 0;
}

.mobile-contact-strip.visible {
  top: 0;
  opacity: 1;
}

.mobile-contact-strip .contact-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.5rem;
  font-size: 20px;
}

.mobile-contact-strip .contact-address {
  color: var(--black);
  font-size: 20px;
}

/* =========================================================
   Mobile nav: header, hamburger, and logo 
   ========================================================= */
.mobile-nav {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  height: var(--navbar-height);
  background: linear-gradient(to right, var(--primary-green), var(--white));
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 1;
  z-index: 5000;
  width: 100%;   /* full viewport width */
  margin: 0;
  box-sizing: border-box;
}

.mobile-nav.sticky {
  position: fixed;
  top: var(--contact-strip-height); /* sits below contact strip */
  left: 0;
  right: 0;
  width: 100vw;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.mobile-nav.hidden {
  top: -100px;
  opacity: 0;
}

.mobile-nav.visible {
  top: var(--contact-strip-height);
  opacity: 1;
}

/* Hamburger button container */
.hamburger {
  flex: 0 0 auto;
  padding: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;

  /* keep your tactile feedback */
  transition: background 0.2s ease, transform 0.1s ease;
}

/* The three bars */
.hamburger span {
  display: block;
  width: 3.5rem;        /* bar width */
  height: 0.4rem;       /* bar thickness */
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Press/Focus feedback */
.hamburger:focus,
.hamburger:active {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  transform: scale(0.95);
}

/* Morph into angled X when menu is active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.8rem, 0.8rem);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.8rem, -0.8rem);
}


/* Logo */
.mobile-nav-logo {
  margin-left: auto;
  flex: 0 0 auto;
}
.mobile-nav-logo img {
  height: 8rem;
  width: auto;
}


/* =========================================================
   Mobile nav: container, layers, and backdrop
   ========================================================= */
.mobile-nav-container {
  visibility: hidden;
  opacity: 0;
  position: relative;
  transition: opacity 300ms ease;
  z-index: 4000;
}
.mobile-nav-container.open {
  visibility: visible;
  opacity: 1;
}

/* Menu layer: start off-screen with opacity 0 */
.mobile-menu-layer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  opacity: 0;
  transform: translateY(6%);
  transition: opacity 300ms ease, transform 300ms ease;
  z-index: 4000;
}


/* Active: fade in, move into place */
.mobile-menu-layer.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 4500;
  height:auto;
  border-radius: 50px;
  
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items:stretch;
  height: auto;
  max-height: calc(100% - var(--header-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%; /* keep full width for items */
  box-sizing: border-box;
  padding: 0;
  list-style:none;
  margin: 0;
  
}

.mobile-backdrop {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2); /* lighter overlay */
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 3000;
  transition: opacity 300ms ease, backdrop-filter 300ms ease;

  backdrop-filter: blur(8px); /* gaussian blur */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
}

.mobile-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* =========================================================
   Mobile nav: items, triggers, headers, and back row
   ========================================================= */
.mobile-nav-item a,
.submenu-trigger {
  display: flex;
  justify-content: flex-start;              /* align label+arrow block to the left */
  align-items: center;
  width: 100%;                              /* make entire row clickable */

  font-family: var(--font-faculty-glyphic); /* your custom font */
  font-size: 3rem;                          /* large, elegant size */
  line-height: 1.5;                         /* balanced vertical rhythm */
  letter-spacing: 0.066em;                 /* subtle spacing for refinement */
  font-weight: 300;                         /* lighter weight for sophistication */

  padding: 2rem;
  color: var(--black);
  background: var(--white);
  text-decoration: none;

  border: none;                             /* remove border-bottom */
  border-radius: 10px;                      /* soft corners */
  margin: 0 1rem 1rem 1rem;                 /* spacing between items */
  box-sizing: border-box;

  transition: background 0.2s ease, transform 0.1s ease;
}

.mobile-nav-item a:active,
.submenu-trigger:active {
  background: var(--light-gray);
  transform: scale(0.96);                  /* stronger tactile press */
}

/* Group label and arrow together */
.submenu-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;                                /* spacing between label and arrow */
}

/* Arrow styling */
.submenu-arrow {
  font-size: 1.6rem;
  color: var(--primary-green);
  font-weight: bold;
  transition: transform 0.2s ease;
}

.submenu-trigger:active .submenu-arrow {
  transform: translateX(4px);              /* subtle tap feedback */
}

.mobile-nav-header {
  font-weight: bold;
  padding: 1rem 2rem;
  background: var(--light-gray);
  border-bottom: 1px solid #e5e5e5;
}



/* Back row container */
.mobile-nav-back {
 margin: 0;                 /* keep li neutral */
  padding: 0;
  background: none;
  width: auto;
}
.submenu-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 3rem;
  margin: 0 1rem 1rem 1rem;
  border-radius: 75px;
  box-sizing: border-box;

  font-family: var(--font-faculty-glyphic);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.066em;
  line-height: 1.5;
  color: var(--primary-green);
  border: none;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.1s ease;
}


.submenu-back:active {
  background: #d0d0d0;
  transform: scale(0.96);
}



/* =========================================================
   Mobile nav: iOS safe area support
   ========================================================= */
@supports (padding-top: env(safe-area-inset-top)) {
  .mobile-nav {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--navbar-height) + env(safe-area-inset-top));
  }
  .mobile-menu-layer {
    top: calc(var(--header-height) + env(safe-area-inset-top));
    height: calc(100% - (var(--header-height) + env(safe-area-inset-top)));
  }
  .mobile-backdrop {
    top: calc(var(--header-height) + env(safe-area-inset-top));
  }
}

/* =========================================================
   Mobile nav: small-screen tweaks
   ========================================================= */
@media (max-width: 480px) {
  .hamburger {
    font-size: 9rem;
    padding: 2.25rem;
  }
  .mobile-nav-logo img {
    height: 9rem;
  }
}
/*==========================================================
   First Margin top rule to balance navbar Section for Mobile
   ========================================================= */

.first-section.offset-header {
  margin-top: var(--header-height);
}
/*Egg Poached*/