/* Header & Navigation */
header {
    background-color: rgba(242, 251, 242, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 500;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo i {
    font-size: 2rem; /* Increased from default */
    color: var(--dark);
    margin-right: 0.5rem;
}

.logo img {
    width: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 2rem; /* Increased from 1.8rem */
    font-weight: 700; /* Made bolder */
    color: var(--dark);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--darker);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* burger menu */

.burger-nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
}
.burger-nav-links li {
    padding-bottom: 1rem;
}
.burger-nav-links a {
    text-decoration: none;
    color: var(--darker);
    font-weight: 500;
    transition: color 0.3s;
}

/* Overlay (always in DOM) */
#burger-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#burger-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Side menu */
.burger-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 1.5rem 1.5rem; 
}
.burger-menu > div { 
    display: flex; 
    justify-content: end; 
    margin-top: 5px; 
    margin-bottom: 2rem;
}

/* Slide in */
#burger-menu-overlay.active .burger-menu {
    transform: translateX(0);
}

.burger-menu-icon { display: none; }
.burger-menu-icon:hover, .burger-menu svg:hover { transform: scale(1.1); cursor: pointer; }


/* Responsive Design */
@media (max-width: 950px) {
    .nav-links .cta-button { display: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger-menu-icon { display: block; }
}