/*
Theme Name: Lex Mangapul Partners
Theme URI: https://lexmangapul.com
Author: Lex Mangapul & Partners
Author URI: https://lexmangapul.com
Description: Custom theme for Lex Mangapul & Partners Law Firm
Version: 1.0
Text Domain: lexmangapul
Domain Path: /languages
*/
/* ===== HILANGKAN GARIS PUTIH ===== */
body {
    margin: 0 !important;
    padding: 0 !important;
}

.site-header {
    margin: 0 !important;
    top: 0 !important;
}

/* Warna Utama */
:root {
    --emas: #C8A24A;
    --hijau-tua: #122625;
    --coklat: #633e00;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
   
   
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--hijau-tua);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* BARIS 1: Logo + EN ID */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* LOGO */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line1 {
    color: var(--emas);
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-line2 {
    color: var(--emas);
    font-size: 1.1rem;
    font-weight: 500;
}

/* LANGUAGE SWITCHER */
.language-switcher {
    display: flex;
    gap: 8px;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.language-switcher a.active {
    background: var(--emas);
    color: var(--hijau-tua);
}



/* MENU */
.main-navigation {
    flex: 1;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-menu li a:hover {
    color: var(--emas);
}

/* TOGGLE BUTTON */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 24px;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 4px;
}

/* ===== MAIN CONTENT ===== */
.site-main {
    margin-top: 120px;
}

/* ===== SLIDER FULL PAGE ===== */
.home-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 38, 37, 0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.slide-content .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-content .btn-group a {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    min-width: 160px;
}

.slide-content .btn-group a:first-child {
    background: var(--coklat);
    color: white;
    border: 2px solid var(--coklat);
}

.slide-content .btn-group a:last-child {
    background: #C8A24A;
    color: white;
    border: 2px solid #C8A24A;
}

/* SLIDER DOTS */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
}

.slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--emas);
    transform: scale(1.2);
}


/* ===== WELCOME SECTION ===== */
.welcome-section {
    padding: 4rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-section h2 {
    color: var(--hijau-tua);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.welcome-section p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-item {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.grid-item i {
    font-size: 3rem;
    color: var(--coklat);
    margin-bottom: 1rem;
}

.grid-item h3 {
    color: var(--hijau-tua);
    margin-bottom: 1rem;
}

/* ===== PRACTICE AREAS ===== */
.practice-areas {
    background: var(--hijau-tua);
    padding: 4rem 20px;
}

.practice-areas h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.practice-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.practice-item i {
    font-size: 2.5rem;
    color: var(--coklat);
    margin-bottom: 1rem;
}

.practice-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.practice-item p {
    color: #ccc;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    padding: 4rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-choose-us h2 {
    color: var(--hijau-tua);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: var(--coklat);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--coklat), #7a4d00);
    padding: 4rem 20px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--hijau-tua);
    color: #fff;
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo-line1 {
    color: var(--emas);
    font-size: 2rem;
    font-weight: 700;
}

.footer-logo-line2 {
    color: var(--emas);
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-description {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    color: var(--emas);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--emas);
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
    gap: 12px;
}

.contact-item i {
    color: var(--emas);
    font-size: 1.1rem;
    width: 20px;
}

.contact-item p,
.contact-item a {
    color: #ccc;
    text-decoration: none;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-menu li a:hover {
    color: var(--emas);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--emas);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #888;
}

.footer-bottom strong {
    color: var(--emas);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* HEADER MOBILE */
    .header-container {
        padding: 0 15px;
    }
    
    .header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 8px;
    }
    .home-slider {
        height: 90vh;
    }
    .logo-image {
        height: 40px;
    }
    
    .logo-line1 {
        font-size: 1.1rem;
    }
    
    .logo-line2 {
        font-size: 0.9rem;
    }
    
    .language-switcher a {
        padding: 4px 8px;
        font-size: 0.85rem;
    }
    
    .header-nav-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .menu-toggle {
        display: block !important;
        order: 1;
        margin: 0 0 8px 0;
        align-self: flex-start;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        order: 2;
    }
    
    .main-navigation.active {
        display: block !important;
    }
    
    .main-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-menu li a {
        display: block;
        padding: 12px 15px;
    }
    
    .site-main {
        margin-top: 100px;
    }
    /* SLIDER MOBILE */
    
    .home-slider {
        height: 90vh;
    }
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .slide-content .btn-group a {
        width: 70%;
        min-width: auto;
        display: block;
    margin: 0 auto;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
    
    /* GRID */
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
    }
    
    .logo-line1 {
        font-size: 1rem;
    }
    
    .logo-line2 {
        font-size: 0.8rem;
    }
    
    .home-slider {
        height: 80vh;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.7rem;
    }
    
    .slider-dots {
        bottom: 35px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* ===== PERBAIKAN MENU DESKTOP ===== */
@media (min-width: 769px) {
    
    .main-navigation {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 1;
    }
    
    .main-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 35px;
        margin: 0;
        padding: 0;
    }
    
    .menu-toggle {
        display: none !important;
    }
}