.sophisticated-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    perspective: 1000px;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255,255,255,0.1), 
        rgba(0,0,0,0.1) 70%);
    transform: skewX(-15deg);
    z-index: 1;
    opacity: 0.3;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateZ(50px);
}

.logo-container {
    perspective: 1000px;
    margin-right: 30px;
    position: relative;
}

.header-content .main-logo {
    max-width: 250px;
    border-radius: 8px;  
    box-shadow: 
        0 20px 40px rgba(26, 95, 122, 0.3),
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.2);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    background: linear-gradient(
        145deg, 
        rgba(255,255,255,0.1), 
        rgba(0,0,0,0.1)
    );
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.main-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right, 
        rgba(255,255,255,0.1), 
        rgba(0,0,0,0.1)
    );
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.main-logo:hover::after {
    opacity: 0.5;
}

.main-logo:hover {
    transform: 
        rotateY(15deg) 
        rotateX(-10deg) 
        scale(1.05) 
        translateZ(80px);
    box-shadow: 
        0 30px 60px rgba(26, 95, 122, 0.4),
        0 0 40px rgba(212, 175, 55, 0.6),
        inset 0 0 30px rgba(212, 175, 55, 0.3);
}

.header-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-subtitle {
    color: white;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.2rem;
    max-width: 600px;
    text-align: center;
    position: relative;
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        1px 1px 2px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .logo-container {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .main-logo {
        max-width: 200px;
    }

    .header-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}