/* Legacy Header Styles */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: #0a193c !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

/* Solid Header for Subpages */
.header.solid-bg {
    background-color: #0a193c !important;
    position: relative;
    position: fixed;
    padding: 15px 0;
}

.header.solid-bg .logo-rot,
.header.solid-bg .logo-sub,
.header.solid-bg .nav-link-custom,
.header.solid-bg .contact-phone i,
.header.solid-bg .phone-number {
    color: #ffffff !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-rot {
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    transition: color 0.3s;
}

.header.scrolled .logo-rot {
    color: #ffffff;
    text-shadow: none;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.header.scrolled .logo-sub {
    color: #DC2626;
    text-shadow: none;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link-custom {
    font-weight: 500;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.header.scrolled .nav-link-custom {
    color: #ffffff;
    text-shadow: none;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #2563EB;
}

.header.scrolled .nav-link-custom:hover,
.header.scrolled .nav-link-custom.active {
    color: #2563EB;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    position: relative;
    z-index: 102;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.contact-phone i {
    font-size: 1.5rem;
    color: #ffffff;
    transition: color 0.3s;
}

.header.scrolled .contact-phone i {
    color: #ffffff;
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.header.scrolled .phone-label {
    color: rgba(255, 255, 255, 0.8);
}

.phone-number {
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s;
}

.header.scrolled .phone-number {
    color: #2563EB;
}

@media (max-width: 991px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .header-actions {
        display: none;
    }
}