/* =========================================================
   BASE
========================================================= */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* =========================================================
   PAGE OFFSET FOR FIXED NAVBAR
========================================================= */
/* Offset page content under fixed navbar */
.page-with-navbar {
    padding-top: 120px;
}

/* =========================================================
   NAVBAR – ENTERPRISE (DESKTOP + MOBILE SAFE)
========================================================= */
.lawfirm-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, #5a3f33 0%, #4a342a 100%);
    padding: 18px 0;
    transition: all 0.3s ease;
}

.lawfirm-navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.lawfirm-brand {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1.4px;
    color: #f8fafc;
}

.lawfirm-navbar .nav-link {
    color: #f8fafc;
    margin-left: 28px;
    letter-spacing: 1.3px;
}

.lawfirm-navbar .nav-link:hover,
.lawfirm-navbar .nav-link.active {
    color: #c9a24d;
}

/* =========================================================
   MOBILE NAVBAR (HAMBURGER ONLY)
========================================================= */
@media (max-width: 991px) {
    .lawfirm-navbar {
        padding: calc(16px + env(safe-area-inset-top)) 0 16px;
    }

    .lawfirm-brand {
        font-size: 16px;
    }

    .navbar-collapse {
        display: none !important;
    }

    .mobile-menu-btn {
        background: none;
        border: none;
        font-size: 22px;
        color: #f8fafc;
    }

}

/* =========================================================
   FULLSCREEN MOBILE MENU – ENTERPRISE
========================================================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #5a3f33 0%, #3e2c24 100%);
    z-index: 2000;
    padding: calc(24px + env(safe-area-inset-top)) 24px;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}

.mobile-menu.show {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.mobile-menu-brand {
    font-size: 16px;
    letter-spacing: 1.6px;
    color: #f8fafc;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #f8fafc;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin-bottom: 26px;
}

.mobile-menu-links a {
    font-size: 18px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #f8fafc;
    text-decoration: none;
}

.mobile-menu-links a:hover {
    color: #c9a24d;
}

@media (min-width: 992px) {
    .mobile-menu,
    .mobile-menu-btn {
        display: none;
    }
}

/* ==============================
   MOBILE MENU ACTIVE STATE
============================== */
.mobile-menu-links a.active {
    color: #c9a24d;
    font-weight: 600;
    position: relative;
}

/* Gold indicator (kiri teks) */
.mobile-menu-links a.active::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9a24d;
}

/* =========================================================
   HERO – LAW FIRM
========================================================= */
.hero-lawfirm {
    position: relative;
    background: url('/images/hero-law.jpg') center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-lawfirm::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.15) 100%
    );
}

.hero-lawfirm .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    letter-spacing: 2px;
    line-height: 1.15;
}

.hero-title span {
    display: block;
    font-size: 34px;
    font-weight: 400;
    margin-top: 8px;
}

.hero-tagline {
    font-style: italic;
    margin-top: 24px;
    font-size: 22px;
    opacity: 0.9;
}

.hero-sub {
    margin-top: 48px;
    font-size: 26px;
    line-height: 1.4;
    max-width: 520px;
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 36px;
    }

    .hero-title span {
        font-size: 22px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-sub {
        font-size: 18px;
    }
}

/* =========================================================
   SECTION
========================================================= */
.section {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 40px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 24px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background-color: #c9a24d;
    margin-top: 16px;
}

/* =========================================================
   PARTNERS SECTION
========================================================= */
/* .partners-section {
    background: #b88972;
    padding: 120px 0;
    color: #ffffff;
    overflow-x: hidden;
    min-height: calc(100vh + 1px);

}

.partners-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
}

.partners-img {
    max-height: 480px;
    object-fit: cover;
} */

/* ===============================
   PARTNERS – BASE
================================ */
.partners-section {
    background: #c39a82;
    padding: 100px 0;
}

.partners-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    letter-spacing: 1px;
    color: #ffffff;
}

.partners-img {
    max-width: 100%;
    border-radius: 4px;
}

.partners-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.partners-role {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: 16px;
}

.partners-desc {
    font-size: 15px;
    line-height: 1.8;
    opacity: .95;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 768px) {

    .partners-section {
        padding: 70px 0;
    }

    .partners-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .partners-name {
        font-size: 20px;
        text-align: center;
    }

    .partners-role {
        text-align: center;
    }

    .partners-desc {
        font-size: 14px;
        text-align: left;
        padding: 0 6px;
    }

    .partner-item {
        margin-bottom: 64px;
    }

    .partners-img {
        max-width: 85%;
    }
}


/* =========================================================
   BUTTON
========================================================= */
.btn-law {
    background-color: #4a342a;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    letter-spacing: 1px;
}

.btn-law:hover {
    background-color: #c9a24d;
    color: #0f172a;
}

/* =========================================================
   FOOTER – ENTERPRISE
========================================================= */
.lawfirm-footer-advanced {
    background: linear-gradient(180deg, #5a3f33 0%, #3e2c24 100%);
    color: #f8fafc;
    padding: 80px 0 40px;
    font-size: 14px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li::before {
    content: "— ";
    color: #c9a24d;
}

.footer-divider {
    border-top: 1px solid rgba(201,162,77,0.25);
    margin: 40px 0;
}

/* =========================================================
   BACK TO TOP
========================================================= */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #5a3f33, #3e2c24);
    color: #fff;
    border: 1px solid rgba(201,162,77,0.4);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   ABOUT – LAW FIRM STYLE
========================================================= */

.about-section {
    background-color: #7b5646; /* coklat seperti contoh */
    padding: 140px 0 160px;
    color: #ffffff;
    overflow-x: hidden;
    min-height: calc(100vh + 1px);
}

.about-section .row {
    margin-left: auto;
    margin-right: auto;
}

/* Title */
.about-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 100px;
}

/* Container text */
.about-section p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Number box (01, 02, 03) */
.about-number {
    display: inline-block;
    background-color: #b88972;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 14px;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

/* Column spacing */
.about-section .col-md-4 {
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */
@media (max-width: 768px) {

    .about-section {
        padding: 100px 0 120px;
    }

    .about-section .section-title {
        font-size: 34px;
        margin-bottom: 60px;
        text-align: center;
    }

    .about-section .col-md-4 {
        margin-bottom: 48px;
        text-align: left;
    }

    .about-number {
        margin-bottom: 20px;
    }

    .about-section p {
        font-size: 15px;
    }
}


/* Prevent mobile hero jump */
@media (max-width: 768px) {
    .hero-lawfirm {
        min-height: 100svh; /* SAFE viewport height */
    }
}

@media (max-width: 991px) {
    .lawfirm-navbar {
        height: calc(64px + env(safe-area-inset-top));
    }
}



.lawfirm-footer-advanced .footer-links a {
    color: #ffffff;              /* putih / bisa gold */
    text-decoration: none;       /* hilangkan underline */
    transition: color 0.2s ease;
}

.lawfirm-footer-advanced .footer-links a:hover {
    color: #b89b7a;              /* gold accent */
    text-decoration: none;
}


/* =========================================================
   FIX BACK TO TOP CONTACT PAGE
========================================================= */
.contact-section {
    overflow-x: hidden;
    min-height: calc(100vh + 1px);
}

.practice-section {
    overflow-x: hidden;
    min-height: calc(100vh + 1px);
}
