/* ==========================================
   CUSTOM HEADER STYLES
   Light gray background and polygon header BELOW NAVIGATION
========================================== */

/* Light gray background for entire website */
body {
    background-color: #f0f0f0 !important;
    margin: 0;
    padding: 0;
}

/* Main content area background */
.site,
.wp-site-blocks {
    background-color: #f0f0f0;
}

/* Remove colors from navigation elements only */
.main-navigation,
.primary-navigation,
.wp-block-navigation,
nav {
    background: transparent !important;
}

.wp-block-navigation-item,
.menu-item,
.nav-menu li {
    background: transparent !important;
}

.wp-block-navigation-item a,
.menu-item a,
.nav-menu li a {
    background: transparent !important;
    color: #333 !important;
}

.wp-block-navigation-item a:hover,
.menu-item a:hover,
.nav-menu li a:hover {
    background: transparent !important;
    color: #4FACFE !important;
}

/* Polygon Header Container - POSITIONED BELOW NAV */
.polygon-header {
    position: relative;
    width: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 0 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

/* Main Heading */
.main-heading {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
}

/* Subheading */
.subheading {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1px;
}

/* Decorative elements */
.polygon-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,0 100,100 0,100" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    z-index: 1;
}

/* Ensure proper spacing between nav and header */
.site-header {
    margin-bottom: 0;
}

/* Ensure content below header has proper spacing */
.site-content {
    padding-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .polygon-header {
        min-height: 220px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    }
    
    .main-heading {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .subheading {
        font-size: 1.2rem;
    }
    
    .header-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .polygon-header {
        min-height: 180px;
    }
    
    .main-heading {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .subheading {
        font-size: 1rem;
    }
}