/* css/style.css */
:root {
    --primary-color: #104625ed;
    /* A vibrant accent color */
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-light: #f1f2f6;
    --text-muted: #a4b0be;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    /* Added Flexbox to push the footer down */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
header {
    background-color: rgba(10, 10, 10, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
    display: none;
}

/* Page Containers */
main {
    padding: 8rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    /* Allows main to take up all available empty space */
    flex-grow: 1;
}

h1.page-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 1rem;
}

/* Hero Section (Specific to index.html) */
.hero {
    height: calc(100vh - 90px);
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('../background.webp') center/cover;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
}

.cta-button:hover {
    background-color: #632c34;
    transform: translateY(-2px);
}


/* Video Showcase */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.video-card {
    background-color: var(--bg-darker);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover,
.about-image:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(16, 70, 37, 0.2);
}

.video-card[data-href] {
    cursor: pointer;
}

.about-image {
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.video-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.4;
}

.video-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.video-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-light);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    /* Animate to X when open */
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.97);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        border-top: 1px solid #333;
    }

    .nav-links.nav-open {
        max-height: 300px;
        padding: 1rem 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 1rem;
        font-size: 1.1rem;
    }

    nav {
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 5%;
        position: relative;
    }

    .logo {
        font-size: 1rem;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    h1.page-title {
        font-size: 2rem;
    }

    main {
        padding: 7rem 5% 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-darker);
    color: var(--text-muted);
    border-top: 1px solid #333;
}