/* ============================================
    GALLERY PAGE - Premium Grid with Popup
============================================= */
.gallery-page {
    padding: 50px 0;
    background: #ffff;
    position: relative;
}

.gallery-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B, #ff8a5c, #F59E0B);
}

/* ---- Header ---- */
.gallery-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.gallery-tag {
    display: inline-block;
    font-size: 13px;
    color: #F59E0B;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(255, 107, 53, 0.08);
    padding: 5px 20px;
    border-radius: 30px;
}

.gallery-title {
    font-size: 44px;
    font-weight: 700;
    color: #0a1a2b;
    margin-bottom: 4px;
}

.gallery-title span {
    color: #F59E0B;
    position: relative;
}

.gallery-subtitle {
    font-size: 20px;
    color: #5a6a7e;
    font-weight: 500;
    margin-bottom: 12px;
}

.gallery-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B, #ff8a5c);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.gallery-description {
    font-size: 15px;
    color: #5a6a7e;
    line-height: 1.8;
    margin-bottom: 12px;
}

.gallery-description--highlight {
    color: #0a1a2b;
    font-weight: 500;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #F59E0B;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

/* ---- Gallery Grid - All Same Size ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align:justify;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #eef1f5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 26, 43, 0.55);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay i {
    color: #ffffff;
    font-size: 32px;
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover .gallery-item__overlay i {
    transform: scale(1) rotate(0deg);
}

/* ---- Lightbox Popup ---- */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: lightboxFade 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
}

@keyframes lightboxFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.gallery-lightbox__content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
}

.gallery-lightbox__content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

/* ---- Close Button ---- */
.gallery-lightbox__close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 10;
}

.gallery-lightbox__close:hover {
    background: #F59E0B;
    transform: rotate(90deg);
}

/* ---- Navigation Arrows ---- */
.gallery-lightbox__prev,
.gallery-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 10;
}

.gallery-lightbox__prev {
    left: 30px;
}

.gallery-lightbox__next {
    right: 30px;
}

.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
    background: #F59E0B;
    transform: translateY(-50%) scale(1.05);
}

/* ---- Counter ---- */
.gallery-lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 18px;
    border-radius: 30px;
    z-index: 10;
}

/* ============================================
    RESPONSIVE
============================================= */
@media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 992px) {
    .gallery-page { padding: 80px 0; }
    .gallery-title { font-size: 36px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .gallery-lightbox__content { max-width: 90%; }
}

@media (max-width: 768px) {
    .gallery-page { padding: 60px 0; }
    .gallery-title { font-size: 28px; }
    .gallery-subtitle { font-size: 17px; }
    .gallery-description { font-size: 14px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item__overlay i { font-size: 24px; }
    .gallery-lightbox__content { max-width: 92%; max-height: 70%; }
    .gallery-lightbox__close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 20px; }
    .gallery-lightbox__prev { left: 15px; width: 40px; height: 40px; font-size: 18px; }
    .gallery-lightbox__next { right: 15px; width: 40px; height: 40px; font-size: 18px; }
}

@media (max-width: 576px) {
    .gallery-page { padding: 40px 0; }
    .gallery-title { font-size: 22px; }
    .gallery-subtitle { font-size: 15px; }
    .gallery-tag { font-size: 11px; padding: 4px 16px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gallery-item { border-radius: 10px; }
    .gallery-item__overlay i { font-size: 18px; }
    .gallery-description--highlight { padding: 12px 14px; font-size: 13px; }
    .gallery-lightbox__content { max-width: 95%; max-height: 60%; }
    .gallery-lightbox__close { top: 15px; right: 15px; width: 34px; height: 34px; font-size: 16px; }
    .gallery-lightbox__prev { left: 10px; width: 34px; height: 34px; font-size: 14px; }
    .gallery-lightbox__next { right: 10px; width: 34px; height: 34px; font-size: 14px; }
    .gallery-lightbox__counter { font-size: 11px; padding: 4px 14px; bottom: 20px; }
}

    /* Design 1 - Gradient Accordion */
.faq-section--gradient {
    padding: 50px 0;
    background: #ffff;
    position: relative;
}

.faq-section--gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B, #ff8a5c, #F59E0B);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-tag {
    display: inline-block;
    font-size: 13px;
    color: #F59E0B;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    color: #0a1a2b;
    margin-bottom: 8px;
}

.faq-title span {
    color: #F59E0B;
}

.faq-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 3px;
}

.faq-text {
    font-size: 16px;
    color: #6b7a8f;
}

.faq-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B, #ff8a5c);
    margin: 12px auto 0;
    border-radius: 3px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef1f5;
    transition: all 0.4s;
}

.faq-item:hover {
    border-color: #F59E0B;
}

