/* Minimalist Work Status Styling */




/* Work Detail Section Titles & Divider */

/* -------------------
   RESET / BASE
------------------- */


*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
  --font-display: "Libre Bodoni", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}



.work-section {
    margin-bottom: 2.2rem;
}


.section-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 200;
    color: #888;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.7rem 0;

}
.work-divider {
    border: none;
    border-top: 1px solid black;
    margin: 2.2rem 0 2.2rem 0;
}
.work-materials-empty,
.description-empty {
    color: #bbb;
    font-style: italic;
}


/* -------------------
   LINKS
------------------- */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* -------------------
   TOP BAR
------------------- */

/* .topbar {
    border-bottom: 1px solid #eee;
} */

.topbar-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.2rem 1.5rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 80px;           /* adjust once, then never touch again */
    width: auto;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}




.top-nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-left: 2rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.top-nav a:hover {
    text-decoration: underline;
}

/* -------------------
   MAIN
------------------- */

.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: none;
    margin: 0;
    width: 100%;
}

.site-main:not(:has(.home-hero)) {
    max-width: 80vw;
    margin: 0 auto;
    padding: 1rem 0 4rem;
}



/* -------------------
   FOOTER
------------------- */

.site-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    color: #666;
}

/* -------------------
   HOME HERO
------------------- */

.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    flex-shrink: 0;
}

/* -------------------
   SLIDESHOW/CAROUSEL
------------------- */

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.hero-slideshow .slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}
.hero-slideshow .slide img {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.5s;
}

.hero-slideshow .hero-quote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 80%;
    text-align: center;
    pointer-events: none;
}
.hero-slideshow .hero-quote p {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 4px 32px rgba(0,0,0,0.45), 0 1.5px 0 #000;
    margin: 0 auto;
    display: block;
    text-align: center;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    white-space: pre-line;
}

.slideshow-dots {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 1.1rem;
}
.slideshow-dots .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: background 0.3s, border 0.3s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.slideshow-dots .dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* -------------------
   QUOTE
------------------- */

.hero-quote {
    position: absolute;
    top: 50%;
    left: 2rem;
    max-width: 480px;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-quote p {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* -------------------
   GALLERY
------------------- */

.hero-gallery {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    align-items: center;
    scroll-behavior: smooth;
}

.hero-gallery::-webkit-scrollbar {
    height: 4px;
}

.hero-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.hero-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.hero-image {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    height: 90vh;
    width: auto;
    object-fit: contain;
    display: block;
}



/* -------------------
   WORKS GRID
------------------- */

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
}

.work-tile img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    color: #333;
}

/* -------------------
   WORK DETAIL
------------------- */

.work-detail {
    max-width: 900px;
}

.work-images img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

.work-meta {
    margin-top: 2rem;
    font-size: 0.9rem;
}

.work-meta h1 {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.work-meta p {
    margin: 0.25rem 0;
}

/* -------------------
   ADMIN (bare minimum)
------------------- */

form input,
form textarea,
form button {
    font-family: inherit;
    font-size: 0.9rem;
}

form input,
form textarea {
    width: 100%;
    max-width: 400px;
}

form textarea {
    min-height: 120px;
}

/* -------------------
   RESPONSIVE
------------------- */

@media (max-width: 768px) {
    .top-nav a {
        margin-left: 1.25rem;
    }

    .site-main:not(:has(.home-hero)) {
        padding: 1.5rem 1rem 3rem;
    }

    .home-hero {
        height: 100vh;
    }

    .hero-quote {
        left: 1.5rem;
        max-width: calc(100% - 3rem);
        transform: translateY(-50%);
    }

    .hero-quote p {
        font-size: 1.2rem;
    }

    .hero-gallery {
        padding: 0 1rem;
        gap: 2rem;
    }

    .hero-image img {
        height: 80vh;
    }

    .carousel-slide img {
        max-height: 40vh;
    }

    .carousel-thumb {
        width: 48px;
        height: 48px;
    }

    .work-images-carousel .carousel-slide img {
        max-height: 40vh;
    }
    .work-images-carousel .carousel-thumb {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 900px) {
        .work-detail-flex .work-meta {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }
    .work-detail-flex {
        flex-direction: column !important;
        gap: 1rem;
        max-width: 100vw;
    }
    .work-detail-left, .work-detail-flex .work-meta {
        max-width: 100%;
        flex: 1 1 100%;
        padding-left: 0;
        min-width: 0;
    }
}

@media (max-width: 500px) {
    .work-detail-left {
        min-width: 0;
        width: 100%;
    }
}

/* -------------------
   OVERLAYS
------------------- */

.topbar.overlay-bar, .site-footer.overlay-bar {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 30;
    background: none;
    border: none;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.topbar.overlay-bar {
    top: 0;
}
.site-footer.overlay-bar {
    bottom: 0;
}

/* Hide carousel dots/buttons */
.slideshow-dots {
    display: none !important;
}

.work-images-carousel {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: static;
    z-index: auto;
}
.work-images-carousel .carousel-main {
    width: 100%;
    position: relative;
    min-height: 0;
    margin-bottom: 1.5rem;
}
.work-images-carousel .carousel-slide {
    position: relative;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
}
.work-images-carousel .carousel-slide.active {
    opacity: 1;
    z-index: 2;
    display: flex;
}
.work-images-carousel .carousel-slide img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}
.work-images-carousel .carousel-thumbnails {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    margin-top: 0;
}
.work-images-carousel .carousel-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: border 0.2s, opacity 0.2s, filter 0.2s;
    margin-bottom: 0;
}
.work-images-carousel .carousel-thumb.active {
    border-color: #888;
    filter: grayscale(1) brightness(0.7);
    opacity: 0.7;
}

.work-detail-flex {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    margin: 0 auto 2rem auto;
    box-sizing: border-box;
}
.work-detail-left {
    flex: 1 1 60%;
    min-width: 300px;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.work-detail-flex .work-meta {
    flex: 1 1 40%;
    min-width: 260px;
    max-width: none;
    padding-top: 0.5rem;
    padding-left: 0.5rem;
}
.work-meta h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}
.work-meta .work-date {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 0.7rem;
    font-family: inherit;
    margin-top: 0;
    margin-bottom: 1.2rem;
}
.work-meta .work-materials {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.1rem;
    font-family: inherit;
}
.work-meta .description {
    font-size: 1.08rem;
    line-height: 1.6;
    color: #222;
    font-family: var(--font-body);

}

.description{
    margin-top: 1.2rem;
}

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.35);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.contact-modal-content {
    background: #fff;
    margin: 18vh auto 5vh auto;
    padding: 2.5rem 3rem;
    border-radius: 1.2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    max-width: 800px;
    min-width: 500px;
    min-height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    color: #888;
    font-size: 2rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}
