/* === Videos Page specific styles === */

/* Hero Section (Reused styles from contact-hero) */
.videos-hero {
    background-color: var(--deep-navy);
    color: var(--ivory);
    margin-top: 65px;
    /* Start below navbar */
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    /* A bit smaller than contact to keep it focused */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.videos-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, rgba(13, 27, 62, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.videos-hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    color: var(--sovereign-gold);
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.videos-hero h1 {
    color: var(--ivory);
    font-size: 3.2rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.videos-hero p {
    font-size: 1rem;
    color: var(--soft-slate);
    line-height: 1.6;
    margin: 0;
}

/* Category Selectors */
.videos-category-section {
    background-color: var(--ivory);
    padding: 4rem 4rem 2rem 4rem;
    text-align: center;
}

.category-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-selectors {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
}

.orientation-toggles {
    display: flex;
    gap: 0.5rem;
    background-color: rgba(13, 27, 62, 0.05);
    padding: 0.3rem;
    border-radius: 50px;
}

.orientation-btn {
    background: transparent;
    border: none;
    color: var(--midnight-navy);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.orientation-btn:hover {
    color: var(--sovereign-gold);
}

.orientation-btn.active {
    background-color: #fff;
    color: var(--sovereign-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-btn {
    background-color: #fff;
    border: 1px solid rgba(13, 27, 62, 0.1);
    color: var(--midnight-navy);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.category-btn:hover {
    border-color: var(--sovereign-gold);
    color: var(--sovereign-gold);
}

.category-btn.active {
    background-color: var(--midnight-navy);
    color: var(--ivory);
    border-color: var(--midnight-navy);
    box-shadow: 0 4px 15px rgba(13, 27, 62, 0.15);
}

/* Videos Grid Section */
.videos-grid-section {
    background-color: var(--ivory);
    padding: 2rem 4rem 6rem 4rem;
}

.videos-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Tab content logic */
.video-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.video-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}

.video-card {
    position: relative;
    max-width: 100%;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-card.aspect-vertical {
    width: 260px;
    aspect-ratio: 9/16;
}

.video-card.aspect-horizontal {
    width: 340px;
    aspect-ratio: 16/9;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .video-card.aspect-vertical,
    .video-card.aspect-horizontal {
        width: 100%;
    }

    .videos-hero {
        padding: 4rem 1rem;
    }

    .videos-hero h1 {
        font-size: 2.2rem;
    }

    .videos-category-section,
    .videos-grid-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}