/* Add this new file for header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 4rem); /* Add side spacing */
    margin: 0 2rem; /* Modern side margins */
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0); /* Fully transparent */
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    border-radius: var(--header-radius);
}

header.scrolled {
    width: calc(100% - 4rem); /* Consistent width when scrolled */
    margin: 0 2rem;
    padding: 2rem 2rem;
    background: var(--header-scrolled-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark-color);
    font-weight: 500; 
    font-size: 1.2rem;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.7;
}

.logo img{
    width: 240px;
    height: 60px;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark-color);
    transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 620px) {
    header {
        width: calc(100% - 2rem);
        margin: 0 1rem;
        padding: 0.8rem 1rem;
    }
    
    header.scrolled {
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: absolute;
        top: 120%;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--bg-light);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: height 0.3s ease;
        border-radius: 20px;
    }

    .nav-menu.active {
        height: auto;
        padding: 1rem 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        justify-content: center;
        margin-left: 0;
        opacity: 0;
        transition: opacity 0.2s ease;
        width: 100%;
    }

    .nav-menu li {
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu.active ul {
        opacity: 1;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .whatsapp-btn{
        display: none !important;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Nav menu styling */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    padding: 0 15px;
}

