/* =====================================================
   INDIGENOUS-INSPIRED NAVBAR & FOOTER STYLES
===================================================== */

.logo-with-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-with-text img {
    height: 115px;
    width: 115px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-left: 5px;
}

.text-1 {
    font-size: 32px;
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.text-2 {
    font-size: 30px;
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--primary-earth, #2b1f1a);
    box-shadow: 0 2px 20px rgba(43, 31, 26, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(43, 31, 26, 0.3);
    background: var(--secondary-earth, #3d2e28);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 8px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand img {
    height: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--warm-cream, #f5ede4);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 10px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-orange, #d4773d);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-earth, #3d2e28);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(43, 31, 26, 0.4);
    border: 2px solid rgba(212, 119, 61, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--warm-cream, #f5ede4);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(212, 119, 61, 0.15);
    color: var(--primary-orange, #d4773d);
    padding-left: 30px;
}

/* CTA Button */
.nav-cta {
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    color: var(--white, #ffffff);
    box-shadow: 0 4px 15px rgba(212, 119, 61, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 119, 61, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--warm-cream, #f5ede4);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--secondary-earth, #3d2e28);
    padding: 80px 30px 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(43, 31, 26, 0.4);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu > ul > li {
    border-bottom: 1px solid rgba(212, 119, 61, 0.15);
}

.mobile-menu a,
.mobile-dropdown-toggle {
    display: block;
    padding: 15px 0;
    color: var(--warm-cream, #f5ede4);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-menu a:hover,
.mobile-dropdown-toggle:hover {
    color: var(--primary-orange, #d4773d);
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    border-bottom: none;
}

.mobile-submenu a {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
}

.mobile-cta {
    display: block;
    margin-top: 30px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    color: var(--white, #ffffff) !important;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 119, 61, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 119, 61, 0.4);
}

body.menu-open {
    overflow: hidden;
}

/* Footer */
.main-footer {
    background: var(--secondary-earth, #3d2e28);
    padding: 80px 0 0;
    color: var(--warm-cream, #f5ede4);
    border-top: 2px solid rgba(212, 119, 61, 0.2);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 119, 61, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    color: var(--stone-gray, #9b8b7e);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--warm-cream, #f5ede4);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--stone-gray, #9b8b7e);
    line-height: 1.6;
}

.footer-list li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: brightness(0) saturate(100%) invert(67%) sepia(12%) saturate(482%) hue-rotate(357deg) brightness(90%) contrast(86%);
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--stone-gray, #9b8b7e);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-orange, #d4773d);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange, #d4773d);
    padding-left: 5px;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-earth, #2b1f1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-cream, #f5ede4);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 119, 61, 0.2);
}

.footer-social a:hover {
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 119, 61, 0.4);
    border-color: transparent;
}

.footer-map {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 119, 61, 0.2);
    box-shadow: 0 4px 15px rgba(43, 31, 26, 0.3);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 200px;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 119, 61, 0.15);
    padding: 30px 0;
    text-align: center;
}

.acknowledgement {
    color: var(--stone-gray, #9b8b7e);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 20px 0;
    padding: 25px 30px;
    background: rgba(212, 119, 61, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-orange, #d4773d);
}

.copyright {
    color: var(--stone-gray, #9b8b7e);
    font-size: 14px;
    margin: 0;
}

.copyright a {
    color: var(--primary-orange, #d4773d);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.copyright a:hover {
    color: var(--secondary-orange, #e89560);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4773d 0%, #e89560 100%);
    color: var(--white, #ffffff);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 119, 61, 0.4);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 119, 61, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .text-1, .text-2 {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .text-1, .text-2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .acknowledgement {
        font-size: 13px;
        padding: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .text-1, .text-2 {
        font-size: 18px;
    }
    
    .logo-with-text img {
        height: 80px;
        width: 80px;
    }
    
    .main-footer {
        padding: 60px 0 0;
    }
    
    .footer-title {
        font-size: 18px;
    }
    
    .acknowledgement {
        font-size: 12px;
        padding: 15px;
    }
    
    .copyright {
        font-size: 12px;
    }
}