/* Header background styles */
.header-background {
    background: url('../Images/fancommunity/topimage.png');
    padding: 50px 20px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(209, 45, 45, 0.1);
}

/* Header styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
}

.nav-icons ul {
    display: flex;
    list-style: none;
}

.nav-icons li {
    margin-right: 15px;
}

.nav-icons img {
    width: 30px;
    height: auto;
}

/* Background for the entire page */
body {
    background: url('../Images/fancommunity/trendingbackground.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
}

/* Combined background for discussions to fan gallery */
.combined-background {
    background: url('..') no-repeat center center;
    background-size: cover;
    padding: 20px;
    border-radius: 5px;
}

/* Trending discussions styles */
.trending-discussions {
    margin: 20px 0;
}

/* Trending discussions container */
.discussion-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.discussion-item {
    width: 45%;
    background-color: rgba(245, 245, 245, 0.8);
    padding: 10px;
    border-radius: 5px;
    box-sizing: border-box;
}

.arrow-navigation img {
    width: 50px !important;
    height: auto !important;
}

/* Community Clubs styles */
.community-clubs {
    margin: 20px 0;
}

.clubs-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.club-item {
    width: 10%;
    margin: 22px;
}

.club-item img {
    width: 99%;
    border-radius: 50%;
}

.club-summary {
    display: flex;
    align-items: center;
}

.summary-box {
    background-color: rgba(245, 245, 245, 0.8);
    text-align: center;
    padding: 20px;
    border-radius: 50%;
    margin-left: 10px;
}

.summary-box span {
    font-size: 24px;
    font-weight: bold;
}

.summary-box p {
    font-size: 14px;
    color: #888;
}

/* Fan Gallery styles */
.fan-gallery {
    margin: 40px 0;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.gallery-item {
    width: 15%;
    margin: 17px;
    position: relative;
}

.gallery-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.gallery-collage img {
    width: 100%;
    border-radius: 5px;
}

.image-overlay {
    position: absolute;
    bottom: 125px;
    right: 21px;
    background-color: rgba(229, 229, 229, 0.55);
    color: #fff;
    padding: 20px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Footer styles */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Larger icon and logo styles */
.nav-icons img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
}

.profileFanCommunity
{
    border-radius: 9999px;
    border: 3px solid black;
}

.logo img {
    width: 150px;
    height: auto;
}

/* Left aligned images for headings */
.clubs-heading img,
.gallery-heading img,
.trending-heading img {
    display: block;
    margin: 0;
    max-width: 25%;
    height: auto;
    padding-bottom: 20px;
}

/* Trending Discussions Image styles */
.trending-discussions .discussion-item img {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
}

.trending-discussions .discussion-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.trending-discussions .arrow-navigation {
    text-align: center;
    margin-top: 10px;
}

.trending-discussions .arrow-navigation img {
    width: 85px !important;
    height: auto !important;
}

/* Responsive adjustments for mobile screens */
@media only screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    .logo img {
        width: 100px;
    }

    .nav-icons ul {
        flex-direction: row;
        justify-content: center;
    }

    .discussion-container {
        flex-direction: column;
        align-items: center;
    }

    .discussion-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .clubs-container,
    .gallery-container {
        justify-content: center;
    }

    .club-item,
    .gallery-item {
        width: 30%;
        margin: 10px;
    }

    .summary-box span {
        font-size: 18px;
    }

    .summary-box p {
        font-size: 12px;
    }

    .gallery-collage {
        gap: 3px;
    }

    footer {
        padding: 20px 10px;
    }
}

@media only screen and (max-width: 480px) {
    .logo img {
        width: 80px;
    }

    .nav-icons img {
        width: 40px !important;
    }

    .club-item,
    .gallery-item {
        width: 45%;
    }

    .gallery-collage img {
        border-radius: 3px;
    }

    .image-overlay {
        font-size: 12px;
    }

    .summary-box span {
        font-size: 16px;
    }
}

/* Full Gallery Page Styles */
.full-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    justify-content: center; /* Center images in the container */
}

.full-gallery-container img {
    width: 150px; /* Adjust to desired size */
    height: 150px; /* Adjust to desired size */
    object-fit: cover; /* Ensures images fit within the set dimensions */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds a subtle shadow */
}

.uploaded-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uploaded-photos img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    border-radius: 5px;
}

/* Footer Styling */
footer {
    background-color: #1e1e1e;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Container for the footer content */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Styling for footer links */
.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12; /* Hover effect on links */
}

/* Social media icons styling */
.social-media {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
}

.social-media a img {
    width: 30px; /* Set a fixed size for the icons */
    height: 30px;
    transition: transform 0.3s ease;
}

.social-media a img:hover {
    transform: scale(1.1); /* Hover effect for social media icons */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 15px;
    }

    .social-media {
        margin-bottom: 15px;
    }
}
