@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* --- Header, Navbar & Desktop Mega Menu --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    height: 44px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: height 0.4s ease;
}
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.4s ease, border-color 0.3s ease;
}
.site-header.menu-active {
    height: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); 
}
.site-header.menu-active::before {
    background-color: #ffffff;
}
.navbar-container {
    width: 100%;
    max-width: 1600px;
    height: 44px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: #1d1d1f;
}
.nav-links ul {
    display: flex;
    gap: clamp(1rem, 2.2vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-contact .btn {
    width: auto;
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 400; 
}
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.mega-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mega-menu-column {
    width: 250px;
}
.mega-menu-column h4 {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 20px 0;
}
.mega-menu-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mega-menu-column li {
    margin-bottom: 16px;
}
.mega-menu-column ul a {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-header.menu-active .navbar-container {
    border-bottom-color: transparent;
}
.mega-menu {
    width: 100%;
    height: calc(100% - 44px);
    position: absolute;
    top: 44px;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}
.site-header.menu-active .mega-menu {
    opacity: 1;
    pointer-events: auto;
}
.mega-menu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}
.mega-menu-content {
    display: none;
}
.mega-menu-content.is-active {
    display: flex;
    gap: 60px;
    justify-content: flex-start;
}

/* --- Button Styling --- */
.button-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.btn.btn-solid-gold {
    width: 135px;
    background-color: #926c00;
    border-color: #926c00;
    color: #ffffff;
}
.btn.btn-solid-gold:hover {
    background-color: #a17a00;
    border-color: #a17a00;
}
.btn.btn-outline-gold {
    width: 135px;
    border-color: #926c00;
    color: #926c00;
}
.btn.btn-outline-gold:hover {
    background-color: #926c00;
    color: #ffffff;
}
.btn.btn-outline-white {
    width: 177px;
    border-color: #ffd60a;
    color: #ffd60a;
}
.btn.btn-outline-white:hover {
    background-color: #ffd60a;
    color: #0e0e0e;
}

/* --- Footer Styling --- */
.site-footer {
    background-color: rgb(245, 245, 247);
    color: #1d1d1f; 
    padding: 30px 0 30px 0;
    box-sizing: border-box;
    margin-top: 3rem;
}
.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.footer-legal-notice {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.footer-legal-notice p {
    max-width: 100%;
    margin: 0 0 1em 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: #555555;
    text-align: left;
}
.footer-legal-notice p:last-child {
    margin-bottom: 0;
}
.footer-columns {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    padding-bottom: 10px;
}
.footer-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    margin: 0 0 16px 0;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 13px;
}
.footer-links a {
    font-size: 13px;
    font-weight: 400;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #000000;
}
.footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}
.footer-bottom-bar p {
    margin: 0;
    font-size: 13px;
    color: #555555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =================================================================== */
/* ==                     MOBILE & RESPONSIVE STYLES                == */
/* =================================================================== */

.mobile-only {
    display: none;
}

/* --- Mobile Menu Panel --- */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}
.mobile-menu-panel.is-open {
    transform: translateY(0);
}
.mobile-menu-header {
    height: 44px;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}
.mobile-menu-back-btn {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-back-btn .chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}
.mobile-menu-content-wrapper {
    position: relative;
    flex-grow: 1;
    overflow-y: auto;
    padding-top: 44px;
    overflow-x: hidden;
}
.mobile-menu-list {
    padding: 1rem 2rem;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#mobile-menu-main {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu-list.submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    visibility: hidden;
    padding-top: 60px;
}
.mobile-menu-list.submenu.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}
.mobile-menu-panel.submenu-is-active #mobile-menu-main {
    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;
    visibility: hidden;
}
.mobile-menu-panel.submenu-is-active .mobile-menu-back-btn {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu-list > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    font-size: 20pt;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
}
.mobile-menu-list a[data-submenu-target] .chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(-45deg);
}
.submenu h4 {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 20px 0 16px 0;
}
.submenu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}
.submenu a {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    padding: 8px 0;
    text-decoration: none;
    display: block;
}

.submenu ul ~ ul a,
.submenu ul ~ h4 + ul a {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-text-dark);
}

.submenu a strong {
    font-weight: 600;
    color: var(--color-text-dark);
}
@media (max-width: 1440px) {
    .footer-container{
        max-width: 935px;
        padding: 0;
    }
    .footer-legal-notice p{
        font-size: 0.75rem;
    }
    .footer-columns {
        display: grid;
        padding: 0;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

}

@media (max-width: 1069px) {
    .footer-container{
        max-width: 935px;
        padding: 0;
    }
    .footer-legal-notice p{
        font-size: 0.75rem;
    }
    .footer-columns {
        display: grid;
        padding: 0;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

}

@media (max-width: 892px) {
    .site-header.mobile-menu-open .logo-icon,
    .site-header.mobile-menu-open #mobile-contact-icon {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-links {
        display: none;
    }
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
    }
    .navbar-container {
        justify-content: space-between;
        max-width: none;
        width: 100%;
        padding: 0;
    }
    .nav-contact {
        display: flex;
        align-items: center;
        gap: 16px;
        position: relative;
        z-index: 1002;
    }
    .nav-icon-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        cursor: pointer;
        opacity: 0.8;
        transition: opacity 0.2s ease;
    }
    .nav-icon-btn:hover {
        opacity: 1;
    }
    #mobile-contact-icon {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
        background-size: 20px;
        background-position: center;
        background-repeat: no-repeat;
    }
    #mobile-menu-trigger {
        position: relative;
        background-color: transparent;
    }

    #mobile-menu-trigger span {
        display: block;
        width: 18px;
        height: 2px;
        background-color: #333;
        position: absolute;
        left: 50%;
        transform-origin: center;
        transition: transform 0.3s ease, top 0.3s ease;
    }

    #mobile-menu-trigger span:first-child {
        top: 15px;
        transform: translateX(-50%) rotate(0deg);
    }

    #mobile-menu-trigger span:last-child {
        top: 21px;
        transform: translateX(-50%) rotate(0deg);
    }

    .site-header.mobile-menu-open #mobile-menu-trigger span:first-child {
        top: 18px;
        transform: translateX(-50%) rotate(45deg);
    }

    .site-header.mobile-menu-open #mobile-menu-trigger span:last-child {
        top: 18px;
        transform: translateX(-50%) rotate(-45deg);
    }

/* --- Footer Styling --- */
.site-footer {
    background-color: rgb(245, 245, 247);
    color: #1d1d1f; 
    padding: 30px 0 30px 0;
    box-sizing: border-box;
    margin-top: 1rem;
}
.footer-container {
    max-width: 700px;
    padding: 0 20px;
    box-sizing: border-box;
}
.footer-legal-notice {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.footer-legal-notice p {
    max-width: 100%;
    margin: 0 0 1em 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: #555555;
    text-align: left;
}
.footer-legal-notice p:last-child {
    margin-bottom: 0;
}
.footer-columns {
    padding: 0;
}
.footer-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    margin: 0 0 16px 0;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 13px;
}
.footer-links a {
    font-size: 13px;
    font-weight: 400;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #000000;
}
.footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}
.footer-bottom-bar p {
    gap: 0.5rem;
}    
}

