/**
 * Mobile Menu Styles
 */

/* Reset some default styles */
.mobile-menu-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hamburger {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    width: 55px;
    height: 25px;
    transition: all 0.3s ease-in-out;
    z-index: 1050;
    pointer-events: auto;
}

.hamburger:hover {
    width: 62px;
}

.hamburger.open {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 1003; /* Must be higher than the overlay */
    /* width: 85px; */
    width:69px;
    /* width:auto; */
    transition:none;
}

.hamburger-text {
    display: none;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    color: #000; /* Make sure text is visible */
    line-height: normal;
}

.hamburger.open .hamburger-icon {
    display: none;
}

.hamburger.open .hamburger-text {
    display: block;
    font-family: 'Adieu';
    font-weight: bold;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    bottom: 0px;
}

.hamburger-icon span:nth-child(2) {
    bottom: 8px;
}

/* Overlay styling */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 245, 200, 0.9); /* Light green with 0.9 opacity */
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-top: 20px; /* Add some padding at the top */
    justify-content: space-between;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Menu styling */
.mobile-nav {
    align-self: flex-start;
    padding: 0px 35px;
    margin-top: 80px; /* Reduced from 100px to move higher */
    width: 100%;
}

.mobile-nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
}

.mobile-nav .menu li {
    display: inline-block;
    margin-right: 30px;
    position: relative;
}

.mobile-nav .menu li:not(:last-child):after {
    content: ',';
    position: absolute;
    right: -15px;
    font-size: 100px;
    line-height: 1.2;
}

.mobile-nav .menu a {
    color: #000;
    font-size: 100px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    line-height: 1.2;
    font-family: 'Adieu';
    position: relative;
}

.mobile-nav .menu a:hover, .footer-menu .menu a:hover {
    text-decoration: none;
}

.mobile-nav .menu a::after, .footer-menu .menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 5px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .footer-menu .menu a::after {
    height: 2px;
  }
  
  .mobile-nav .menu a:hover::after, .footer-menu .menu a:hover::after {
    transform: scaleX(1);
}

.footer-menu .menu a {
    position: relative;
}

/* Logo in open menu */
.menu-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 1002;
}

/* Footer menu styling */
.footer-menu {
    position: absolute;
    bottom: 35px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding-left: 35px;
    font-weight: bold;
    margin-top: auto;
}

.footer-menu .menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.footer-menu .menu li {
    margin-right: 15px;
}

.footer-menu .menu a {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-family: 'Adieu';
    font-weight: bolf;
}

/* Mobile adjustments */
@media screen and (max-width: 1440px) {
    .mobile-nav .menu a,
    .mobile-nav .menu li:not(:last-child):after {
        font-size: 70px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-nav .menu a {
        font-size: 50px;
    }
    
    .mobile-nav .menu {
        flex-direction: column;
    }
    
    .mobile-nav .menu li {
        margin-bottom: 0px;
    }
    
    .mobile-nav .menu li:not(:last-child):after {
        content: ',';
        position: static;
        margin-left: 2px;
        font-size: 50px;
    }
    
    .footer-menu {
        position: relative;
        margin-top: 0px;
        bottom: 0;
    }

    .mobile-nav .menu a::after, .footer-menu .menu a::after{
        height:2px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-nav .menu a,
    .mobile-nav .menu li:not(:last-child):after {
        font-size: 32px;
    }

    .mobile-nav {
        margin-top: 60px;
    }

    /* .hamburger {
        height: 16px;
    } */
}

/* Fix for WordPress admin bar */
body.admin-bar .overlay {
    top: 32px;
    height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .overlay {
        top: 46px;
        height: calc(100% - 46px);
    }

    .elementor-121 .elementor-element.elementor-element-543e477.elementor-section-full_width {
        padding: 0px 16px 0 16px !important;
    }

    .hamburger.open {
        top: 13px;
        right: 16px;
    }

    #sectionMenu {
        margin-top: 0 !important;
    }

    .mobile-nav, .footer-menu{
        padding: 16px;
    }

    .hamburger{
        justify-content: flex-end;
    }

    .hamburger-text{
        margin-top:0px;
        /* font-size: 12px; */
    }
}

/* Header and Scroll Button CSS */
header.elementor-121 {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    will-change: transform;
  }
  
  
  /* Make overlay full height */
  .overlay {
    height: 100vh !important;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Hide header when scrolling down */
  header.elementor-121.header-hidden {
    transform: translateY(-150%);
  }
  
  /* Ensure content below header isn't hidden */
  body {
    padding-top: 67px; /* Adjust this value to match your header height */
  }
  
  /* Scroll down button styles */
  .scroll-down-btn {
    transition: opacity 0.3s ease;
  }
  
  /* Smooth transitions */
  @media (prefers-reduced-motion: no-preference) {
    header.elementor-121 {
      transition: transform 0.3s ease;
    }
    
    .scroll-down-btn {
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
  }

.elementor-section.elementor-element-a9359d2 .elementor-container {
    flex-wrap: nowrap;
}

.mc4wp-form input[type="submit"]:hover{
    color:#000 !important;
}

.elementor-widget-container p{
    margin-bottom: 10px !important;
}

.elementor-icon-box-title{
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}