/* Reset & Base */
@font-face {
  font-family: 'Fields' !important;
  src: url('../content/Fields-SemiBold.otf') format('opentype');
  font-weight: 500; /* semibold */
  font-style: normal;
}

:root {
      --linen: #F7F1E4;
      --blush: #F4C5B4;
      --clay: #C6803D;
      --sage: #BAAF69;
      --charcoal: #2E2A26;
      --blue: #5985C4;
      --sky: #98B6DC;
      --olive: #68672B;
    }
body {
      padding: 2px;
      background: var(--linen); 
      background-repeat: no-repeat;
      background-attachment: fixed;
    }
    
    
    .main-header {
	position: sticky;
	top: 0;
    background-color: var(--linen);
    padding: 1rem 1rem;
    display: flex;
    flex-wrap: nowrap;     /* prevents wrapping */
    white-space: nowrap;
    align-items: center;
	z-index: 9999;
	max-width: 2300px;   /* try 1300 or 1200 if you want it tighter */
    margin: 0;      /* centers the header */
   /*added to center menu*/ 
    align-items: center;
  justify-content: space-between;
  gap: 0px; /* temporary value, we will tune later */
    
    
    }
    
    .menu-middle {
  display: flex;
  align-items: center;
  /*flex: 1 1 auto;  to be removed */
  
  
 /*************/
  display: flex;
  align-items: center;
  gap: 0px; /* temporary, we will tune this */
  
}
    
.menu-spacer {
  /* flex: 0 0 clamp(140px, 12.9vw, 420px);*/  /* this sets where the text starts */
  /*flex: 0 0 clamp(140px, 11vw, 420px);*/
  
  flex: 0 0 auto; 
}

.main-nav {
  position: relative;
  margin-left: 0px; 
  z-index: 1000;
  margin-top: 35px; /* adjust up/down as needed */
  font-family: 'Fields', sans-serif;
  /*flex: 0 0 clamp(400px, 40vw, 900px);*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto; /* IMPORTANT */
}

.main-nav > ul > li > a {
  padding-bottom: 0;
}
    

    .main-nav ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

    .main-nav li {
      position: relative;
    }
    
    
    .main-nav > ul > li {
  flex: 1;   /* only top-level items stretch */
}
    .main-nav .submenu {
  display: block;
  flex-direction: column;
}

    .main-nav a {
      color: var(--clay);
      text-decoration: none;
      font-weight: bold;
      font-size: clamp(12px, 1.1vw, 20px);
      padding: 0.27rem 0.5rem;
      display: block;
       font-family: 'Fields', sans-serif;
       text-align: center;
       white-space: nowrap; /* prevents text wrapping */
         min-width: 0;        /* allows shrinking safely */
    }
    




/* Drop down menus */

    .dropdown {
      position: static;
      display: block !important;
       flex: 0 0 auto;
    }

    .dropdown-toggle {
      background-color: var(--sage);
      color: white;
      padding: 0;
      border: none;
      cursor: pointer;
      border-radius: 4px;
    }

    .dropdown-menu {
      position: absolute;
      /*top: 35px !important;*/
      top:100%;
      left: 0;
      visibility: hidden;
      background-color: var(--sage);
      list-style: none;
      padding: 0;
      margin: 0;
      display: none;
      border-radius: 4px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      z-index: 1000;
    }

    .dropdown:hover .dropdown-menu {
      visibility: visible;
      display: block;
    }

    .dropdown-menu li {
      margin: 0;
      padding: 0;
    }

    .dropdown-menu li a {
      display: block !important;
      padding: 4px 4px; 
      font-size: 16px;
      line-height: 16px;
      color: white;
      text-decoration: none;
      background-color:var(--sage);
      box-sizing: border-box;
      white-space: nowrap;
       font-family: 'Fields', sans-serif;
       width: 300px!important; 
       text-align: left;
    }

    .dropdown-menu li a:hover {
      background-color: var(--olive);
      color: var(--linen);
    }
    
    .dropdown-menu .submenu li {
  display: block !important;
}
    .dropdown-menu .submenu {
  padding-left: 20px;
}
    
a:hover {
  color:#F4C5B4;
}

.logo img { 
width: 220px;
/*width: clamp(120px, 12vw, 220px);*/
height:auto;
display: inline-block;
margin-left: -10px;
flex: 0 0 auto;   /* <-- images keep their size but NEVER push the menu */
  min-width: 0;  
}

.logoowl img { 
  width: 150px; */
  /*width: clamp(90px, 10vw, 150px);*/
  height:auto;
  display: inline-block;
  margin-left: -10px;
  flex: 0 0 auto;   /* <-- images keep their size but NEVER push the menu */
  min-width: 0;  
}

.logo-rounded-sm img{
  width: 150px;
  /*width: clamp(100px, 11vw, 180px);*/
  height:auto;
  display: inline-block;
  margin-left: 0;
  margin-top: -20px;   /* move image upward */
  flex: 0 0 auto;   /* <-- images keep their size but NEVER push the menu */
  min-width: 0;  
}

/* Responsive */
/* most tablet sizes 
@media (max-width: 900px) {
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: clamp(14px, 2vw, 18px);
  }
}
/* phone width
@media (max-width: 768px) {

  .main-header {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }

  .main-nav {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 10px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .main-nav a {
    font-size: clamp(14px, 4vw, 20px);
  }
}*/


