/* Reset and basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    background-color: white;
    color: #333;
}

/* Header styling */
header {
    padding: 30px 40px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    font-weight: normal;
}

header h1 a {
    color: #333;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: #333;
}

/* Masonry gallery */
.gallery {
    column-count: 4;
    column-gap: 0px;
    padding: 0px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 0px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

.gallery-item img:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .gallery {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery {
        column-count: 2;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery {
        column-count: 1;
    }
}
/* About Page */
.about-page {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-portrait img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.about-content p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}
/* About Page */
.about-page {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-portrait {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Right align everything */
}

.about-portrait img {
    width: 100%;
    height: auto;
    margin-bottom: 15px; /* Space between image and buttons */
}

.about-icons {
    display: flex;
    gap: 8px; /* Space between buttons - adjust this to be closer/further */
    justify-content: flex-end; /* Right align the buttons */
}

.about-icons a {
    display: block;
    transition: opacity 0.3s;
}

.about-icons a:hover {
    opacity: 0.6;
}

.about-icons img {
    width: 40px; /* Adjust size as needed */
    height: 40px;
    display: block;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.about-content p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}
/* Link styling */
a {
    color: #333; /* Link color */
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

a:visited {
    color: #000000; /* Visited link color */
}

/* Responsive for About page */
@media (max-width: 1024px) {
    .about-page {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-portrait {
        max-width: 350px;
        margin: 0 auto;
    }
}
/* Responsive for About page */
@media (max-width: 1024px) {
    .about-page {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-portrait {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Music Page */
.music-page {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.music-page h2 {
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    justify-items: center; /* This centers the items */
}

.music-grid a {
    display: block;
    transition: opacity 0.3s;
    max-width: 100%; /* Ensures images don't overflow */
}

.music-grid a:hover {
    opacity: 0.7;
}

.music-grid img {
    width: 100%;
    height: auto;
    display: block;
}
/* Responsive for Music page */
@media (max-width: 1024px) {
    .music-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .music-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Sort controls */
.sort-controls {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.sort-controls label {
    font-size: 14px;
    margin-right: 15px;
    color: #666;
}

.sort-btn {
    background-color: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    margin: 0 5px;
    font-family: 'Times New Roman', serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-btn:hover {
    background-color: #f5f5f5;
}

.sort-btn.active {
    background-color: #333;
    color: white;
    border-color: #333;
}

/* Connect Page */
.connect-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 60px 40px;
}

.connect-content {
    text-align: center;
    max-width: 600px;
}

.connect-content h2 {
    font-size: 72px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.connect-content p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.connect-content .email-link {
    margin-top: 10px;
}

.connect-content .email-link a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

.connect-content .email-link a:hover {
    opacity: 0.6;
}
.menu a img {
    width: 50px; /* Adjust size as needed */
    height: auto;
    display: block;
    transition: transform 0.2s; /* optional hover effect */
}

.menu a.active img {
    border: 2px solid #000; /* highlight active menu */
    border-radius: 8px;
}

.menu a img:hover {
    transform: scale(1.1); /* subtle zoom on hover */
}
.menu a img {
    width: 30px;   /* smaller width */
    height: 30px;  /* keep square for icons */
    display: block;
    transition: transform 0.2s;
}

.menu a.active img {
    border: 2px solid #000;  /* optional highlight */
    border-radius: 4px;
}

.menu a img:hover {
    transform: scale(1.1);    /* subtle zoom effect */
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox.fade-out {
    opacity: 0;
}

.lightbox-image-container {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 95%;
    max-height: 90%;
    pointer-events: none;
}

.lightbox-image-container img {
    max-width: 95vw;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
}

/* Navigation arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    transition: opacity 0.3s;
    z-index: 10001;
}

.lightbox-arrow:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* Lightbox caption */
.lightbox-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    text-align: center;
    max-width: 80%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    z-index: 10001;
}

/* Make gallery images clickable */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: opacity 0.3s;
}

.gallery-item:hover img {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-arrow {
        font-size: 40px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        bottom: 30px;
        font-size: 14px;
    }
    
    .lightbox-image-container img {
        max-height: 65vh;
    }
}
/* Navigation arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 20px;
    transition: opacity 0.3s;
    z-index: 10000;
}

.lightbox-arrow:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* Make gallery images clickable */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: opacity 0.3s;
}

.gallery-item:hover img {
    opacity: 0.8;
}

/* Responsive arrows */
@media (max-width: 768px) {
    .lightbox-arrow {
        font-size: 40px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}
}

