
/* ==========================================
   SGA DESTINATION WEDDING
   PREMIUM RESORT DESIGN
========================================== */

.sga-destination-wedding {
    width: 100%;
    position: relative;
    padding: 65px 5%;
    background: #faf9f5;
    overflow: hidden;
    box-sizing: border-box;
}

.sga-destination-wedding *,
.sga-destination-wedding *::before,
.sga-destination-wedding *::after {
    box-sizing: border-box;
}

.dw-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.dw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 55px;
    align-items: center;
}

/* ==========================================
   LEFT IMAGE GALLERY
========================================== */

.dw-gallery {
    width: 100%;
    min-width: 0;
}

.dw-main-photo {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #e9e9e2;
    box-shadow: 0 15px 40px rgba(25, 55, 34, 0.12);
}

.dw-main-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.6s ease;
}

.dw-main-photo:hover > img {
    transform: scale(1.035);
}

/* PHOTO CAPTION */

.dw-photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 22px 20px;
    z-index: 1;

    color: #ffffff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.4px;

    background: linear-gradient(
        to top,
        rgba(13, 35, 20, 0.85),
        transparent
    );

    pointer-events: none;
}

.dw-photo-caption i {
    color: #e6c58b;
    margin-right: 7px;
}

/* ZOOM BUTTON */

.dw-zoom-button {
    position: absolute;
    right: 18px;
    bottom: 17px;
    z-index: 3;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #ffffff;
    color: #267b43;

    font-size: 16px;
    cursor: pointer;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.dw-zoom-button:hover {
    background: #287c43;
    color: #ffffff;
    transform: scale(1.08);
}

/* ==========================================
   THUMBNAILS
========================================== */

.dw-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 14px;
}

.dw-thumb {
    width: 100%;
    height: 125px;
    padding: 0;

    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 12px;

    background: #eaeae5;
    cursor: pointer;

    transition: all 0.3s ease;
}

.dw-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dw-thumb:hover img {
    transform: scale(1.06);
}

.dw-thumb.active {
    border-color: #27854a;
    box-shadow: 0 4px 14px rgba(39, 133, 74, 0.2);
}

/* GALLERY NOTE */

.dw-gallery-note {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 19px;
    padding: 14px 16px;

    border-radius: 10px;
    background: #f0f3eb;

    color: #697468;
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
}

.dw-gallery-note i {
    color: #b39457;
    font-size: 17px;
}

/* ==========================================
   RIGHT CONTENT
========================================== */

.dw-content {
    width: 100%;
    min-width: 0;
}

/* BADGE */

.dw-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 17px;
    border-radius: 50px;

    background: #e8f2e8;
    color: #287643;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.9px;
}

.dw-badge i {
    color: #b18c4b;
    font-size: 14px;
}

/* HEADING */

.dw-title {
    margin: 23px 0 14px;

    color: #183c26;
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(36px, 3.5vw, 49px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -1px;
}

.dw-title span {
    display: block;
    margin-top: 5px;
    color: #36834b;
    font-size: 0.83em;
}

/* DIVIDER */

.dw-divider {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 20px 0;
}

.dw-divider span {
    width: 38px;
    height: 1px;
    background: #c5a66a;
}

.dw-divider i {
    color: #b99556;
    font-size: 12px;
}

/* DESCRIPTION */

.dw-description {
    margin: 0 0 25px;

    color: #73766e;
    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================
   FACILITY CARDS
========================================== */

.dw-facilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.dw-facility {
    min-width: 0;
    min-height: 78px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px;

    border: 1px solid #eae9df;
    border-radius: 13px;

    background: #ffffff;

    box-shadow: 0 4px 15px rgba(32, 60, 39, 0.035);

    transition: all 0.3s ease;
}

.dw-facility:hover {
    transform: translateY(-4px);
    border-color: #b9d6bd;
    box-shadow: 0 9px 20px rgba(32, 60, 39, 0.09);
}

/* FACILITY ICON */

.dw-facility-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #edf5eb;
    color: #287c42;

    font-size: 18px;
    transition: all 0.3s ease;
}

.dw-facility:hover .dw-facility-icon {
    background: #287c42;
    color: #ffffff;
}

/* FACILITY TEXT */

.dw-facility-info {
    min-width: 0;
}

.dw-facility-info h3 {
    margin: 0;

    color: #344437;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.5;
}

.dw-facility-info p {
    margin: 4px 0 0;

    color: #93968c;
    font-size: 10px;
    line-height: 1.4;
}

/* ==========================================
   SERVICES
========================================== */

.dw-services {
    margin-top: 25px;
}

.dw-services h3 {
    margin: 0 0 13px;

    color: #34513a;
    font-family: Georgia, serif;
    font-size: 17px;
}

.dw-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.dw-service-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;

    border: 1px solid #e7e9df;
    border-radius: 50px;

    background: #ffffff;
    color: #687467;

    font-size: 11px;
    font-weight: 600;
}

