
/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-transparent {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-transparent.scrolled,
.navbar-transparent.mobile-menu-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 80px;
    gap: 20px;
    flex-wrap: nowrap;
}

/* Logo Styling */
.logo-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Logo Text Styling */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #000000;
    letter-spacing: 1px;
    text-align: left;
    transition: all 0.3s ease;
}

/* Smaller logo when navbar is scrolled - desktop only */
@media (min-width: 769px) {
    .navbar-transparent.scrolled .logo-text {
        font-size: 1.8rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
}

/* Removed unused .logo-text */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    min-width: fit-content; /* Ensure enough space for content */
    align-items: center; /* Ensure vertical centering */
    flex-wrap: nowrap; /* Prevent wrapping */
}

.nav-menu-left {
    justify-content: center;
    flex: 1;
    order: 2;
    display: flex;
    align-items: center;
    min-width: fit-content;
}

.nav-menu-right {
    justify-content: flex-end;
    flex: 0 0 auto;
    order: 3;
    display: flex;
    align-items: center;
    min-width: fit-content;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 2px solid #333333;
    border-radius: 50%;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background: #333333;
    color: #ffffff;
    transform: translateY(-2px);
}



.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: calc(var(--font-size-base) * 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-transparent .nav-link,
.navbar-transparent.scrolled .nav-link {
    color: #000000;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    right: 15px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover{
    scale:1.08;
}


/* Removed unused dropdown styles */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333333;
    transition: 0.3s;
    border-radius: 2px;
}

.navbar-transparent .hamburger span,
.navbar-transparent.scrolled .hamburger span {
    background: #333333;
}

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

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

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

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
    left: 0;
}

/* Mobile Sidebar Header */
.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    max-width: 95%;
    margin: 0 auto;
    min-height: 60px;
}

.mobile-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-logo .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    color: #000;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 25px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 20.8px; /* 30% bigger from 16px */
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}


/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Medium screen adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-container {
        gap: 10px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: calc(var(--font-size-base) * 0.72);
    }
    
    .nav-menu-left,
    .nav-menu-right {
        justify-content: center;
    }
}

/* Large screen adjustments */
@media (min-width: 1200px) {
    .nav-menu {
        gap: 30px;
    }
    
    .nav-container {
        gap: 30px;
    }
    
    .nav-menu-left,
    .nav-menu-right {
        justify-content: center;
    }
}

/* Ensure text doesn't wrap on any screen size */
@media (min-width: 769px) {
    .nav-link {
        min-width: max-content;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        justify-content: space-between;
        position: relative;
        max-width: 95%;
        margin: 0 auto;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: white;
        min-height: 60px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu-right {
        display: none;
    }
    
    .nav-logo {
        order: 1;
        flex: 1;
        justify-content: flex-start;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        order: 3;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        max-width: 95%;
        margin: 0 auto;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: white;
        min-height: 60px;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .mobile-sidebar {
        width: 100%;
    }
    
    .mobile-sidebar-logo .logo-text {
        font-size: 1.6rem;
    }
    
    .nav-menu-left {
        margin-left: 15px;
    }
}