/* Educational Header - Frontend Styles with theshowclips.shop Design */

.educational-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

/* Logo Section */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 10px;
}

.header-logo-img {
    max-height: 65px;
    height: auto;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.header-logo-placeholder {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    padding: 10px 15px;
    text-align: center;
}

/* Navigation Section */
.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-nav li {
    margin: 0;
    padding: 0;
}

.header-nav a {
    text-decoration: none;
    color: #222222;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    color: #4CAF50;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    margin-left: auto;
    order: 3;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #222222;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Accent Bar - Gradient from Blue to Purple */
.accent-bar {
    height: 0;
    background: linear-gradient(90deg, #1E73BE, #7B2CBF);
    width: 100%;
}

/* Hero Section with Gradient */
.educational-header-hero {
    background: linear-gradient(135deg, #1E73BE 0%, #7B2CBF 100%);
    padding: 40px 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.educational-header-hero h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-search-container {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    background-color: #ffffff;
    color: #222222;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.hero-search-input::placeholder {
    color: #999999;
}

.hero-search-input:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-search-btn {
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-search-btn:hover {
    background-color: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
        gap: 10px;
        justify-content: center;
    }

    .header-logo {
        height: 70px;
        padding: 0 8px;
        flex: 1;
        justify-content: center;
        order: 2;
    }

    .header-logo-img {
        max-height: 55px;
        max-width: 290px;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #eeeeee;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header-nav li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: none;
    }

    .header-nav a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .educational-header-hero {
        padding: 30px 15px;
        min-height: 150px;
    }

    .educational-header-hero h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
        padding: 0 10px;
    }

    .header-logo {
        height: 60px;
        padding: 0 5px;
    }

    .header-logo-img {
        max-height: 50px;
        max-width: 265px;
    }

    .header-nav ul {
        gap: 15px;
    }

    .header-nav a {
        font-size: 13px;
    }

    .educational-header-hero {
        padding: 25px 10px;
        min-height: 120px;
    }

    .educational-header-hero h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
}