.dw-service-tags i {
    color: #29864a;
    font-size: 10px;
}

/* ==========================================
   BOOKING AREA
========================================== */

.dw-booking {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 26px;
    padding-top: 21px;

    border-top: 1px solid #e7e5dc;
}

.dw-booking-text {
    min-width: 0;
}

.dw-booking-text small {
    display: block;
    margin-bottom: 7px;

    color: #aa8c54;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.dw-booking-text h3 {
    margin: 0 0 6px;

    color: #287643;
    font-family: Georgia, serif;
    font-size: 23px;
}

.dw-booking-text p {
    margin: 0;
    color: #85877e;
    font-size: 11px;
    line-height: 1.5;
}

/* BOOKING BUTTON */

.dw-booking-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 48px;
    padding: 12px 19px;

    border-radius: 50px;
    border: 1px solid #267d43;

    background: #287f43;
    color: #ffffff;

    font-size: 12px;
    font-weight: 750;
    text-decoration: none;

    transition: all 0.3s ease;
}

.dw-booking-button:hover {
    background: #195e32;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(40, 127, 67, 0.2);
}

.dw-booking-button i:last-child {
    transition: transform 0.3s ease;
}

.dw-booking-button:hover i:last-child {
    transform: translateX(4px);
}

/* ==========================================
   LIGHTBOX POPUP
========================================== */

.dw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 50px 75px;

    background: rgba(0, 0, 0, 0.95);
}

.dw-lightbox.active {
    display: flex;
}

.dw-lightbox > img {
    max-width: 100%;
    max-height: 85vh;

    object-fit: contain;
    border-radius: 8px;

    animation: dwImageZoom 0.3s ease;
}

@keyframes dwImageZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* CLOSE BUTTON */

.dw-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.16);
    color: #ffffff;

    font-size: 22px;
    cursor: pointer;
}

.dw-lightbox-close:hover,
.dw-lightbox-arrow:hover {
    background: #287f43;
}

/* PREVIOUS / NEXT */

.dw-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.16);
    color: #ffffff;

    font-size: 18px;
    cursor: pointer;
}

.dw-lightbox-prev {
    left: 20px;
}

.dw-lightbox-next {
    right: 20px;
}

.dw-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    color: #ffffff;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {

    .sga-destination-wedding {
        padding: 50px 4%;
    }

    .dw-layout {
        gap: 30px;
    }

    .dw-main-photo {
        height: 350px;
    }

    .dw-thumb {
        height: 105px;
    }

    .dw-title {
        font-size: 37px;
    }

    .dw-facility {
        padding: 9px;
        gap: 8px;
    }

    .dw-facility-icon {
        width: 37px;
        height: 37px;
        min-width: 37px;
    }

    .dw-booking {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* ==========================================
   MOBILE / SMALL TABLET
========================================== */

@media (max-width: 768px) {

    .sga-destination-wedding {
        padding: 40px 18px;
    }

    .dw-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .dw-main-photo {
        height: 360px;
    }

    .dw-thumb {
        height: 120px;
    }

    .dw-content {
        padding-top: 0;
    }

    .dw-title {
        font-size: 37px;
    }

    .dw-description {
        font-size: 13px;
    }

    .dw-booking {
        flex-direction: row;
        align-items: center;
    }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .sga-destination-wedding {
        padding: 32px 14px;
    }

    .dw-main-photo {
        height: 275px;
        border-radius: 13px;
    }

    .dw-thumb {
        height: 95px;
    }

    .dw-title {
        font-size: 32px;
    }

    .dw-badge {
        font-size: 9px;
        padding: 9px 12px;
    }

    .dw-description {
        font-size: 12px;
        line-height: 1.85;
    }

    .dw-facilities {
        gap: 9px;
    }

    .dw-facility {
        min-height: 73px;
        padding: 8px;
        gap: 7px;
    }

    .dw-facility-icon {
        width: 33px;
        height: 33px;
        min-width: 33px;
        font-size: 14px;
        border-radius: 9px;
    }

    .dw-facility-info h3 {
        font-size: 10px;
    }

    .dw-facility-info p {
        font-size: 9px;
    }

    .dw-service-tags {
        gap: 7px;
    }

    .dw-service-tags span {
        font-size: 10px;
        padding: 7px 10px;
    }

    .dw-booking {
        flex-direction: column;
        align-items: stretch;
    }

    .dw-booking-text h3 {
        font-size: 21px;
    }

    .dw-booking-button {
        width: 100%;
    }

    .dw-lightbox {
        padding: 45px 12px;
    }

    .dw-lightbox-prev {
        left: 7px;
    }

    .dw-lightbox-next {
        right: 7px;
    }

    .dw-lightbox-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

}

/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .sga-destination-wedding *,
    .dw-lightbox > img {
        animation: none !important;
        transition: none !important;
    }

}
