/* =========================================================
   ARTWORK DETAIL PAGE
   ArtVilla by Anshika
   ========================================================= */


/* ---------------------------------------------------------
   PAGE FOUNDATION
   --------------------------------------------------------- */

.artwork-page {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 40px 0 120px;

    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 80px;
    align-items: start;
}


/* ---------------------------------------------------------
   BREADCRUMB
   --------------------------------------------------------- */

.artwork-breadcrumb {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 38px 0 20px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.48);
}

.artwork-breadcrumb a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.25s ease;
}

.artwork-breadcrumb a:hover {
    color: #c6a15b;
}

.artwork-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.32);
}


/* ---------------------------------------------------------
   ARTWORK GALLERY
   --------------------------------------------------------- */

.artwork-page-gallery {
    width: 100%;
}


/* Main image */

.artwork-main-image {
    margin: 0;
    width: 100%;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.artwork-main-image img {
    display: block;
    width: 100%;
    height: auto;

    max-height: 820px;
    object-fit: contain;

    transition: transform 0.6s ease;
}

.artwork-main-image:hover img {
    transform: scale(1.015);
}


/* Secondary images */

.artwork-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    margin-top: 18px;
}

.artwork-image-grid figure {
    margin: 0;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.artwork-image-grid img {
    display: block;
    width: 100%;
    height: auto;

    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
}

.artwork-image-grid figure:hover img {
    transform: scale(1.025);
    opacity: 0.92;
}


/* ---------------------------------------------------------
   ARTWORK INFORMATION
   --------------------------------------------------------- */

.artwork-page-details {
    position: sticky;
    top: 110px;

    padding: 12px 0 40px;
}


/* Small label */

.artwork-eyebrow {
    margin: 0 0 20px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #c6a15b;
}


/* Title */

.artwork-page-details h1 {
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;

    color: #f5f2eb;
}


/* Description */

.artwork-description {
    max-width: 620px;

    margin: 30px 0 0;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.9;

    color: rgba(255, 255, 255, 0.66);
}

.artwork-description+.artwork-description {
    margin-top: 18px;
}


/* ---------------------------------------------------------
   SPECIFICATIONS
   --------------------------------------------------------- */

.artwork-specifications {
    margin-top: 42px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.artwork-specification {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 17px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    font-family: "Inter", sans-serif;
}

.artwork-specification span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.38);
}

.artwork-specification strong {
    font-size: 13px;
    font-weight: 500;

    text-align: right;

    color: rgba(255, 255, 255, 0.82);
}


/* ---------------------------------------------------------
   PRICE / ENQUIRY
   --------------------------------------------------------- */

.artwork-purchase {
    margin-top: 42px;
    padding: 28px;

    background:
        linear-gradient(135deg,
            rgba(198, 161, 91, 0.09),
            rgba(198, 161, 91, 0.025));

    border: 1px solid rgba(198, 161, 91, 0.22);
}

.artwork-price-label {
    display: block;

    margin-bottom: 7px;

    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.42);
}

.artwork-price {
    display: block;

    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1.2;

    color: #c6a15b;
}


/* Enquiry button */

.artwork-enquire-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    margin-top: 24px;
    padding: 16px 20px;

    box-sizing: border-box;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.06em;
    text-transform: uppercase;

    color: #111;
    background: #c6a15b;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.artwork-enquire-btn span {
    font-size: 19px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.artwork-enquire-btn:hover {
    background: #d4b472;
    transform: translateY(-2px);
}

.artwork-enquire-btn:hover span {
    transform: translateX(5px);
}


/* ---------------------------------------------------------
   COLLECTION LINK
   --------------------------------------------------------- */

.artwork-collection {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 28px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
}

.artwork-collection span {
    color: rgba(255, 255, 255, 0.35);

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.artwork-collection a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;

    border-bottom: 1px solid rgba(198, 161, 91, 0.45);

    padding-bottom: 3px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.artwork-collection a:hover {
    color: #c6a15b;
    border-color: #c6a15b;
}


/* ---------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .artwork-page {
        width: min(100% - 50px, 760px);

        grid-template-columns: 1fr;

        gap: 55px;
    }

    .artwork-page-details {
        position: static;
        padding-bottom: 30px;
    }

    .artwork-page-details h1 {
        font-size: clamp(40px, 7vw, 58px);
    }

    .artwork-description {
        max-width: 760px;
    }

}


/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .artwork-breadcrumb {
        width: calc(100% - 36px);
        padding: 25px 0 15px;

        font-size: 10px;
        gap: 7px;
    }


    .artwork-page {
        width: calc(100% - 36px);

        padding: 20px 0 80px;

        gap: 42px;
    }


    /* Main image */

    .artwork-main-image {
        border-left: 0;
        border-right: 0;
    }

    .artwork-main-image img {
        width: 100%;
    }


    /* Secondary images */

    .artwork-image-grid {
        gap: 10px;
        margin-top: 10px;
    }


    /* Details */

    .artwork-eyebrow {
        margin-bottom: 14px;

        font-size: 9px;
        letter-spacing: 0.15em;
    }

    .artwork-page-details h1 {
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.08;
    }


    .artwork-description {
        margin-top: 23px;

        font-size: 13px;
        line-height: 1.8;
    }


    /* Specifications */

    .artwork-specifications {
        margin-top: 32px;
    }

    .artwork-specification {
        padding: 15px 0;
    }

    .artwork-specification span {
        font-size: 9px;
    }

    .artwork-specification strong {
        font-size: 11px;
    }


    /* Purchase */

    .artwork-purchase {
        margin-top: 32px;
        padding: 22px 18px;
    }

    .artwork-price {
        font-size: 28px;
    }


    .artwork-enquire-btn {
        padding: 15px 16px;

        font-size: 10px;
    }


    /* Collection */

    .artwork-collection {
        align-items: flex-start;
        flex-direction: column;

        gap: 9px;

        margin-top: 25px;
    }

}