/* ---------------------------------
   RESET / GLOBAL
---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    /* Example brand colors */
    --brown: #8B4513;
    --khaki: #F0E68C;
    --olive-green: #556B2F;
    --beige: #f9f5ec;
    --burnt-orange: #CC5500;
    --tan: #D2B48C;
    --deep-green: #2F4F4F;
    --golden-yellow: #FFD700;
  
    /* Sunset gradient from burnt orange to golden yellow */
    --sunset-gradient: linear-gradient(90deg, #cc5500 0%, #ffd700 100%);
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--beige);
    color: var(--deep-green);
    line-height: 1.6;
  }
  
  /* ---------------------------------
     HEADER / NAVBAR
  ---------------------------------- */
  header {
    background: var(--sunset-gradient);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 999; /* ensures nav is on top */
  }
  
  .navbar {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* So absolute submenus can align to this */
  }
  
  /* Logo container spacing */
  .logo {
    margin-left: 10px; 
  }
  
  /* Enlarged logo */
  .logo img {
    height: 100px; 
    width: auto;
    margin-right: 20px;
  }
  
  /* HAMBURGER ICON */
  .menu-icon {
    display: none; /* Shown below 992px */
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--brown);
    background: none;
    border: none;
  }
  
  /* MAIN MENU */
  .menu {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
    /* 
      If you want the top-level items 
      also on a single line without wrapping,
      add:
        white-space: nowrap;
    */
    white-space: nowrap;
  }
  
  /* Each top-level <li> in the .menu */
  .menu li {
    position: relative;
    margin: 0;
    padding: 0;
  }
  
  /* Menu links - no wrapping on text */
  .menu a {
    color: var(--brown);
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    font-weight: 600;
  
    /* No wrapping */
    white-space: nowrap; 
  }
  
  /* Hover effect for desktop */
  @media (min-width: 993px) {
    .menu > li:hover > a {
      background-color: var(--khaki);
      color: var(--deep-green);
    }
  }
  
  /* Submenu toggle button (for mobile) */
  .submenu-toggle {
    display: none;  /* shown on mobile only */
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--brown);
    cursor: pointer;
    padding: 0.5rem;
  }
  
  /* SUBMENU (Hidden by default; small submenus left-aligned) */
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--khaki);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  
    /* single column for smaller submenus */
    flex-direction: column;
    min-width: 200px;
  
    /* keep text on one line here, too */
    white-space: nowrap;
  }
  
  /* LARGE SUBMENU (multi-col, centered on desktop) */
  .large-submenu {
    display: none;
    margin: 0;
    padding: 0.5rem;
    background-color: var(--khaki);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    max-height: 300px;   /* scroll if taller than 300px */
    overflow-y: auto;    
    column-count: 2;     
    column-gap: 1rem;
    min-width: 400px;    
    white-space: nowrap; /* no text wrapping in columns */
  }
  
  /* Submenu links no wrap */
  .submenu li a {
    padding: 0.5rem 1rem;
    color: var(--deep-green);
    white-space: nowrap; /* ensure items stay on one line */
  }
  
  .submenu li a:hover {
    background-color: var(--burnt-orange);
    color: var(--beige);
  }
  
  /* Prevent item splitting in .large-submenu columns */
  .large-submenu li {
    break-inside: avoid; 
  }
  
  /* ---------------------------------
     DESKTOP (>= 993px)
  ---------------------------------- */
  @media (min-width: 993px) {
    /* Show submenus on hover */
    .has-submenu:hover .submenu {
      display: flex;
    }
    .has-submenu:hover .large-submenu {
      display: block;
    }
  
    /* Center the .large-submenu under the parent on desktop */
    .large-submenu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  
  /* ---------------------------------
     MOBILE (<= 992px)
  ---------------------------------- */
  @media (max-width: 992px) {
    /* Show the hamburger icon */
    .menu-icon {
      display: block;
    }
  
    /* The entire menu becomes a full overlay */
    .menu {
      position: fixed;
      top: 70px; 
      right: 0;
      width: 100%;
      max-height: 0; /* hidden by default */
      background-color: var(--khaki);
      flex-direction: column;
      overflow: hidden;
      overflow-y: auto;
      height: calc(100vh - 70px);
  
      /* if you want them on a single line, you can keep
         white-space: nowrap; 
         but that might cause horizontal scroll on very small screens
      */
    }
  
    /* Each top-level item is full width on mobile */
    .menu li {
      width: 100%;
    }
  
    /* Hover does nothing on mobile */
    .has-submenu:hover .submenu,
    .has-submenu:hover .large-submenu {
      display: none;
    }
  
    /* Submenus on mobile => toggled via .submenu-toggle => JS sets display:block */
    .submenu,
    .large-submenu {
      position: static;
      display: none; 
      box-shadow: none; 
      background-color: var(--khaki);
      width: 100%;
      max-height: none;
      overflow-y: hidden;
  
      /* Single column on phone for large-submenu */
      column-count: 1;
      column-gap: 0;
      min-width: auto;
      transform: none;
      left: auto;
    }
  
    /* Show the submenu toggle button on mobile */
    .submenu-toggle {
      display: inline-block;
    }
  }
  
  /* ---------------------------------
     BACK TO TOP BUTTON
  ---------------------------------- */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--burnt-orange);
    color: var(--beige);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 0.3rem;
    display: none; /* hidden by default */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .back-to-top:hover {
    background-color: var(--deep-green);
    color: var(--golden-yellow);
    transition: 0.3s;
  }
  
  /* ---------------------------------
     FOOTER STYLES (unchanged)
  ---------------------------------- */
  .footer {
    background-color: var(--brown);
    color: var(--beige);
    padding: 2rem 0;
    margin-top: 2rem;
  }
  
  .footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  
  .footer-col {
    flex: 1 1 220px;
    min-width: 220px;
  }
  
  .footer-col h3,
  .footer-col h4 {
    color: var(--golden-yellow);
    margin-bottom: 1rem;
  }
  
  .footer-col p {
    margin-bottom: 1rem;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-col ul li a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: var(--golden-yellow);
  }
  
  .contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
    vertical-align: middle;
  }
  
  /* Social icons: increased size to 32px */
  .social-icons img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    transition: transform 0.3s;
  }
  
  .social-icons img:hover {
    transform: scale(1.1);
  }
  
  /* Footer bottom note */
  .footer-bottom {
    border-top: 1px solid var(--khaki);
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
  }
  
  /* Remove inline styles for phone / email / whatsapp links */
  .call-link,
  .email-link,
  .whatsapp-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }
  
  .call-link:hover,
  .email-link:hover,
  .whatsapp-link:hover {
    color: var(--golden-yellow);
  }