/* Media Hub Page Styling */

/* Hero Section */
.media-hero {
    height: 35vh;
    background: url("../../site-photos/media-banner.png"), linear-gradient(#0a0a0acc, #0a0a0acc);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-hero-overlay {
    text-align: center;
    color: #fff;
}

.media-hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.media-hero-overlay p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Media Grid Container */
.media-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.media-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0C1A14;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #d4efe3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.media-card h3 {
    margin: 12px;
    font-size: 1rem;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

/* Media Labels */
.media-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.media-label.youtube {
    background-color: #FF0000;
}

.media-label.tiktok {
    background-color: #69C9D0;
}

.media-label.instagram {
    background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #8134af);
}

/* Fade Animations */
.fade-in {
    animation: fadeIn 1.2s ease forwards;
}

.fade-section {
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: translateY(0);} }

/* Mobile Responsiveness */
@media (max-width: 700px) {
    .media-hero-overlay h1 {
        font-size: 2.2rem;
    }

    .media-hero-overlay p {
        font-size: 1rem;
    }

    .media-card img {
        height: 120px;
    }
}