.faq-item--highlight {
    border-color: #F59E0B;
    background: linear-gradient(135deg, #fff8f5, #ffffff);
}

.faq-item__header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.faq-item__header:hover {
    background: rgba(255, 107, 53, 0.03);
}

.faq-item__number {
    font-size: 13px;
    font-weight: 800;
    color: #F59E0B;
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 12px;
    border-radius: 6px;
    min-width: 36px;
    text-align: center;
    flex-shrink: 0;
}

.faq-item--highlight .faq-item__number {
    background: rgba(255, 107, 53, 0.15);
}

.faq-item__question {
    font-size: 16px;
    font-weight: 600;
    color: #0a1a2b;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-item__toggle {
    width: 32px;
    height: 32px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s;
    color: #F59E0B;
    font-size: 14px;
}

.faq-item.active .faq-item__toggle {
    background: #F59E0B;
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.active .faq-item__body {
    max-height: 500px;
}

.faq-item__answer {
    padding: 0 24px 22px 24px;
    font-size: 15px;
    color: #5a6a7e;
    line-height: 1.8;
    cursor:pointer;
    text-align:justify;
    margin: 0;
}

@media (max-width: 992px) {
    .faq-section--gradient { padding: 80px 0; }
    .faq-title { font-size: 34px; }
    .faq-item__header { padding: 18px 20px; }
    .faq-item__question { font-size: 15px; }
}

@media (max-width: 768px) {
    .faq-section--gradient { padding: 60px 0; }
    .faq-title { font-size: 28px; }
    .faq-text { font-size: 15px; }
    .faq-item__header { padding: 16px 16px; gap: 12px; }
    .faq-item__question { font-size: 14px; }
    .faq-item__answer { font-size: 14px; padding: 0 16px 18px 16px; }
    .faq-item__number { font-size: 11px; min-width: 30px; padding: 2px 8px; }
}

@media (max-width: 576px) {
    .faq-section--gradient { padding: 40px 0; }
    .faq-title { font-size: 22px; }
    .faq-text { font-size: 14px; }
    .faq-tag { font-size: 12px; }
    .faq-item__header { padding: 14px 14px; gap: 10px;}

    .faq-item__question { font-size: 13px; flex: 1 1 100%; order: 2; }
    .faq-item__number { order: 1; }
    .faq-item__toggle { order: 3; width: 28px; height: 28px; font-size: 12px; }
    .faq-item__answer { font-size: 13px; padding: 0 14px 16px 14px; }
}


    /* ============================================
    SSM TRAVELS GALLERY SECTION - WHITE BG
============================================= */
.ssm-gallery-section {
    padding: 50px 0px;
    background: #ffffff;
    position: relative;
}

/* ---- Header ---- */
.gallery-header {
    text-align: center;
    margin-bottom: 35px;
}

.gallery-title {
    font-size: 42px;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 6px;
}

.gallery-title span {
    color: #F59E0B;
    position: relative;
}


.gallery-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #0B5ED7;
    margin-bottom: 12px;
}

.gallery-divider {
    width: 60px;
    height: 3px;
    background: #F59E0B;
    margin: 0 auto;
    border-radius: 3px;
}

/* ---- Main Description ---- */
.gallery-description {
    max-width: 880px;
    margin: 0 auto 28px;
    padding: 0 20px;
}

.gallery-description__text {
    font-size: 16px;
    color: #1a2a3b;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* ---- Collection List ---- */
.gallery-collection {
    max-width: 880px;
    margin: 0 auto 28px;
    padding: 20px 30px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #F59E0B;
}

.gallery-collection__text {
    font-size: 16px;
    color: #0A2540;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
    text-align: justify;
}

.gallery-collection__text::before {
    content: '◆ ';
    color: #F59E0B;
    font-weight: 700;
}

/* ---- Explore Section ---- */
.gallery-explore {
    max-width: 880px;
    margin: 0 auto 35px;
    padding: 25px 30px;
    background: #0A2540;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12);
}

.gallery-explore__text {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
    flex: 1;
    text-align: justify;
}

.gallery-explore__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #F59E0B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-explore__icon i {
    font-size: 26px;
    color: #ffffff;
}

/* ---- Stats ---- */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 2px solid #eef1f5;
}

.gallery-stat {
    text-align: center;
}

.gallery-stat__number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1.2;
}