.contact-modal-close:hover {
    color: #222;
}
.contact-modal-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
    min-height: 300px;
}
.contact-modal-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 0.7rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: stretch;
}
.contact-modal-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 300px;
}
.contact-modal-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.7rem 0;
    color: #222;
}
.contact-modal-info p {
    margin: 0.3rem 0;
    color: #444;
    font-size: 1.1rem;
    word-break: break-all;
}
.contact-modal-info a {
    color: #2a5d9f;
    text-decoration: none;
    transition: text-decoration 0.2s;
}
.contact-modal-info a:hover {
    text-decoration: underline;
}
.contact-to-buy-btn {
    margin-top: 0.7rem;
    padding: 0.6rem 1.3rem;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: black;
    border: solid;
    border-width: 1px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s;
}
.contact-to-buy-btn:hover {
    background: rgb(20, 20, 20);
    color: white;
}

/* -------------------
   NEWS LIST
------------------- */

.news-container {
    max-width: 90vw;
}

.news-title,
.about-title,
.news-detail-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.015em;
}


/* List structure */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

/* Individual item */
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 2.8rem;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.35rem;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
}


.news-content {
    flex: 1 1 auto;          /* main column */
    max-width: 640px;
}

.news-image {
    flex: 0 0 220px;
    margin-left: auto;
}



.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.4rem;
}

.news-item-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    margin: 0 0 0.7rem 0;
    letter-spacing: 0.01em;
}

.news-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Subtle hover – consistent with rest of site */
.news-item:hover .news-item-title {
    text-decoration: underline;
}

/* -------------------
   NEWS PAGINATION
------------------- */

.pagination {
    margin-top: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.pagination a {
    color: #111;
}

.pagination-info {
    color: #888;
}


@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 1.2rem;
    }

    .news-image {
        width: 100%;
        flex: none;
    }

    .news-content {
        max-width: none;
    }
}



/* -------------------
   NEWS DETAIL
------------------- */

.news-detail {
    max-width: 900px;
}

/* Header */
.news-detail-header {
    margin-bottom: 2.8rem;
}

.news-detail-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0 0 0.8rem 0;
}

.news-detail-date {
    font-size: 0.95rem;
    color: #888;
}

/* Images */
.news-detail-images {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.news-detail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.6rem;
    box-shadow: 0 4px 28px rgba(0,0,0,0.10);
}

/* Text */
.news-detail-content {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.7;
    color: #222;
    max-width: 720px;
}


@media (max-width: 768px) {
    .news-detail-title {
        font-size: 2rem;
    }

    .news-detail-content {
        font-size: 1.02rem;
    }
}

/* -------------------
   ABOUT
------------------- */

.about-container {
    width: 100%;
}


.about-layout {
    display: flex;
    gap: 3.5rem;
    align-items: stretch;
    justify-content: flex-start;
}

.about-image {
    flex: 0 0 30%;
    display: flex;
    
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.6rem;
    box-shadow: 0 4px 28px rgba(0,0,0,0.10);
    

}

.about-text {
    flex: 1 1 0;
    max-width: 52rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;

}


.about-text p {
    margin: 0 0 1.4rem 0;
}

@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        max-width: 320px;
    }

    .about-text {
        font-size: 1.02rem;
    }
}
