/* Base Styles */
html {
    background-color: #FFF5F5;
    background-image: url(../img/backround.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body {
    background-color: #FFE6E6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #2A2A2A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(96, 5, 2, 0.1);
    border-radius: 10px;
}
.back-button {
    position: absolute;
    left: 20px;
    background-color: #600502;
    color: #FFF5F5 !important;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(96, 5, 2, 0.2);
}

.back-button:hover {
    background-color: #8A0804;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(96, 5, 2, 0.3);
}

.back-button i {
    font-size: 18px;
}

/* Navigation Styles */
#navBar {
    margin-bottom: 40px;
    background-color: rgba(255, 245, 245, 0.9);
    border-radius: 10px;
    padding: 20px;
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
}

.back-button {
    position: absolute;
    left: 0;
    color: #600502;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #FF9999;
}

.back-button i {
    font-size: 18px;
}

#mainlogo {
    text-align: center;
}

.navLogo2 {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.navLogo2:hover {
    transform: scale(1.1);
}

/* Main Content */
main {
    flex: 1;
}

.content-section {
    background-color: rgba(255, 245, 245, 0.9);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #600502;
    font-size: 2em;
}

/* Video Container */
/* Style for video gallery thumbnails */
.video-gallery-wrapper {
    position: relative;
    max-width: 860px; /* adjust to your layout */
    margin: auto;
}

.video-gallery-clip {
    overflow: hidden;
}

.video-gallery {
    display: flex;
    transition: transform 0.3s ease;
}

.video-thumbnail {
    flex: 0 0 25%; /* 4 thumbnails per view */
    box-sizing: border-box;
    padding: 5px;
}

.video-thumbnail img {
    width: 100%;
    height: 115px; /* tweak this value if needed */
    object-fit: cover;
    display: block;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

.arrow.left {
    left: -30px;
}

.arrow.right {
    right: -30px;
}

.arrow:hover {
    background-color: rgba(138, 8, 4, 0.9);
}


#video-player {
    width: 100%;
    height: 540px;
    border: none;
}

/* Promo Container */
.promo-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.stream-info {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(96, 5, 2, 0.2);
    text-align: center;
}

.promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(96, 5, 2, 0.1);
}

.stream-details {
    padding: 20px;
}

.stream-details h2 {
    color: #600502;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.stream-details p {
    color: #2A2A2A;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.archive-link {
    display: inline-block;
    background-color: #600502;
    color: #FFF5F5;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(96, 5, 2, 0.2);
}

.archive-link:hover {
    background-color: #8A0804;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(96, 5, 2, 0.3);
}

.archive-link-youtube {
    display: none;
}

/* Footer Styles */
footer {
    margin-top: auto;
    padding: 20px;
    background-color: #FFF5F5;
    border-radius: 10px;
    box-shadow: 0 -2px 4px rgba(96, 5, 2, 0.1);
    text-align: center;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer .social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    color: #600502;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: rgba(255, 230, 230, 0.5);
    min-width: 120px;
}

.social-link:hover {
    background-color: #600502;
    color: #FFF5F5;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 24px;
}

.footer p {
    margin: 15px 0 0;
    color: #2A2A2A;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding: 15px;
        width: 90%;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .back-button {
        position: static;
        margin-bottom: 15px;
    }

    .content-section {
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }
    
    .footer a {
        display: block;
        margin: 10px 0;
    }

    .promo-container {
        padding: 10px;
    }

    .stream-info {
        padding: 20px;
    }

    .stream-details h2 {
        font-size: 1.5em;
    }

    .stream-details p {
        font-size: 1.1em;
    }

    #navBar {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 10px;
        width: 95%;
    }
    .back-button {
        padding: 12px 24px;
        font-size: 1em;
    }

    .content-section {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.2rem;
    }

    .nav-container {
        gap: 15px;
    }

    #navBar {
        padding: 10px;
    }
    
    .archive-link {
        display: none;
    }

    .archive-link-youtube {
            display: inline-block;
            background-color: #600502;
            color: #FFF5F5;
            padding: 12px 24px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(96, 5, 2, 0.2);
    }
    
}
