/**
 * HeaderBanner Component CSS
 * Reusable header styles with theme support
 */

/* Base Header Styles */
.page-header {
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Bubble Animation */
.bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 50px;
    height: 50px;
    top: 20%;
    left: 25%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 70px;
    height: 70px;
    top: 30%;
    right: 25%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    right: 15%;
    animation-delay: 3s;
}

.bubble-5 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Header Content Styles */
.header-badge {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.header-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    color: white;
}

.header-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.header-description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.header-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--accent-light);
}

.header-btn:hover {
    background: linear-gradient(135deg, #ff6b35 0%, var(--accent) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(249, 111, 37, 0.4);
}

/* Additional content area */
.header-additional-content {
    position: relative;
    z-index: 2;
}

/* Theme Variations */

/* Primary Theme (Default) */
.header-theme-primary {
    background: var(--gradient-primary);
}

.header-theme-primary .header-title::after {
    background: var(--accent);
}

.header-theme-primary .header-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
    box-shadow: 0 10px 25px var(--accent-light);
}

.header-theme-primary .header-btn:hover {
    background: linear-gradient(135deg, #ff6b35 0%, var(--accent) 100%);
    box-shadow: 0 15px 35px rgba(249, 111, 37, 0.4);
}

/* Secondary Theme */
.header-theme-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.header-theme-secondary .header-title::after {
    background: var(--secondary);
}

.header-theme-secondary .header-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    box-shadow: 0 10px 25px var(--secondary-light);
}

.header-theme-secondary .header-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 15px 35px rgba(8, 148, 197, 0.4);
}

/* Accent Theme */
.header-theme-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
}

.header-theme-accent .header-title::after {
    background: white;
}

.header-theme-accent .header-btn {
    background: white;
    color: var(--accent);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.header-theme-accent .header-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

/* Success Theme */
.header-theme-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.header-theme-success .header-title::after {
    background: #10b981;
}

.header-theme-success .header-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.header-theme-success .header-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

/* Dark Theme */
.header-theme-dark {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.header-theme-dark .header-title::after {
    background: var(--accent);
}

.header-theme-dark .header-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
    box-shadow: 0 10px 25px var(--accent-light);
}

.header-theme-dark .header-btn:hover {
    background: linear-gradient(135deg, #ff6b35 0%, var(--accent) 100%);
    box-shadow: 0 15px 35px rgba(249, 111, 37, 0.4);
}

/* Gradient Theme */
.header-theme-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.header-theme-gradient .header-title::after {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.header-theme-gradient .header-btn {
    background: linear-gradient(135deg, #f5576c 0%, #4facfe 100%);
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.3);
}

.header-theme-gradient .header-btn:hover {
    background: linear-gradient(135deg, #4facfe 0%, #f5576c 100%);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.4);
}

/* Button Variations */
.header-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

.header-btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.header-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: none;
}

.header-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Size Variations */
.page-header.header-compact {
    padding: 2.5rem 0;
}

.page-header.header-large {
    padding: 6rem 0;
}

.page-header.header-minimal {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.header-compact .header-title {
    font-size: 2.25rem;
}

.header-large .header-title {
    font-size: 3.5rem;
}

.header-minimal .header-title {
    font-size: 2rem;
}

.header-minimal .header-description {
    font-size: 1rem;
}

/* Mobile Responsive Design */
@media (max-width: 992px) {
    .page-header {
        padding: 3rem 0;
    }

    .header-title {
        font-size: 2.25rem;
    }

    .header-large .header-title {
        font-size: 2.75rem;
    }

    .header-compact .header-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }

    .header-title {
        font-size: 2rem;
    }

    .header-description {
        font-size: 1rem;
    }

    .header-large .header-title {
        font-size: 2.5rem;
    }

    .header-compact .header-title {
        font-size: 1.75rem;
    }

    .header-minimal .header-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 2.5rem 0;
    }

    .header-title {
        font-size: 1.75rem;
    }

    .header-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .header-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .header-large .header-title {
        font-size: 2.25rem;
    }

    .header-compact .header-title {
        font-size: 1.5rem;
    }

    .header-minimal .header-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2.5rem 0;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-large .header-title {
        font-size: 2rem;
    }

    .header-compact .header-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .header-title {
        font-size: 1.4rem;
    }

    .header-large .header-title {
        font-size: 1.75rem;
    }
}

/* Landscape phones */
@media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
    .page-header {
        padding: 2.5rem 0;
    }

    .header-title {
        font-size: 1.75rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none;
    }

    .header-btn {
        transition: none;
    }

    .header-btn:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .page-header {
        border-bottom: 2px solid;
    }

    .header-badge {
        border: 2px solid white;
    }

    .header-btn {
        border: 2px solid;
    }
}
