/* videos.css - For Video Categories/Albums Overview Page */
@import url("shared.css");

/* Page Spacing for Sticky Header */
.page-top-padding {
    height: 80px;
    width: 100%;
}
@media (max-width: 768px) {
    .page-top-padding {
        height: 60px;
    }
}

/* Video Categories Hero Section */
.video-categories-hero-section {
    background-image: linear-gradient(rgba(43, 29, 20, 0.7), rgba(43, 29, 20, 0.7)); /* Background for this page's hero */
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    text-align: center;
    padding: var(--spacing-xl) 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
    margin-bottom: var(--spacing-xl);
}

.video-categories-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.video-categories-hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--color-accent-gold);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.video-categories-hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Categories Content Grid */
.video-categories-content {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
}
.video-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for category items */
    gap: var(--spacing-lg);
    justify-content: center;
    padding: var(--spacing-sm);
}

/* Individual Video Category Item (Album Cover) */
.video-category-item {
    position: relative;
    background-color: white;
    border-radius: var(--border-radius-md); /* Slightly less round for videos */
    box-shadow: var(--shadow-light);
    overflow: hidden;
    height: 250px; /* Fixed height for video covers (often 16:9 aspect) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-category-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.video-category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fit */
    display: block;
    transition: transform 0.4s ease;
}

.video-category-item:hover img {
    transform: scale(1.1);
}

/* Video Category Item Overlay */
.video-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay for video feel */
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-category-item:hover .video-category-overlay {
    opacity: 1;
}

.video-category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.play-icon {
    font-size: 3.5rem; /* Larger play icon */
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}
.video-category-item:hover .play-icon {
    color: var(--color-accent-gold); /* Change color on hover */
}

/* No Video Categories Found Message */
.no-video-categories-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    font-size: 1.2rem;
    color: var(--color-text-dark);
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    margin-top: var(--spacing-lg);
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .video-categories-hero-title { font-size: 3rem; }
    .video-categories-hero-text { font-size: 1.15rem; }
    .video-categories-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .video-category-item { height: 220px; }
    .video-category-title { font-size: 1.6rem; }
    .play-icon { font-size: 3rem; }
}

@media (max-width: 768px) {
    .video-categories-hero-section { padding: var(--spacing-lg) 0; }
    .video-categories-hero-title { font-size: 2.5rem; }
    .video-categories-hero-text { font-size: 1rem; }
    .video-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
        padding: var(--spacing-xs);
    }
    .video-category-item { height: 180px; }
    .video-category-title { font-size: 1.4rem; }
    .play-icon { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .video-categories-hero-section { padding: var(--spacing-md) 0; }
    .video-categories-hero-title { font-size: 2rem; }
    .video-categories-hero-text { font-size: 0.9rem; }
    .video-categories-grid {
        grid-template-columns: 1fr; /* Single column on smallest screens */
        padding: 0;
    }
    .video-category-item {
        height: 150px;
        border-radius: var(--border-radius-md);
        margin: 0 var(--spacing-sm) var(--spacing-lg);
    }
    .video-category-title { font-size: 1.2rem; }
    .play-icon { font-size: 2rem; }
}
