/*
-----------------------------------
        HEADER & NAVBAR
-----------------------------------
*/

.main-navbar {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Navigation Links */
.navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ec4899;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.current-menu-item {
    color: #ec4899;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.current-menu-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: #ec4899;
    border-radius: 1px;
}

.nav-item.menu-item-has-children {
    position: relative;
}

.nav-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    min-width: 200px;
    display: none;
    z-index: 1030;
    padding: 0.5rem 0;
}

.nav-item:hover .sub-menu {
    display: block;
}

.sub-menu .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Language Button */
.language-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: .85rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 1rem;
}

.language-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #374151;
    text-decoration: none;
}

.language-btn svg {
    width: 22px;
    height: 22px;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    color: #ec4899;
    background: #f9fafb;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }

    .navbar-nav .nav-link {
        padding: 1rem 0;
        font-size: 1.125rem;
    }

    .navbar-nav .nav-link:hover {
        background: #f9fafb;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .language-btn {
        margin-left: 0;
        margin-top: 1rem;
        width: fit-content;
    }

    .sub-menu {
        position: static !important;
        width: 100%;
        box-shadow: none !important;
        background: #f9fafb !important;
        margin-left: 1rem;
        border-radius: 0 !important;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 50px;
    }

    .language-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .language-btn svg {
        width: 18px;
        height: 18px;
    }
}

/*
-----------------------------------
        FOOTER
-----------------------------------
*/
.footer-section {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.footer-brand {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    display: block;
}

.footer-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ec4899;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0;
}


/* Responsive adjustments */
@media (max-width: 576px) {
    .footer-section {
        padding: 1.5rem 0;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer-copyright {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .footer-disclaimer {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .footer-disclaimer {
        text-align: right;
    }
}