/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header {
    transition: all 0.5s;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
header.header-transparent {
    background: transparent;
}
header.header-scrolled {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-100); 
    padding: 12px;
}
.header-container{
    max-width: 900px;
    margin: 0px auto; 
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
header .logo img {
    padding: 0;
    margin: 0;
    max-height: 40px;
}
@media (max-width: 768px) {
    header.header-scrolled {
        padding: 8px 0;
    }
}
.navbar {
    padding: 0;
    margin: 0;
}
.nav-menu {
    list-style: none;
    display: flex; 
    padding: 0;
    margin: 0;
}
.nav-item {
    margin: 0 12px;
}
.nav-link {
    display: block;
    color: var(--black);
    font-weight: 600;
    padding: 12px 0;
    transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--fourth);
}
.hamburger {
    width: 24px;
    height: 18px;
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333333;
    transition: all 0.3s;
}
.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 98; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.no-scroll {
    overflow: hidden;
}
:target {
    scroll-margin-top: 76px; 
}
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    .navbar {
        position: fixed;
        top: 0;
        right: -300px; 
        width: 200px;
        height: 100vh;
        align-items: flex-start;
        padding-top: 60px;
        background: #ffffff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        transition: right 0.3s;
        z-index: 99;
    }
    .navbar.active {
        right: 0;
    }
    .nav-menu {
        flex-direction: column;
    }
    .nav-item {
        margin: 0;
    }
    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid #eeeeee; 
    }
    .hamburger.active {
        position: fixed; 
        top: 25px; 
        right: 25px; 
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0; 
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}
@media (max-width: 767px){
    :target {
    scroll-margin-top: 60px; 
}
}

/*---------------------------------------------
# Sections General
---------------------------------------------*/
section {
    overflow: hidden;
  }
  @media only screen and (max-width: 1200px) {
      section {
        overflow: hidden;
      }
  }

/*---------------------------------------------
# Footer
---------------------------------------------*/
#footer {
    background: var(--primary); 
    padding: 0 0 30px 0;
    color: var(--white);
}
#footer .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.6px solid #fff;
    padding-top: 20px;
}
#footer .copyright {
    letter-spacing: 0.05rem;
}
#footer i{
    font-size: 1.5rem;
}
#footer li a:hover{
    color: #A57242;
}
@media (max-width: 768px){
    #footer .container{
        flex-direction: column;
        gap: 20px;
    }
}
/*---------------------------------------------
# Back to top button
---------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 998;
    background: #E4AD56; 
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}
.back-to-top:hover {
    background: #A57242;
    color: var(--white);
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
/*---------------------------------------------
# Disable aos animation delay on mobile devices
---------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
}