body {
    font-family: Arial, sans-serif;
    margin: 20px;
    color: #fff;
    
    min-height: 100vh;
    background-color: #1a1a1a;

    /* Gradient Overlay and Background Image */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
        url('../assets/images/FCGPortrait.jpg'); 

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.carousel-card
{
    width: 640px;
}

.carousel-card img
{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    border-radius: 8px;

    box-shadow: 0 8px 20px rgba(0,0,0,.35);

    transition: transform .2s ease;
}

.details {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height .3s ease;
}

.details.hidden {
    max-height: 0;
}

.gallery
{
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 1.5rem;

    margin-top: 2rem;
}

.gallery img
{
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 8px;

    cursor: pointer;

    transition: transform .2s;
}

.gallery img:hover
{
    transform: scale(1.02);
}

.featuredGallery
{
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 1.5rem;

    margin-top: 2rem;
}

.featuredGallery img
{
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 8px;

    cursor: pointer;

    transition: transform .2s;
}

.featuredGallery img:hover
{
    transform: scale(1.02);
}

.lightbox
{
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.9);

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 1000;
}

.lightbox.hidden
{
    display: none;
}

.lightbox img
{
    max-width: 95%;
    max-height: 95%;
}

.video-container
{
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;

    aspect-ratio: 16 / 9;
}

.video-container iframe
{
    width: 100%;
    height: 100%;

    border: 0;
    border-radius: 8px;
}

/* ==================== DESKTOP STYLES (Default) ==================== */
.tab-container {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ccc;
    position: relative;
}

.tabs-list {
    display: flex;
}

.tab {
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
}

.tab:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tab.active {
    background-color: #fff;
    color: #333;
    border-color: #ccc;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
    font-weight: bold;
}

/* Hide the hamburger button on wide desktop screens */
.hamburger-menu {
    display: none;
}

.content {
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

/* ==================== MOBILE STYLES (< 768px wide) ==================== */
@media (max-width: 768px) 
{
    .tab-container {
        justify-content: flex-end;
        border-bottom: none; /* Cleans up line breaks on mobile viewports */
        padding: 10px 0;
    }

    /* Make the hamburger button visible and style the 3 stacked lines */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001; /* Keeps the button clickable on top of the menu */
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Animate the 3 lines into an "X" when open */
    .hamburger-menu.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.open span:nth-child(2) { opacity: 0; }
    .hamburger-menu.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Hide the layout list by default and drop it down as a smooth menu panel */
    .tabs-list {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95); /* Dark solid overlay matches background */
        border: 1px solid #444;
        border-radius: 8px;
        padding: 10px 0;
        z-index: 1000;
    }

    /* Reveal the dropdown list when the open class is triggered via JS */
    .tabs-list.open {
        display: flex;
    }

    /* Adjust the links to stack vertically and look like mobile buttons */
    .tab {
        padding: 15px 20px;
        border: none;
        border-radius: 0;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }

    .tab.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: none;
        margin-bottom: 0;
    }

    .content {
        padding: 20px;
        border: 1px solid #ccc;
    }
}

/* ==================== CONTENT STYLES ==================== */
