* {
    box-sizing: border-box;
}

body.destination-detail-page {
    margin: 0;
    min-height: 100vh;
    background: #ffffff;
    color: #181715;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

:root {
    --detail-main-image: url("../img/background/destinasi2.png");
    --detail-card-culture: url("../img/card/SeniBudaya.png");
    --detail-card-customs-one: url("../img/card/AdatDanUpacara1.png");
    --detail-card-customs-two: url("../img/card/AdatDanUpacara2.png");
    --detail-religion-bg: url("../img/circle/mayoritasagama.png");
}

.detail-main {
    min-height: 100vh;
    padding: 86px 0 20px;
}

.destination-detail {
    width: 100%;
    padding: 0 0 16px;
}

.destination-detail-shell {
    width: min(1224px, calc(100% - 56px));
    min-height: 0;
    margin: 0 auto;
    padding: 12px 16px 18px;
    border-radius: 0;
    border: none;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(23, 19, 14, 0.12);
}

.destination-feature {
    position: relative;
    margin: 0;
    height: clamp(350px, 52vw, 560px);
    overflow: visible;
}

.destination-feature-image {
    position: absolute;
    background-image: var(--detail-main-image);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 34px;
    box-shadow: 0 8px 18px rgba(31, 24, 16, 0.22);
}

.destination-feature-image-left {
    left: 0;
    top: 0;
    width: 76%;
    height: 100%;
    background-position: 22% center;
}

.destination-feature-image-right {
    right: 0;
    top: 54px;
    width: 66%;
    height: calc(100% - 54px);
    background-position: 72% center;
}

.destination-feature::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 76%;
    height: 100%;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.02) 38%, rgba(0, 0, 0, 0.24) 100%);
    pointer-events: none;
}

.destination-feature h2 {
    position: absolute;
    left: 34px;
    top: 24px;
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: clamp(46px, 3.8vw, 66px);
    line-height: 0.95;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.01em;
    z-index: 2;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.32);
}

.destination-detail-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.destination-info-card {
    border-radius: 12px;
    border: 1px solid rgba(188, 198, 190, 0.68);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 30, 20, 0.1);
    padding: 14px 16px 16px;
}

.destination-info-card h3 {
    margin: 0 0 8px;
    font-family: "Cinzel", serif;
    font-size: clamp(32px, 2.5vw, 44px);
    line-height: 1;
    color: #67aa89;
}

.destination-info-card p {
    margin: 0;
    font-size: clamp(14px, 0.95vw, 16px);
    line-height: 1.48;
    color: #201d1a;
    text-align: justify;
}

.destination-info-card-culture {
    display: grid;
    align-content: start;
    gap: 12px;
}

.culture-photo {
    width: 100%;
    min-height: 126px;
    border-radius: 6px;
    border: none;
    background:
        linear-gradient(180deg, rgba(26, 34, 49, 0.2) 0%, rgba(26, 34, 49, 0.22) 100%),
        var(--detail-card-culture) center / cover no-repeat;
}

.destination-info-card-customs {
    display: grid;
    align-content: start;
    gap: 8px;
}

.customs-list {
    display: grid;
    gap: 10px;
}

.customs-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-bottom: 10px;
    border-bottom: none;
}

.customs-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.customs-thumb {
    width: 78px;
    height: 60px;
    border-radius: 4px;
    border: none;
    background-color: #dad2c8;
}

.customs-thumb-one {
    background: var(--detail-card-customs-one) center / cover no-repeat;
}

.customs-thumb-two {
    background: var(--detail-card-customs-two) center / cover no-repeat;
}

.customs-item p {
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.4;
    text-align: left;
}

.religion-section {
    margin-top: 28px;
    padding-bottom: 10px;
}

.religion-card {
    position: relative;
    overflow: visible;
    border-radius: 10px;
    min-height: 284px;
    padding: 22px 26px 20px;
    background:
        linear-gradient(180deg, rgba(82, 91, 99, 0.56) 0%, rgba(75, 84, 93, 0.56) 100%),
        var(--detail-religion-bg) center / cover no-repeat;
    box-shadow: 0 12px 22px rgba(20, 20, 20, 0.14);
}

.religion-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(32, 39, 45, 0.36) 0%, rgba(32, 39, 45, 0.5) 100%);
    pointer-events: none;
}

.religion-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: clamp(48px, 3.2vw, 60px);
    line-height: 1;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.32);
}

.religion-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    max-width: 760px;
}

.religion-thumb {
    width: 148px;
    height: 104px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24);
}

.religion-content p {
    margin: 0;
    font-size: clamp(14px, 1.02vw, 16px);
    line-height: 1.45;
    color: rgba(247, 247, 247, 0.98);
}

.religion-content strong {
    font-weight: 700;
}

.religion-decor {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    user-select: none;
}

.religion-decor-top {
    width: clamp(92px, 7.6vw, 132px);
    right: 86px;
    top: -46px;
}

.religion-decor-bottom {
    width: clamp(250px, 21vw, 360px);
    right: -46px;
    bottom: -90px;
    opacity: 0.96;
}

.event-calendar-section {
    width: 100%;
    padding: 14px 0 28px;
}

