/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
   :root {
    /* Colors */
    --clr-primary: #2D4739; /* Hijau tua alami */
    --clr-secondary: #8B6B3F; /* Coklat bambu */
    --clr-background: #F5F0E6; /* Beige natural */
    --clr-surface: #FFFFFF; /* Putih bersih */
    --clr-text-main: #333333;
    --clr-text-light: #666666;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --section-padding: 80px 0;
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-surface);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--clr-background);
}

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

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--clr-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-surface);
}

.btn-primary:hover {
    background-color: #1f3228;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--clr-secondary);
    color: var(--clr-surface);
}

.btn-secondary:hover {
    background-color: #6a5231;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-surface);
    color: var(--clr-surface);
}

.btn-outline:hover {
    background-color: var(--clr-surface);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.header.scrolled .nav-container {
    height: 64px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--clr-secondary);
}

.logo img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 38px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--clr-text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-secondary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--clr-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(45, 71, 57, 0.9) 0%, rgba(45, 71, 57, 0.6) 100%);
}

.hero-content {
    color: var(--clr-surface);
    max-width: 800px;
}

.hero-content h1 {
    color: var(--clr-surface);
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--clr-primary);
    color: var(--clr-surface);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 4px solid var(--clr-surface);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-secondary);
}

.experience-badge .text {
    font-weight: 600;
    line-height: 1.2;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--clr-surface);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(139, 107, 63, 0.1);
    color: var(--clr-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card .icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--clr-text-light);
}

/* ==========================================================================
   SPECS SECTION
   ========================================================================== */
.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.specs-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.specs-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    color: var(--clr-text-main);
}

.specs-list li svg {
    color: var(--clr-primary);
    flex-shrink: 0;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-card {
    background-color: var(--clr-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
}

.pricing-header {
    background-color: var(--clr-primary);
    color: var(--clr-surface);
    padding: 40px;
}

.pricing-header h3 {
    color: var(--clr-surface);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 8px;
}

.pricing-body {
    padding: 40px;
}

.pricing-body .note {
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 12px;
}

.pricing-body .note-sub {
    font-size: 0.875rem;
    color: var(--clr-text-light);
}

/* ==========================================================================
   CUSTOM ORDER SECTION
   ========================================================================== */
.custom-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.custom-list {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.custom-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.custom-list li svg {
    color: var(--clr-secondary);
}

.custom-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-overlay h4 {
    color: var(--clr-surface);
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--clr-background);
    padding: 40px;
    border-radius: var(--border-radius-md);
    text-align: left;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(139, 107, 63, 0.1);
    line-height: 1;
}

.stars {
    color: #FFB800;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.stars svg {
    fill: #FFB800;
}

.review {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--clr-text-main);
    margin-bottom: 24px;
}

.customer-name {
    font-size: 1rem;
    color: var(--clr-primary);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--clr-surface);
    border-radius: var(--border-radius-sm);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clr-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-question.active svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--clr-text-light);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: var(--clr-surface);
}

.cta-headline {
    color: var(--clr-surface);
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.cta-subheadline {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #1a2a22; /* Darker primary */
    color: var(--clr-surface);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-surface);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--clr-secondary);
}

.brand-col p {
    color: #a0aab2;
    max-width: 400px;
}

.footer-col h4 {
    color: var(--clr-surface);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aab2;
}

.footer-col ul li a:hover {
    color: var(--clr-secondary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0aab2;
}

.contact-list li.address-item {
    align-items: flex-start;
}

.contact-list li.address-item svg {
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-list li svg {
    color: var(--clr-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    color: #a0aab2;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   ANIMATIONS / REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST APPROACH)
   ========================================================================== */

@media (max-width: 992px) {
    .about-container,
    .specs-container,
    .custom-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-wrapper {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--clr-surface);
        flex-direction: column;
        transition: 0.3s;
        box-shadow: var(--shadow-sm);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
        gap: 20px;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-btn {
        display: none; /* Hide button on mobile header to save space */
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-list {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        bottom: 10px;
        left: 10px;
        padding: 16px;
    }
}
