body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fcfcfc;
}

.logo {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 50px;
}

/* Removed container-centered since we want full width navbar line */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10%;
    border-bottom: 3px solid rgb(0, 0, 0);
    background: white;
    position: relative;
    z-index: 1000;
}

.navbar a {
    color: black !important;
    text-decoration: none !important;
    font-size: 18px;
    transition: color 0.2s;
}

.navbar a:hover {
    color: #666 !important;
}

.navlinks {
    display: flex;
    gap: 25px;
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show hamburger on mobile */
    }

    .navlinks {
        display: none; /* Hide by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 3px solid black;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin-right: 0; /* Reset margin on mobile */
    }

    .navlinks.active {
        display: flex; /* Show when active */
    }

    .navbar a {
        margin: 10px 0;
        font-size: 18px;
        display: block; /* Full width links on mobile */
    }
}

.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.gallery img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 10px;
}

.gallery img.active {
    opacity: 1;
}

.controls {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    width: 80%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
}

.controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s;
}

.controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.posts-slider-container {
    max-width: 80%; /* Match gallery image width */
    margin: 60px auto;
    position: relative;
    padding: 0; /* Buttons are now inside, no container padding needed */
}

.posts-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.posts-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-post {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: center;
    height: auto;
}

/* Slider Navigation Buttons for Posts */
.posts-slider-container .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.posts-slider-container .slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.posts-slider-container .slider-nav.prev {
    left: 20px; /* Inside the post area */
}

.posts-slider-container .slider-nav.next {
    right: 20px; /* Inside the post area */
}

.posts-slider-container .post-image {
    height: 250px; /* Specific height for slider */
}

/* Re-added Grid for Category Pages / Artists */
.posts {
    max-width: 85%;
    margin: 40px auto;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.posts .post-image {
    height: 220px; /* Smaller height for compact view */
}

/* Instagram Style Posts */
.insta-posts {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.insta-post-card {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: black;
    transition: transform 0.2s ease;
}

.insta-post-card:hover {
    transform: none; /* No lifting like the grid cards */
}

.insta-post-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.insta-post-image {
    width: 100%;
    position: relative;
    background: #fafafa;
}

.insta-post-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.insta-post-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insta-post-info h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.insta-description {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #262626;
}

.insta-content-snippet {
    font-size: 1rem;
    line-height: 1.5;
    color: #4a4a4a;
}

.insta-post-meta {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #efefef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insta-post-meta .author {
    font-weight: 600;
    color: #262626;
}

/* Reusing slider styles for insta-post gallery if needed */
.insta-post-image .slider-wrapper {
    padding-bottom: 0;
}

.insta-post-image .slider-item img {
    border-radius: 0;
    height: auto;
    max-height: 700px;
}

@media (max-width: 768px) {
    .insta-posts {
        max-width: 100%;
        margin: 20px 0;
        gap: 30px;
    }
    
    .insta-post-card {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
}


.post-card {
    text-decoration: none;
    color: black;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: #ccc;
}

.post-image {
    width: 100%;
    background: #eee;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info {
    padding: 20px;
    text-align: left;
}

.post-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.post-description {
    font-size: 1rem;
    color: #555;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.post-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
}

.post-content {
    line-height: 1.6;
    font-size: 18px;
}

.post-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.post-page h1 {
    margin-top: 0;
    font-size: 2.5rem;
    text-align: center;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 20px 20px;
    border-top: none;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-section.about p {
    color: #aaa;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section.links li {
    margin-bottom: 12px;
}

.footer-section.links a {
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section.links a:hover {
    color: #fff !important;
}

.footer-section.contact p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-section.contact a {
    color: #fff !important;
    text-decoration: none;
}

.socials {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    color: #aaa;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .socials {
        justify-content: center;
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .slider-post {
        flex: 0 0 calc((100% - 30px) / 2); /* 2 posts on tablets */
    }
}

@media (max-width: 768px) {
    .posts-slider-container {
        padding: 0 10px; /* Reduced side padding */
    }
    .slider-post {
        flex: 0 0 100%; /* 1 post on mobile */
    }
    .post-image {
        height: 250px;
    }
    
    /* Better Slider Buttons for Mobile */
    .posts-slider-container .slider-nav, 
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px); /* Modern frosted glass effect */
    }
    
    .posts-slider-container .slider-nav.prev { left: 5px; }
    .posts-slider-container .slider-nav.next { right: 5px; }

    /* Main Gallery Controls for Mobile */
    .controls {
        left: 5%;
        right: 5%;
        width: 90%;
    }
    .controls button {
        padding: 10px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 900px) {
    .posts {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .post-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row; /* Keep logo and hamburger on same line */
        padding: 15px 2.5%;
    }
    .navlinks {
        margin: 0;
        width: 100%;
    }
    .gallery {
        height: 50vh;
    }
    .gallery img {
        width: 95%;
        height: 90%;
    }
    .controls {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .post-info h3 {
        font-size: 1.2rem;
    }
    .post-image {
        height: 200px;
    }
}

/* Gallery Slider Styles */
.post-gallery-container {
    margin: 30px 0;
    position: relative;
    max-width: 1000px;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0; /* Removed gap to fix scroll math */
    padding-bottom: 10px;
    scrollbar-width: none;
}

.slider-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    cursor: pointer;
    box-sizing: border-box;
}

.slider-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-btn {
    display: inline-block;
    margin-top: 15px;
    background: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

.slider-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for cleaner look with buttons */
}
.slider-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    flex-direction: row;
}

.modal-content {
    flex: 3;
    display: flex;
    flex-direction: column; /* Force vertical stacking */
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh; /* Reduced to make space for description */
    object-fit: contain;
}

.modal-description {
    color: #ccc;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    max-width: 80%;
    line-height: 1.4;
    font-style: italic;
}

.modal-sidebar {
    flex: 1;
    background: #1a1a1a;
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-sidebar img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.modal-sidebar img.active {
    opacity: 1;
    border: 2px solid #fff;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

/* Modal Navigation Buttons */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1005;
    transition: background 0.3s;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: calc(25% + 20px); /* Adjust based on sidebar width */
}

@media (max-width: 768px) {
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .modal-nav.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .modal {
        flex-direction: column;
    }
    .modal-sidebar {
        flex-direction: row;
        height: 120px;
        flex: none;
    }
    .modal-sidebar img {
        width: 100px;
        height: 80px;
    }
    .slider-item img {
        height: 300px;
    }
}


