/* Top Info Bar (outside header box) */
.top-info-bar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 999;
    padding: 0 0 0.8rem 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.top-info-bar.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.info-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-left,
.info-right {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.info-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.info-text i {
    font-size: 0.9rem;
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-text span {
    white-space: nowrap;
}

.info-text:hover {
    color: #cd7f32;
}

.info-text:hover i {
    color: #cd7f32;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(205, 127, 50, 0.1);
    border: 1px solid rgba(205, 127, 50, 0.3);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #cd7f32;
    border-color: #cd7f32;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.4);
}

.social-icon:hover i {
    color: #ffffff;
}

.header-module {
    background-color: transparent;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 60px;
    left: 20px;
    right: 20px;
    width: auto;
    z-index: 1000;
    border: 1px solid rgba(205, 127, 50, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Main Navigation */
.navbar {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 12px rgba(205, 127, 50, 0.4));
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 4px 16px rgba(205, 127, 50, 0.6));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-left {
    flex: 1;
    justify-content: flex-end;
}

.nav-right {
    flex: 1;
    justify-content: flex-start;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.8rem 0;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

/* Elegant underline effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cd7f32, transparent);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #cd7f32;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 2rem;
}

.burger-menu span {
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s;
    border-radius: 2px;
}

.burger-menu:hover span {
    background-color: #cd7f32;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.98);
    border-top: 1px solid rgba(205, 127, 50, 0.3);
    padding: 2rem;
    animation: slideDown 0.3s ease;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(205, 127, 50, 0.2);
}

.mobile-menu a:hover {
    background-color: rgba(205, 127, 50, 0.1);
    color: #cd7f32;
    border-bottom-color: #cd7f32;
}

.mobile-menu.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky header effect */
.header-module.scrolled {
    top: 10px;
    padding: 0;
}

.header-module.scrolled .navbar {
    padding: 1rem 4rem;
}

.header-module.scrolled .logo img {
    height: 60px;
}

@media (max-width: 1200px) {
    .info-left,
    .info-right {
        gap: 2rem;
    }
    
    .info-text {
        font-size: 0.8rem;
    }
    
    .navbar {
        padding: 1.5rem 3rem;
        gap: 3rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .top-info-bar {
        top: 15px;
        left: 15px;
        right: 15px;
        padding: 0 0 0.6rem 0;
    }
    
    .info-left,
    .info-right {
        gap: 1.5rem;
    }
    
    .info-text {
        font-size: 0.75rem;
    }
    
    .header-module {
        top: 50px;
        left: 15px;
        right: 15px;
    }
    
    .navbar {
        padding: 1.2rem 2rem;
        gap: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo img {
        height: 70px;
    }
}

@media (max-width: 900px) {
    .top-info-bar {
        display: none;
    }
    
    .header-module {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo {
        padding: 0;
        margin: 0 auto;
    }
    
    .logo img {
        height: 60px;
    }
    
    .burger-menu {
        display: flex;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .mobile-menu {
        padding: 1.5rem 1rem;
    }
}

/* Dark text theme for light sections */
.header-module.dark-text .nav-links a {
    color: #000000 !important;
}

.header-module.dark-text .nav-links a:hover {
    color: #cd7f32 !important;
}

.header-module.dark-text .logo img {
    filter: brightness(0) invert(0);
}

.header-module.dark-text .burger-menu span {
    background-color: #000000 !important;
}

.header-module.dark-text {
    border-color: rgba(0, 0, 0, 0.2);
}

.top-info-bar.dark-text .info-text,
.top-info-bar.dark-text .info-text i {
    color: #000000 !important;
}

.top-info-bar.dark-text .info-text:hover,
.top-info-bar.dark-text .info-text:hover i {
    color: #cd7f32 !important;
}