.gallery-stat__label {
    font-size: 14px;
    color: #6b7a8f;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
    RESPONSIVE
============================================= */
@media (max-width: 992px) {
    .ssm-gallery-section { padding: 60px 0 80px; }
    .gallery-title { font-size: 36px; }
    .gallery-subtitle { font-size: 18px; }
    .gallery-description__text { font-size: 15px; }
    .gallery-collection__text { font-size: 15px; }
    .gallery-explore__text { font-size: 15px; }
    .gallery-stats { gap: 30px; }
    .gallery-stat__number { font-size: 28px; }
}

@media (max-width: 768px) {
    .ssm-gallery-section { padding: 50px 0 60px; }
    .gallery-title { font-size: 30px; }
    .gallery-subtitle { font-size: 16px; }
    .gallery-description__text { font-size: 14px; }
    .gallery-collection { padding: 16px 20px; }
    .gallery-collection__text { font-size: 14px; }
    .gallery-explore {
        flex-direction: column;
        text-align: center;
        padding: 20px 24px;
    }
    .gallery-explore__text { font-size: 14px; text-align: center; }
    .gallery-explore__icon { width: 48px; height: 48px; }
    .gallery-explore__icon i { font-size: 22px; }
    .gallery-stats { gap: 20px; }
    .gallery-stat__number { font-size: 24px; }
    .gallery-stat__label { font-size: 12px; }
}

@media (max-width: 576px) {
    .ssm-gallery-section { padding: 40px 0 50px; }
    .gallery-title { font-size: 24px; }
    .gallery-subtitle { font-size: 14px; }
    .gallery-description { padding: 0 10px; }
    .gallery-description__text { font-size: 13px; }
    .gallery-collection { padding: 14px 16px; }
    .gallery-collection__text { font-size: 13px; }
    .gallery-explore { padding: 16px 18px; }
    .gallery-explore__text { font-size: 13px; }
    .gallery-explore__icon { width: 40px; height: 40px; }
    .gallery-explore__icon i { font-size: 18px; }
    .gallery-stats { gap: 14px; }
    .gallery-stat__number { font-size: 20px; }
    .gallery-stat__label { font-size: 10px; }
}

@media (max-width: 400px) {
    .gallery-title { font-size: 20px; }
    .gallery-subtitle { font-size: 12px; }
    .gallery-description__text { font-size: 12px; }
    .gallery-collection__text { font-size: 12px; }
    .gallery-explore__text { font-size: 12px; }
    .gallery-stats { gap: 10px; }
    .gallery-stat__number { font-size: 18px; }
}


    /* ============================================
    GALLERY HEADING - SSM TRAVELS PHOTOS
============================================= */
.gallery-heading {
    padding: 0px 0 40px;
    text-align: center;
}

.gallery-heading__title {
    font-size: 42px;
    font-weight: 700;
    color: #ffff;
    margin-bottom: 4px;
}

.gallery-heading__title span {
    color: #F59E0B;
}

.gallery-heading__title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 3px;
}

.gallery-heading__subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #0B5ED7;
    margin-bottom: 14px;
}

.gallery-heading__divider {
    width: 60px;
    height: 3px;
    background: #F59E0B;
    margin: 0 auto 20px;
    border-radius: 3px;
}

.gallery-heading__text {
    font-size: 16px;
    color: #1a2a3b;
    line-height: 1.8;
    max-width: 880px;
    margin: 0 auto 16px;
    text-align: justify;
    padding: 0 20px;
}

.gallery-heading__collection {
    font-size: 16px;
    color: #0A2540;
    line-height: 1.8;
    max-width: 880px;
    margin: 0 auto 16px;
    text-align: justify;
    padding: 16px 24px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #F59E0B;
    font-weight: 500;
}

.gallery-heading__collection::before {
    content: '◆ ';
    color: #F59E0B;
    font-weight: 700;
}

.gallery-heading__explore {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
    max-width: 880px;
    margin: 0 auto;
    text-align: justify;
    padding: 20px 28px;
    background: #0A2540;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12);
}

.gallery-heading__explore::before {
    content: '✦ ';
    color: #F59E0B;
    font-weight: 700;
}

/* ============================================
    RESPONSIVE
============================================= */
@media (max-width: 992px) {
    .gallery-heading { padding: 50px 0 30px; }
    .gallery-heading__title { font-size: 36px; }
    .gallery-heading__subtitle { font-size: 18px; }
    .gallery-heading__text { font-size: 15px; }
    .gallery-heading__collection { font-size: 15px; padding: 14px 20px; }
    .gallery-heading__explore { font-size: 15px; padding: 18px 24px; }
}

@media (max-width: 768px) {
    .gallery-heading { padding: 40px 0 25px; }
    .gallery-heading__title { font-size: 30px; }
    .gallery-heading__subtitle { font-size: 16px; }
    .gallery-heading__text { font-size: 14px; padding: 0 10px; }
    .gallery-heading__collection { font-size: 14px; padding: 12px 16px; }
    .gallery-heading__explore { font-size: 14px; padding: 16px 20px; }
}

@media (max-width: 576px) {
    .gallery-heading { padding: 30px 0 20px; }
    .gallery-heading__title { font-size: 24px; }
    .gallery-heading__subtitle { font-size: 14px; }
    .gallery-heading__text { font-size: 13px; }
    .gallery-heading__collection { font-size: 13px; padding: 10px 14px; }
    .gallery-heading__explore { font-size: 13px; padding: 14px 16px; }
}

@media (max-width: 400px) {
    .gallery-heading__title { font-size: 20px; }
    .gallery-heading__subtitle { font-size: 12px; }
    .gallery-heading__text { font-size: 12px; }
    .gallery-heading__collection { font-size: 12px; }
    .gallery-heading__explore { font-size: 12px; }
}