.event-calendar-shell {
    width: min(1224px, calc(100% - 56px));
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(141, 173, 189, 0.55);
    background: linear-gradient(180deg, #88b4c2 0%, #7ea9b8 100%);
    box-shadow: 0 10px 26px rgba(28, 44, 54, 0.2);
    padding: 12px;
}

.event-calendar-title {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(104, 146, 164, 0.55);
    background: rgba(189, 223, 236, 0.42);
    color: #151515;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: "Cinzel", serif;
    font-size: clamp(26px, 3.2vw, 48px);
    padding: 12px 16px;
}

.event-calendar-figure {
    margin: 14px 0 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(131, 166, 185, 0.5);
    background: #e8f2f8;
}

.event-calendar-poster {
    width: 100%;
    display: block;
}

.site-footer {
    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 72px 0 26px;
    color: #f5f5f5;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/background/latarbelakang.jpg") center / cover no-repeat;
    filter: brightness(0.28) grayscale(0.1);
    z-index: -2;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 22, 22, 0.68) 0%, rgba(18, 18, 18, 0.72) 100%);
    z-index: -1;
}

.footer-shell {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1.15fr;
    background: rgba(20, 20, 20, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.footer-col {
    padding: 32px 30px 28px;
}

.footer-col + .footer-col {
    border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.footer-heading {
    font-family: "Cormorant Infant", serif;
    font-size: clamp(28px, 2.6vw, 42px);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
    color: #fff;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.footer-list a {
    color: rgba(245, 245, 245, 0.93);
    text-decoration: none;
    font-size: clamp(15px, 1.1vw, 22px);
    line-height: 1.42;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 16px;
}

.footer-logo-block {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.footer-logo {
    display: block;
    width: 100%;
    height: auto;
}

.footer-logo-metland {
    max-width: 158px;
}

.footer-contact p {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(245, 245, 245, 0.93);
    font-size: clamp(14px, 1vw, 19px);
    line-height: 1.42;
    margin: 0 0 8px;
}

.footer-contact p i {
    width: 18px;
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.footer-socials a {
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    opacity: 0.94;
}

.footer-col-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo-right {
    margin-top: 0;
    justify-content: center;
}

.footer-logo-uzbek {
    max-width: 500px;
}

.footer-description {
    color: rgba(245, 245, 245, 0.92);
    font-size: clamp(15px, 1.04vw, 20px);
    line-height: 1.48;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    color: rgba(248, 248, 248, 0.95);
}

.footer-bottom p:first-child {
    font-family: "Cormorant Infant", serif;
    font-size: clamp(27px, 2vw, 34px);
    line-height: 1.1;
    margin: 0;
}

.footer-bottom p:last-child {
    margin: 4px 0 0;
    font-size: clamp(14px, 1vw, 17px);
}

@media (max-width: 1080px) {
    .detail-main {
        padding-top: 92px;
    }

    .destination-detail-shell {
        width: calc(100% - 24px);
    }

    .event-calendar-shell {
        width: calc(100% - 24px);
    }

    .destination-feature {
        height: clamp(340px, 72vw, 520px);
    }

    .destination-feature-image-left,
    .destination-feature::after {
        width: 100%;
        height: 68%;
    }

    .destination-feature-image-right {
        width: 86%;
        height: 64%;
        top: auto;
        right: 0;
        bottom: 0;
    }

    .destination-detail-grid {
        grid-template-columns: 1fr;
    }

    .destination-feature h2 {
        left: 22px;
        top: 18px;
    }

    .religion-card {
        min-height: 0;
        padding: 18px 16px 16px;
    }

    .religion-card h3 {
        font-size: clamp(34px, 6vw, 48px);
        margin-bottom: 12px;
    }

    .religion-content {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
    }

    .religion-thumb {
        width: 120px;
        height: 88px;
    }

    .religion-decor-top {
        width: 88px;
        right: 46px;
        top: -34px;
    }

    .religion-decor-bottom {
        width: 220px;
        right: -26px;
        bottom: -68px;
    }

    .site-footer {
        padding-top: 50px;
    }

    .footer-shell {
        padding: 0 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col-right {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.24);
    }
}

@media (max-width: 760px) {
    .detail-main {
        padding-top: 88px;
    }

    .destination-detail-shell {
        width: calc(100% - 16px);
        min-height: 0;
        padding: 10px 8px 12px;
    }

    .event-calendar-shell {
        width: calc(100% - 16px);
        padding: 10px;
    }

    .event-calendar-title {
        padding: 10px 12px;
        font-size: clamp(22px, 7.6vw, 34px);
    }

    .destination-feature {
        height: 360px;
    }

    .destination-feature h2 {
        left: 14px;
        top: 10px;
        font-size: clamp(34px, 9vw, 46px);
    }

    .destination-info-card h3 {
        font-size: clamp(24px, 8vw, 32px);
    }

    .religion-section {
        margin-top: 18px;
    }

    .religion-content {
        grid-template-columns: 1fr;
    }

    .religion-thumb {
        width: 110px;
        height: 80px;
    }

    .religion-decor-top {
        width: 70px;
        right: 28px;
        top: -24px;
    }

    .religion-decor-bottom {
        width: 152px;
        right: -22px;
        bottom: -48px;
    }

    .customs-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
    }

    .customs-thumb {
        width: 76px;
        height: 58px;
    }

    .site-footer {
        padding: 42px 0 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        padding: 22px 18px 20px;
    }

    .footer-col + .footer-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-col-right .footer-contact {
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        width: 100%;
    }

    .footer-logo-metland {
        max-width: 132px;
    }

    .footer-logo-uzbek {
        max-width: 300px;
    }

    .footer-bottom {
        margin-top: 14px;
    }

    .footer-bottom p:first-child {
        font-size: 22px;
    }
}
