@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #ffffff;
    color: #000;
    line-height: 1.75;
    letter-spacing: 0.1px;
}

.nav-item,
.selected-meta,
.image-meta,
.work-description,
.detail-description,
.about > p,
.credentials li,
.contact-block p,
.modal-footer p {
    font-family: 'Cormorant Garamond', serif;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.artist-name {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin: 0;
}

.artist-name:hover {
    opacity: 0.6;
}

.nav-item {
    color: #000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-item:hover {
    opacity: 0.6;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

/* Gallery / Works Section */
.gallery {
    padding-top: 200px;
    padding-bottom: 100px;
    max-width: 2560px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

.work {
    margin-bottom: 140px;
    overflow: hidden;
}

.work img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work:hover img {
    transform: scale(1.02);
}

/* MORE Overlay */
.work-image-container {
    position: relative;
    overflow: hidden;
}

.more-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid #000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.work:hover .more-overlay {
    opacity: 1;
}

/* Work Detail Modal */
.work-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.work-modal.active {
    opacity: 1;
    visibility: visible;
}

.work-back {
    position: fixed;
    top: 40px;
    right: 60px;
    font-family: 'Cormorant Garamond', serif;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    color: #000;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 3100;
}

.work-back:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.work-detail-content {
    padding: 200px 60px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-gallery {
    margin-bottom: 60px;
}

.image-container {
    margin-bottom: 40px;
}

.work-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.work-image-1 {
    /* First image has no special margin since it's in container */
}

.image-meta {
    max-width: 2560px;
    margin: 12px auto 0;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
    letter-spacing: 0.05em;
    text-align: left;
    font-weight: 300;
}

.work-detail-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    letter-spacing: 0.1px;
    font-weight: 300;
}

/* Selected Section */
.selected {
    padding: 200px 0 80px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.selected h2 {
    display: none;
}

.selected-carousel {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    gap: 0;
    width: 100%;
}

.selected-item {
    min-width: 100%;
    width: 100%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.selected-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.selected-item:hover img,
.selected-item.active img {
    transform: scale(1.015);
}

.carousel-btn {
    border: none;
    background: rgba(255, 255, 255, 0.4);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 10;
}

.carousel-btn:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.selected-meta {
    max-width: 100%;
    padding: 0 60px;
    margin: 28px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
    letter-spacing: 0.05em;
    text-align: left;
    font-weight: 300;
}

..selected-meta .meta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.selected-meta .meta-details {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.05em;
}

 

/* Info Section */
.about {
    padding: 120px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.about > p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: 0.2px;
    font-weight: 300;
}

.credentials {
    margin-bottom: 50px;
}

.credentials h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 600;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    font-weight: 300;
}

.contact-block {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 24px;
}

.contact-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.contact-block p {
    font-size: 14px;
    color: #444;
    margin: 4px 0;
    font-weight: 300;
}

.insta-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid #000;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.insta-link:hover {
    color: #444;
    border-color: #444;
}

/* Modal Pop-up */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: visible;
}

.modal:not(.active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #000;
}

.modal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
}

.news-section {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    min-height: 60px;
    letter-spacing: 0.1px;
}

.modal-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
}

.modal-footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.modal-footer a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
}

.modal-footer a:hover {
    opacity: 0.6;
}

/* Footer */
.footer {
    padding: 40px 60px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.5px;
}

.legal {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    opacity: 0.7;
}

.top-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1500;
    border: 1px solid rgba(0,0,0,.35);
    background: rgba(255,255,255,.95);
    color: #000;
    font-family: 'Cormorant Garamond', serif;
}

.top-button:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 85%;
        max-width: 100%;
        padding: 40px 30px;
    }

    .nav {
        padding: 20px 20px;
        gap: 30px;
        font-size: 12px;
    }

    .selected-carousel {
        padding: 0 20px;
    }

    .selected-meta {
        padding: 0 20px;
    }

    .gallery {
        padding-top: 120px;
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .work {
        margin-bottom: 80px;
    }

    .work img {
        max-width: 100%;
    }

    .selected,
    .about,
    .footer {
        padding: 60px 20px;
    }

    .selected h2,
    .about h2 {
        font-size: 20px;
    }

    .work-description {
        font-size: 13px;
        margin-top: 15px;
    }

    .work-detail-content {
        padding: 150px 20px 60px;
    }

    .work-back {
        right: 20px;
        top: 20px;
    }

    .image-container {
        margin-bottom: 30px;
    }

    .work-image {
        /* margin stays the same */
    }

    .image-meta {
        font-size: 11px;
        margin-top: 10px;
    }

    .work-detail-text {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 35px 25px;
    }

    .nav {
        padding: 15px 15px;
        gap: 20px;
        font-size: 11px;
    }

    .selected-carousel {
        padding: 0 15px;
    }

    .selected-meta {
        padding: 0 15px;
    }

    .gallery {
        padding-top: 90px;
    }

    .work {
        margin-bottom: 40px;
    }

    .selected,
    .about,
    .footer {
        padding: 40px 15px;
    }

    .work-detail-content {
        padding: 120px 15px 40px;
    }

    .work-back {
        right: 15px;
        top: 15px;
        padding: 10px 20px;
        font-size: 11px;
    }

    .image-container {
        margin-bottom: 20px;
    }

    .work-image {
        /* margin stays the same */
    }

    .image-meta {
        font-size: 10px;
        margin-top: 8px;
    }

    .work-detail-text {
        margin-bottom: 30px;
    }
}
