/* =========================================
   SHOEZEN - SERVICES PAGE
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #2b211c;
    color: #f5f0e8;
    font-family: Arial, sans-serif;
}


/* =========================================
   SHOEZEN HEADER
========================================= */

.services-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    background: #2b211c;

    border-bottom: 1px solid rgba(184, 149, 91, 0.25);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* LOGO */

.services-logo {
    height: 100%;

    display: flex;
    align-items: center;

    text-decoration: none;
}

.services-logo img {
    display: block;

    width: auto;
    height: 56px;

    object-fit: contain;
}


/* HEADER ACTIONS */

.services-header-actions {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;

    gap: 14px;
}


/* TANYAKAN KEPADA AHLI */

.services-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 38px;

    padding: 0 18px;

    border: 1px solid #b8955b;

    background: transparent;

    color: #f5f0e8;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    white-space: nowrap;

    cursor: pointer;

    transition: all .3s ease;
}

.services-whatsapp:hover {
    background: #b8955b;

    border-color: #b8955b;

    color: #2b211c;
}


/* KEMBALI KE BERANDA */

.services-back {
    display: inline-flex;
    align-items: center;

    height: 38px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #f5f0e8;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.4px;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;

    transition: color .3s ease;
}

.services-back:hover {
    color: #b8955b;
}


/* LANGUAGE - DI BAWAH KEMBALI KE BERANDA */

.language-switch {
    position: absolute;

    right: 0;
    bottom: 8px;

    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 9px;

    letter-spacing: 2px;

    white-space: nowrap;
}

.language-switch a {
    color: rgba(245, 240, 232, 0.5);

    text-decoration: none;

    transition: color .3s ease;
}

.language-switch a:hover,
.language-switch a.active {
    color: #b8955b;
}

.language-switch span {
    color: rgba(245, 240, 232, 0.25);
}

/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    min-height: calc(100vh - 80px);

    padding: 120px 6% 140px;

    background: #2b211c;
}

.services-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================
   HEADING
========================================= */

.services-heading {
    max-width: 800px;

    margin: 0 auto 75px;

    text-align: center;
}

.services-label {
    display: block;

    margin-bottom: 18px;

    color: #b8955b;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.services-heading h1 {
    margin: 0 0 20px;

    color: #f5f0e8;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 64px);

    font-weight: 400;

    line-height: 1.08;
}

.services-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: rgba(245, 240, 232, 0.68);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   SERVICES LIST
========================================= */

.services-list {
    width: 100%;

    border-top: 1px solid rgba(184, 149, 91, 0.45);
}


/* =========================================
   SERVICE ITEM
========================================= */

.service-item {
    border-bottom: 1px solid rgba(184, 149, 91, 0.45);
}


/* =========================================
   SERVICE TRIGGER
========================================= */

.service-trigger {
    width: 100%;

    display: grid;

    grid-template-columns: 80px 1fr 60px;

    align-items: center;

    padding: 28px 5px;

    border: 0;

    background: transparent;

    color: #f5f0e8;

    text-align: left;

    cursor: pointer;

    font-family: inherit;

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}

.service-trigger:hover {
    padding-left: 15px;
    padding-right: 15px;

    background: rgba(184, 149, 91, 0.045);
}


/* Number */

.service-number {
    color: #b8955b;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;
}


/* Name */

.service-name {
    color: #f5f0e8;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(23px, 2.5vw, 32px);

    font-weight: 400;

    line-height: 1.2;
}


/* Plus */

.service-toggle {
    justify-self: end;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(184, 149, 91, 0.6);

    color: #b8955b;

    font-size: 20px;
    font-weight: 300;

    line-height: 1;

    transition:
        transform 0.35s ease,
        background 0.3s ease,
        color 0.3s ease;
}


/* Active plus */

.service-item.active .service-toggle {
    transform: rotate(45deg);

    background: #b8955b;

    color: #2b211c;
}


/* =========================================
   SERVICE CONTENT
========================================= */

.service-content {
    max-height: 0;
    overflow: hidden;

    transition:
        max-height 0.45s ease;
}

.service-item.active .service-content {
    max-height: 1000px;
}


/* Inner content wrapper effect */

.service-description,
.service-subitems {
    overflow: hidden;
}


/* Description */

.service-description {
    max-width: 760px;

    padding: 0 80px 0;

    color: rgba(245, 240, 232, 0.72);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    line-height: 1.8;

    opacity: 0;

    transition:
        opacity 0.35s ease,
        padding 0.45s ease;
}

.service-item.active .service-description {
    padding-bottom: 30px;

    opacity: 1;
}


/* =========================================
   SUB SERVICES
========================================= */

.service-subitems {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    padding: 0 80px 0;

    opacity: 0;

    transition:
        opacity 0.35s ease,
        padding 0.45s ease;
}

.service-item.active .service-subitems {
    padding-bottom: 35px;

    opacity: 1;
}

