/* CSS Variables for easy customization */
:root {
    --color-off-white: #fafaf8;
    --color-charcoal: #2a2a2a;
    --color-mid-grey: #666666;
    --color-light-grey: #e8e8e8;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-smooth: all 0.3s ease;
    --transition-fade: opacity 0.6s ease-in-out;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-off-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent right-click and text selection on images */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.gallery-item img {
    pointer-events: auto;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-off-white);
    border-bottom: 1px solid var(--color-light-grey);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-charcoal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-mid-grey);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-charcoal);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: var(--transition-smooth);
}

/* Section Styles */
.section {
    min-height: 10vh;
    padding: 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-charcoal);
}

/* Home Section */
.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 6rem;
}

.home-content {
    max-width: 1000px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.artist-photo-container {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 350px;
    max-height: 300px;
}

.artist-photo {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
    margin: 0;
}
.artist-quote {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-top: 2rem;
    margin-bottom: 0;
    padding: 0;
}

.home-nav-links {
    display: flex;
    gap: 3rem;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.5s ease-in 2s forwards;
}

.home-nav-link {
    text-decoration: none;
    color: var(--color-charcoal);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    padding-bottom: 5px;
}

.home-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-charcoal);
    transition: width 0.3s ease;
}

.home-nav-link:hover::after {
    width: 100%;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--color-off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-light-grey);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Bio Section */
.bio-section {
    background-color: var(--color-off-white);
}

.bio-container {
    max-width: 1200px;
}

.bio-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.bio-photo-container {
    width: 100%;
    max-height: 300px;
}

.bio-photo {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
}
.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-charcoal);
}

/* Statement Section */
.statement-section {
    background-color: var(--color-off-white);
}

.statement-container {
    max-width: 900px;
}

.statement-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-charcoal);
    text-align: justify;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-off-white);
}

.contact-container {
    max-width: 1000px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-mid-grey);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--color-off-white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-light-grey);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-off-white);
    font-size: 1rem;
    text-align: center;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-off-white);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.5rem 2rem;
    }

    .section {
        padding: 5rem 2rem 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-photo {
        max-width: 350px;
        margin: 0 auto;
        height: auto;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-off-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .section {
        padding: 4rem 1.5rem 2rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .artist-photo {
        width: 200px;
        height: 200px;
        margin-top: 1rem;
    }

    .artist-quote {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .home-nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bio-text p,
    .statement-text p {
        font-size: 1rem;
        text-align: left;
    }

    .lightbox-close {
        top: 1rem;
        right: 1.5rem;
        font-size: 2.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1rem;
    }

    .home-nav-link {
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 1.5rem 1rem;
    }
}