/* Header Component Styles */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--soft-yellow);
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #5DADE2, #48C9B0);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-fun);
    position: relative;
    transition: all var(--transition-normal);
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.logo-icon .house-elements {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.logo-icon .roof {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 6px solid var(--white);
}

.logo-icon .house-body {
    width: 12px;
    height: 8px;
    background: var(--white);
    position: relative;
}

.logo-icon .door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 5px;
    background: #5DADE2;
}

.logo-icon:hover {
    transform: scale(1.05);
}

/* Brand Text */
.brand-text {
  width: 26%;
}


/* Navigation Links */
.nav-links {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    padding: 8px 16px;
    border-radius: var(--border-radius-large);
    position: relative;
}

.nav-links a:hover {
    background: var(--soft-yellow);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: var(--soft-blue);
    color: var(--primary-navy);
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--primary-navy);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-small);
    transition: all var(--transition-normal);
}

.mobile-menu:hover {
    background: var(--soft-yellow);
}

/* Header scroll effect */
.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    border-bottom-color: rgba(241, 196, 15, 0.3);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-soft);
        border-radius: 0 0 15px 15px;
        border: 2px solid var(--soft-yellow);
        border-top: none;
        gap: 10px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 16px;
        border-radius: var(--border-radius-medium);
        text-align: center;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-container {
        padding: 12px 0;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .brand-text h1 {
        font-size: 1.6rem;
    }
    
    .brand-text p {
        font-size: 0.65rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .logo {
        gap: 8px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .brand-text h1 {
        font-size: 1.4rem;
    }
    
    .nav-container {
        padding: 10px 0;
    }
}