/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Header Flexbox */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    width: 170px;
    /* Larger logo */
}

/* Title */
h1 {
    color: #024d63;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
}

#search {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    width: 200px;
}

.search-container button {
    background: none;
    border: none;
    cursor: pointer;
}

.search-container button img {
    width: 24px;
    height: 24px;
}

/* Text paragraph under the header */
.intro-text {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    color: #024d63;
    font-size: 19px;
    line-height: 1.6;
    text-align: center;
}

/* Gallery Layout */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.logo-item {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.carousel img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* Smooth fade transition */
}

.carousel img.active {
    opacity: 1;
    position: relative;
}


/* Style for carousel dots */
.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.carousel-dots span {
    height: 10px;
    width: 10px;
    background-color: #024d63;
    /* Default color */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.carousel-dots .active {
    background-color: #18c4c6;
    /* Highlighted active dot */
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #024d63;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #18c4c6;
}

/* Footer */
footer {
    background-color: #024d63;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-logo {
    width: 100px;
    display: block;
    margin: 0 auto;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* 🔹 FIXED Responsive Design for Mobile */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        width: 150px;
        /* Adjusted logo size */
        margin-bottom: 10px;
    }

    h1 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .search-container {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    #search {
        width: 80%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .search-container button {
        width: 40px;
        height: 40px;
    }
}

/* Pagination Styling */
.pagination {
    text-align: center;
    /* Center align */
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    font-weight: bold;
    /* Make text bold */
    color: #024d63;
    /* Apply theme color */
    text-decoration: none;
    border: 2px solid #024d63;
    /* Add border */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background-color: #024d63;
    color: #fff;
    /* White text on hover */
}

/* Labels container - positions both labels in the top-left corner */
.labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    /* Stack labels vertically */
    gap: 5px;
    /* Space between labels */
    z-index: 2;
    /* Ensure it's always above images */
}

/* Styling for the labels */
.label {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    opacity: 0.9;
    width: max-content;
}

/* Exclusive Rights label - Primary Brand Color */
.exclusive {
    background-color: rgba(2, 77, 99, 0.9);
    /* #024d63 */
}

/* Non-Exclusive Rights label - Secondary Brand Color */
.non-exclusive {
    background-color: rgba(24, 196, 198, 0.9);
    /* #18c4c6 */
}

/* Ensure the carousel container is positioned relative so labels stay on top */
.carousel {
    position: relative;
}

.hashtags {
    font-size: 0.8rem;
    /* or use px, like 12px */
    color: #555;
    /* optional: make it a bit lighter */
    line-height: 1.4;
}

.social-icons {
    margin: 15px 0;
    text-align: center;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #18c4c6;
}