/* ==========================================================================
   SOFFALUX DESIGN SYSTEM & GLOBAL CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --soffalux-primary: #B40000;
    --soffalux-text-dark: #333333;
    --soffalux-neutral-800: #E0E0E0;
    --soffalux-white: #FFFFFF;

    /* Layout Gutters */
    --soffalux-gutter-desktop: 110px;
    --soffalux-gutter-tablet: 40px;
    --soffalux-gutter-mobile: 24px;
    /* Added padding so it does not touch edge on mobile */

    /* Max Container Width */
    --soffalux-max-container: 1500px;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--soffalux-text-dark);
    background-color: var(--Gray-200, #F9FAFB);
    margin: 0;
    padding: 0;
}

.soffalux-section,
.page-container {
    padding-left: var(--soffalux-gutter-desktop);
    padding-right: var(--soffalux-gutter-desktop);
}

.soffalux-container {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.soffalux-header {
    background-color: var(--Gray-200, #F9FAFB);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.soffalux-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    max-width: var(--soffalux-max-container);
    margin: 0 auto;
    padding: 0 var(--soffalux-gutter-desktop);
    box-sizing: border-box;
}

/* Logo Div */
.soffalux-logo {
    display: flex;
    align-items: center;
    width: 35px;
    height: 56px;
    flex-shrink: 0;
}

.soffalux-logo-img {
    width: 35px;
    height: 56px;
    object-fit: contain;
    display: block;
}

/* Nav Menu Div */
.soffalux-navmenu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.soffalux-navmenu-item {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--soffalux-text-dark);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0%;
    transition: color 0.3s ease;
}

.soffalux-navmenu-item:hover {
    color: var(--soffalux-primary);
}

.soffalux-navmenu-item.active {
    font-weight: 600;
    color: var(--soffalux-primary);
}

/* WhatsApp Button Div */
.soffalux-wa-wrapper {
    display: flex;
    align-items: center;
}

.soffalux-wa-btn,
.soffalux-wa-btn:visited,
.soffalux-wa-btn:active,
.soffalux-wa-btn:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    height: 48px;
    gap: 8px;
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 24px;
    border: 1px solid var(--soffalux-primary);
    background: transparent;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--soffalux-primary);
}

.soffalux-wa-btn:hover {
    background-color: rgba(180, 0, 0, 0.05);
    transform: scale(1.05);
}

.soffalux-wa-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.soffalux-wa-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--soffalux-primary);
    letter-spacing: 0%;
}

/* Hamburger Button */
.soffalux-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.soffalux-hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--soffalux-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger active animation */
.soffalux-hamburger.active .soffalux-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.soffalux-hamburger.active .soffalux-hamburger-line:nth-child(2) {
    opacity: 0;
}

.soffalux-hamburger.active .soffalux-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Sidebar */
.soffalux-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.soffalux-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.soffalux-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--soffalux-white);
    z-index: 1001;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
}

.soffalux-sidebar.active {
    right: 0;
}

.soffalux-sidebar-close-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.soffalux-sidebar-close {
    font-size: 28px;
    color: var(--soffalux-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.soffalux-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.soffalux-sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.soffalux-sidebar-logo-img {
    width: 35px;
    height: 56px;
    object-fit: contain;
}

.soffalux-sidebar-navmenu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.soffalux-sidebar-navmenu-item {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--soffalux-text-dark);
    text-decoration: none;
    text-align: left;
    transition: color 0.3s ease;
    padding: 8px 0;
    border-bottom: 1px solid #eeeeee;
}

.soffalux-sidebar-navmenu-item:hover {
    color: var(--soffalux-primary);
}

.soffalux-sidebar-navmenu-item.active {
    font-weight: 600;
    color: var(--soffalux-primary);
}

.soffalux-sidebar-wa-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.soffalux-sidebar-wa-btn,
.soffalux-sidebar-wa-btn:visited,
.soffalux-sidebar-wa-btn:active,
.soffalux-sidebar-wa-btn:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    gap: 8px;
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 24px;
    border: 1px solid var(--soffalux-primary);
    background: transparent;
    text-decoration: none;
    transition: background-color 0.3s ease;
    color: var(--soffalux-primary);
}