.service-subitem {
    padding: 25px;

    border: 1px solid rgba(184, 149, 91, 0.28);

    background: rgba(245, 240, 232, 0.035);
}

.service-subitem h3 {
    margin: 0 0 12px;

    color: #b8955b;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.service-subitem p {
    margin: 0;

    color: rgba(245, 240, 232, 0.68);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .services-header {
        padding: 22px 20px;
    }

    .services-logo {
        font-size: 18px;
    }


    .services-section {
        padding: 80px 20px 100px;
    }


    .services-heading {
        margin-bottom: 50px;
    }

    .services-label {
        margin-bottom: 14px;

        font-size: 9px;

        letter-spacing: 3px;
    }

    .services-heading h1 {
        font-size: 38px;

        line-height: 1.1;
    }

    .services-heading p {
        font-size: 13px;

        line-height: 1.7;
    }


    /* Trigger */

    .service-trigger {
        grid-template-columns: 42px 1fr 45px;

        padding: 24px 0;
    }

    .service-trigger:hover {
        padding-left: 0;
        padding-right: 0;

        background: transparent;
    }


    .service-number {
        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .service-name {
        font-size: 22px;

        padding-right: 12px;
    }


    .service-toggle {
        width: 34px;
        height: 34px;

        font-size: 18px;
    }


    /* Content */

    .service-description {
        padding-left: 42px;
        padding-right: 5px;

        font-size: 15px;

        line-height: 1.75;
    }

    .service-item.active .service-description {
        padding-bottom: 25px;
    }


    /* Subitems */

    .service-subitems {
        grid-template-columns: 1fr;

        gap: 12px;

        padding-left: 42px;
        padding-right: 5px;
    }

    .service-item.active .service-subitems {
        padding-bottom: 28px;
    }

    .service-subitem {
        padding: 20px;
    }

    .service-subitem h3 {
        font-size: 10px;
    }

    .service-subitem p {
        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .services-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .services-heading h1 {
        font-size: 34px;
    }

    .service-trigger {
        grid-template-columns: 35px 1fr 40px;
    }

    .service-name {
        font-size: 20px;
    }

    .service-description {
        padding-left: 35px;
    }

    .service-subitems {
        padding-left: 35px;
    }

}

/* =========================================
   HEADER MOBILE OVERRIDES
========================================= */

@media (max-width: 700px) {

    .services-header {
        height: 70px;
        padding: 0 20px;
    }

    .services-logo img {
        height: 25px;
        width: auto;
    }

    .services-header-actions {
        gap: 8px;
    }

    .services-whatsapp {
        height: 32px;
        padding: 0 10px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .services-back {
        height: 32px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .language-switch {
        bottom: 5px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}


/* =========================================
   SMALL MOBILE HEADER
========================================= */

@media (max-width: 420px) {

    .services-header {
        padding: 0 15px;
    }

    .services-logo img {
        height: 25px;
    }

    .services-header-actions {
        gap: 6px;
    }

    .services-whatsapp {
        padding: 0 8px;
        font-size: 7px;
    }

    .services-back {
        font-size: 7px;
    }

    .language-switch {
        font-size: 7px;
    }
}

/* =========================================
   BRANCH WHATSAPP MODAL
========================================= */

.branch-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.branch-modal.active {
    display: flex;
}


.branch-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(20, 15, 12, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.branch-modal-box {
    position: relative;

    width: 100%;
    max-width: 480px;

    padding: 42px 35px;

    background: #e8ddd0;

    color: #2b211c;

    border: 1px solid rgba(184, 149, 91, 0.65);

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);

    z-index: 2;
}


.branch-modal-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(43, 33, 28, 0.25);

    background: transparent;

    color: #2b211c;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition: all .25s ease;
}

.branch-modal-close:hover {
    background: #2b211c;
    color: #ffffff;
}


.branch-modal-label {
    display: block;

    margin-bottom: 12px;

    color: #b8955b;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.branch-modal-box h3 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
    font-weight: 400;

    line-height: 1.15;
}


.branch-modal-description {
    margin: 0 0 25px;

    color: rgba(43, 33, 28, 0.62);

    font-size: 13px;
    line-height: 1.7;
}


.branch-modal-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.branch-modal-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 16px 18px;

    border: 1px solid rgba(43, 33, 28, 0.16);

    background: transparent;

    color: #2b211c;

    text-align: left;

    cursor: pointer;

    transition: all .25s ease;
}


.branch-modal-item:hover {
    background: #2b211c;

    border-color: #2b211c;

    color: #ffffff;

    transform: translateX(4px);
}


.branch-modal-item-name {
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.branch-modal-item-arrow {
    font-size: 18px;
}


/* MOBILE */

@media (max-width: 600px) {

    .branch-modal {
        padding: 15px;
    }

    .branch-modal-box {
        padding: 38px 22px 25px;
    }

    .branch-modal-box h3 {
        font-size: 28px;
    }

    .branch-modal-description {
        font-size: 12px;
    }

    .branch-modal-item {
        padding: 15px;
    }

}