.soffalux-sidebar-wa-btn:hover {
    background-color: rgba(180, 0, 0, 0.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.soffalux-footer {
    background-color: var(--Gray-200, #F9FAFB);
    padding-top: 60px;
    padding-bottom: 40px;
}

.soffalux-footer-content {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.soffalux-footer-left {
    width: 30%;
    flex-shrink: 0;
}

.soffalux-footer-logo-img {
    width: 150px;
    height: 256px;
    object-fit: contain;
    opacity: 1;
}

.soffalux-footer-right {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 40px;
    box-sizing: border-box;
}

.soffalux-footer-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    color: var(--soffalux-text-dark);
    margin: 0;
}

.soffalux-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.soffalux-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.soffalux-footer-contact-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.soffalux-footer-contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
}

.soffalux-footer-contact-link {
    text-decoration: none;
    color: var(--soffalux-text-dark);
    display: inline-block;
    transition: color 0.3s ease;
}

.soffalux-footer-contact-link:hover {
    color: var(--soffalux-primary);
}

.soffalux-footer-contact-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.soffalux-footer-contact-text::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--soffalux-primary);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.soffalux-footer-contact-link:hover .soffalux-footer-contact-text::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.soffalux-footer-divider {
    border: none;
    border-top: 1px solid var(--Neutral-800, #606060);
    margin: 24px 0;
    width: 100%;
}

.soffalux-footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--soffalux-text-dark);
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet Layout */
@media (max-width: 991px) {

    .soffalux-section,
    .page-container {
        padding-left: var(--soffalux-gutter-tablet);
        padding-right: var(--soffalux-gutter-tablet);
    }

    .soffalux-nav-container {
        padding: 0 var(--soffalux-gutter-tablet);
    }

    .soffalux-footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .soffalux-footer-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .soffalux-footer-right {
        width: 100%;
        padding-left: 0;
        text-align: left;
        align-items: flex-start;
    }

    .soffalux-footer-contacts {
        align-items: flex-start;
    }

    .soffalux-footer-contact-item {
        justify-content: flex-start;
    }
}

/* Mobile Breakpoint for Navigation & Layout */
@media (max-width: 767px) {

    .soffalux-section,
    .page-container {
        padding-left: var(--soffalux-gutter-mobile);
        padding-right: var(--soffalux-gutter-mobile);
    }

    .soffalux-nav-container {
        padding: 0 var(--soffalux-gutter-mobile);
    }

    /* Hide desktop nav and WhatsApp btn, show hamburger */
    .soffalux-navmenu,
    .soffalux-wa-wrapper {
        display: none;
    }

    .soffalux-hamburger {
        display: flex;
    }

    .soffalux-footer-logo-img {
        width: 80px;
        height: auto;
    }
}

/* ==========================================================================
   GLOBAL REUSABLE COMPONENTS
   ========================================================================== */

/* Section Typography */
.soffalux-section-tag {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: var(--soffalux-primary);
    display: block;
    margin-bottom: 8px;
}

.soffalux-section-tag.center { text-align: center; }

.soffalux-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: var(--soffalux-text-dark);
    margin: 0 0 16px 0;
}

.soffalux-section-title.center { text-align: center; }

.soffalux-section-title.light {
    font-weight: 300;
}

.soffalux-section-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #606060;
    margin: 0;
}

.soffalux-section-desc.center { text-align: center; }
.soffalux-section-desc.muted { color: #777777; }

/* Primary Button (Red) */
.soffalux-btn-primary,
.soffalux-btn-primary:visited,
.soffalux-btn-primary:active,
.soffalux-btn-primary:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 24px;
    background: var(--soffalux-primary);
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.soffalux-btn-primary:hover {
    background-color: #9a0000;
    color: #FFFFFF;
    transform: scale(1.05);
}

.soffalux-btn-primary img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Secondary Button (Outlined/Link style with arrow) */
.soffalux-btn-secondary,
.soffalux-btn-secondary:visited,
.soffalux-btn-secondary:active,
.soffalux-btn-secondary:focus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    border: 1px solid var(--soffalux-primary);
    padding: 8px 20px;
    color: var(--soffalux-primary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.soffalux-btn-secondary:hover {
    background-color: rgba(180, 0, 0, 0.05);
    color: var(--soffalux-primary);
    transform: scale(1.05);
}

.soffalux-btn-secondary img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Check List (used in Keunggulan Kami & Fasilitas Kami) */
.soffalux-check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.soffalux-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.soffalux-check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.soffalux-check-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--soffalux-text-dark);
    margin: 0;
}

/* Home Fasilitas Full-Width Border */
.home-fasilitas-border {
    position: relative;
    overflow: hidden;
}

.home-fasilitas-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 3px 3px;
    opacity: 0.6;
    pointer-events: none;
}

.home-fasilitas-border .page-container {
    position: relative;
    z-index: 1;
}

/* Split Section (50:50 layout used across sections */
.soffalux-split-section {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Only apply border and background to Fasilitas Kami section */
.home-fasilitas .soffalux-split-section {
    max-width: var(--soffalux-max-container);
    margin: 0 auto;
}

.home-fasilitas .soffalux-split-left {
    flex: 0 0 50%;
    width: 50%;
    padding: 80px;
    border-right: 1px solid var(--Gray-400, #EAECF0);
    border: 1px solid var(--Gray-400, #EAECF0);
    background-color: #F2F4F7;
    position: relative;
    overflow: hidden;
}

.home-fasilitas .soffalux-split-right {
    flex: 0 0 50%;
    width: 50%;
    padding: 40px;
    border: 1px solid var(--Gray-400, #EAECF0);
    background-color: #F2F4F7;
    position: relative;
    overflow: hidden;
}

.soffalux-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Full-bleed image (escapes page-container padding) */
.soffalux-fullbleed-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Section Padding */
.soffalux-section-py {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Image 24x24 icon */
.soffalux-icon-sm {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ==========================================================================
   GLOBAL RESPONSIVE FOR REUSABLE COMPONENTS
   ========================================================================== */
@media (max-width: 991px) {
    .soffalux-split-section {
        flex-direction: column;
    }

    .home-fasilitas .soffalux-split-left,
    .home-fasilitas .soffalux-split-right {
        flex: 0 0 100%;
        width: 100%;
        padding: 30px var(--soffalux-gutter-tablet);
    }

    .home-fasilitas .soffalux-split-left {
        border-right: none;
        border-bottom: 1px solid var(--Gray-400, #EAECF0);
    }
}

@media (max-width: 767px) {
    .home-fasilitas .soffalux-split-left,
    .home-fasilitas .soffalux-split-right {
        padding: 24px var(--soffalux-gutter-mobile);
    }
}

@media (max-width: 767px) {
    .soffalux-section-title {
        font-size: 26px;
        line-height: 34px;
    }

    .soffalux-section-desc {
        font-size: 16px;
        line-height: 26px;
    }

}