/* =====================================
   VARIABEL CSS & PENGATURAN GLOBAL
===================================== */
:root {
    /* Warna Utama */
    --color-primary: #007bff;
    --color-secondary: #6c757d;
    --color-light-gray: #F5F5F5;
    --color-neutral-gray: #E5E5E5;
    --color-dark: #111;
    --color-accent-wood: #C69C6D;
    --color-accent-wood-dark: #A4785C;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --card-border-radius: 12px;
    --button-border-radius: 8px;

    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Font Family */
body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* =====================================
   UTILITY CLASSES
===================================== */
.accent-text {
    color: var(--color-accent-wood) !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Colors */
.bg-light-custom {
    background-color: var(--color-light-gray) !important;
}

.bg-neutral-gray {
    background-color: var(--color-neutral-gray) !important;
}

/* =====================================
   NAVIGATION & HEADER
===================================== */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.brand-text {
    color: var(--color-dark);
}

.navbar-nav .nav-link {
    color: var(--color-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-accent-wood) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--color-accent-wood);
    border-radius: 2px;
}

/* =====================================
   HERO SECTION
===================================== */
.hero-section {
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

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

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2rem;
}

.accent-text-gold {
    color: #D4AF37 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Stats */
.hero-stats {
    padding-left: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #D4AF37 !important;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* =====================================
   BUTTONS & CTA
===================================== */
.btn-cta {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: var(--button-border-radius);
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #B8941F, #D4AF37);
}

.cta-button {
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--button-border-radius);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 156, 109, 0.3);
}

.btn-primary {
    background-color: var(--color-accent-wood);
    border-color: var(--color-accent-wood);
    border-radius: var(--button-border-radius);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-accent-wood-dark);
    border-color: var(--color-accent-wood-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--color-accent-wood);
    border-color: var(--color-accent-wood);
    border-radius: var(--button-border-radius);
}

.btn-outline-primary:hover {
    background-color: var(--color-accent-wood);
    border-color: var(--color-accent-wood);
    transform: translateY(-1px);
}

/* =====================================
   CARDS & COMPONENTS
===================================== */
.card {
    border-radius: var(--card-border-radius);
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Portfolio Cards */
.portfolio-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-img-top {
    transform: scale(1.05);
}

.portfolio-card .card-body {
    padding: 1.5rem;
}

/* Service Cards */
.service-card {
    padding: 2rem 1.5rem;
    height: 100%;
}

.service-card:hover {
    background-color: var(--color-light-gray);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon-large {
    font-size: 3rem;
    color: var(--color-accent-wood);
}

/* =====================================
   BENEFITS & FEATURES
===================================== */
.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Problem Solution Cards */
.problem-solution-card {
    background: white;
    padding: 2rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
}

.problem {
    font-size: 1.1rem;
    color: var(--color-dark);
}

.solution {
    font-size: 1rem;
    color: var(--color-secondary);
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent-wood);
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

/* =====================================
   PROCESS TIMELINE
===================================== */
.process-timeline {
    position: relative;
}

.process-step {
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem auto;
    box-shadow: var(--shadow-light);
}

.process-step h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Desktop Timeline Connector */
@media (min-width: 992px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 8.33%;
        right: 8.33%;
        height: 2px;
        background: linear-gradient(to right, var(--color-accent-wood), var(--color-accent-wood-dark));
        z-index: 0;
    }

    .process-number {
        position: relative;
        z-index: 1;
    }
}

/* =====================================
   FAQ SECTION
===================================== */
.accordion-button {
    background-color: var(--color-light-gray);
    border: none;
    font-weight: 600;
    color: var(--color-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-accent-wood);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(196, 156, 109, 0.25);
}

.accordion-item {
    border: 1px solid var(--color-neutral-gray);
    margin-bottom: 1rem;
    border-radius: var(--card-border-radius) !important;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

/* =====================================
   CONTACT PAGE STYLES
===================================== */
.contact-info-card {
    padding: 2rem;
    background: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    margin-bottom: 1rem;
}

.map-container {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.quick-contact-buttons .btn {
    text-align: left;
    padding: 1rem 1.5rem;
}

.quick-contact-buttons .btn small {
    opacity: 0.8;
    font-size: 0.85rem;
}

.business-hours {
    border-left: 4px solid var(--color-accent-wood);
}

.service-area-item {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* =====================================
   FORM STYLES
===================================== */
.form-control,
.form-select {
    border-radius: var(--button-border-radius);
    border: 2px solid var(--color-neutral-gray);
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent-wood);
    box-shadow: 0 0 0 0.25rem rgba(196, 156, 109, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

/* =====================================
   ABOUT PAGE STYLES
===================================== */
.about-content {
    padding-right: 2rem;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark));
    border-radius: 12px;
    z-index: -1;
}

.vision-mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--color-accent-wood);
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-wood);
    font-weight: bold;
}

.value-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-wood);
    box-shadow: var(--shadow-medium);
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.achievement-card {
    padding: 2rem 1rem;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.why-choose-card {
    background: white;
    padding: 2rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(196, 156, 109, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* =====================================
   SERVICES PAGE STYLES
===================================== */
.service-features ul li {
    padding: 0.5rem 0;
}

.service-timeline {
    background: var(--color-light-gray);
    padding: 1rem 1.5rem;
    border-radius: var(--card-border-radius);
    border-left: 4px solid var(--color-accent-wood);
}

.price-display {
    font-size: 1.25rem;
}

/* =====================================
   FOOTER & CTA BACKGROUNDS
===================================== */
.bg-accent-wood {
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark)) !important;
}

.bg-footer {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a) !important;
}

footer {
    margin-top: 0;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

footer a:hover {
    color: #D4AF37 !important;
}

/* =====================================
   BREADCRUMB
===================================== */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: var(--color-accent-wood);
}

.breadcrumb-item.active {
    color: var(--color-accent-wood);
    font-weight: 600;
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        padding-right: 1rem;
    }

    .hero-stats {
        padding-left: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* About page responsive */
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .about-image::before {
        top: -10px;
        left: -10px;
    }

    .vision-mission-card {
        padding: 2rem;
    }

    .achievement-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 100dvh;
        min-height: 600px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
    }

    .portfolio-card .card-img-top {
        height: 200px;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .hero-buttons {
        margin-top: 1.5rem;
    }

    .btn-cta,
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 100dvh;
        min-height: 500px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
    }

    .btn-lg,
    .btn-cta {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* About page mobile */
    .about-image::before {
        display: none;
    }

    .vision-mission-card {
        padding: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .why-choose-card {
        padding: 1.5rem;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .value-card {
        padding: 1.5rem;
    }
}

/* =====================================
   ANIMATION & TRANSITIONS
===================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* Smooth scrolling untuk anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print styles */
@media print {

    .navbar,
    .btn,
    footer {
        display: none !important;
    }

    .container {
        max-width: 100% !important;
    }
}

/* =====================================
   SERVICE PAGE SPECIFIC STYLES
===================================== */
.hero-service-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.hero-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/hero-pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

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

.min-vh-50 {
    min-height: 50vh;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

.hero-stats-card .card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Trust Section */
.trust-section {
    border-bottom: 1px solid #e9ecef;
}

.trust-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.trust-item:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Service Content */
.service-content h2 {
    color: var(--color-dark);
    font-weight: 700;
    border-bottom: 3px solid var(--color-accent-wood);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list .bi-check-circle {
    flex-shrink: 0;
}

/* Sidebar Cards */
.service-sidebar .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-sidebar .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #28a745 !important;
}

.area-card {
    border-left: 4px solid #dc3545 !important;
}

.hours-card {
    border-left: 4px solid #ffc107 !important;
}

.area-item, .hours-list > div {
    transition: all 0.3s ease;
}

.area-item:hover {
    background-color: #e8f5e8 !important;
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(196, 156, 109, 0.3);
    position: relative;
    z-index: 2;
}

.process-step {
    position: relative;
}

/* Desktop Process Timeline Connector */
@media (min-width: 768px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: linear-gradient(to right, var(--color-accent-wood), var(--color-accent-wood-dark));
        z-index: 1;
    }
}

/* FAQ Section */
.faq-section .accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: #f8f9fa;
    border: none;
    font-weight: 600;
    color: var(--color-dark);
    padding: 1.25rem 1.5rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--color-accent-wood);
    color: white;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(196, 156, 109, 0.25);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    background-color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffc107 !important;
}

/* Contact Buttons */
.contact-buttons .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-service-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-section .display-5 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-service-section {
        padding: 3rem 0;
    }
    
    .hero-service-section .lead {
        font-size: 1rem;
    }
    
    .service-sidebar .card {
        margin-bottom: 1.5rem;
    }
    
    .trust-section {
        padding: 2rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* =====================================
   ADDITIONAL UTILITY CLASSES
===================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-wood), var(--color-accent-wood-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* WhatsApp Button Animation */
.btn-success {
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-success:hover::before {
    width: 300px;
    height: 300px;
}

/* Section Spacing */
.section-spacing {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 3rem 0;
    }
}

/* Loading Animation */
.loading-dots::after {
    content: '';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* =====================================
   FLOATING ACTION BUTTONS (WA & SHARE)
===================================== */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1055;
    /* above navbar & notifications */
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    background: #fff;
    color: #222;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.fab-btn svg {
    width: 26px;
    height: 26px;
}

.fab-wa {
    background-color: #25D366;
    color: #fff;
}

.fab-share {
    background-color: var(--color-accent-wood);
    color: #fff;
}

@media (max-width: 576px) {
    .floating-actions {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .fab-btn {
        width: 52px;
        height: 52px;
    }
}

/* ==== PERF BOOST: viewport, CLS, lazy rendering ==== */

.hero-section {
    min-height: 100dvh;
    height: auto;
}

.section-lazy {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

img {
    height: auto;
}

.portfolio-card .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .card:hover {
        box-shadow: var(--shadow-light);
        transform: none;
    }
}

/* ==== TOAST NOTIFICATION STYLES ==== */
.toast-notification {
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 576px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

/* ==== CUSTOM COLOR THEME - BROWN TONES ==== */
  :root {
    --primary-color: #c69c6d;
    --primary-dark: #a67c4d;
    --primary-light: #d4b491;
    --primary-bg: rgba(198, 156, 109, 0.1);
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  .bg-primary {
    background-color: var(--primary-color) !important;
  }

  .text-primary {
    color: var(--primary-color) !important;
  }

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

  .btn-primary:hover,
  .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
  }

  .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
  }

  .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
  }

  .border-primary {
    border-color: var(--primary-color) !important;
  }

  .bg-primary.bg-opacity-10 {
    background-color: var(--primary-bg) !important;
  }

  .badge.bg-primary {
    background-color: var(--primary-color) !important;
  }

  .accordion-button:focus {
    border-color: var(--primary-light);
  }

  .badge.text-primary,
  .text-primary {
    color: var(--primary-color) !important;
  }

  .alert-primary {
    background-color: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary-dark);
  }

  .bg-brown {
    background-color: var(--primary-color) !important;
  }

  .text-brown {
    color: var(--primary-color) !important;
  }

  .border-brown {
    border-color: var(--primary-color) !important;
  }

  .btn-brown {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
  }

  .btn-brown:hover,
  .btn-brown:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
  }

  .process-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
  }

  .icon-bg-brown {
    background-color: var(--primary-bg);
    color: var(--primary-color);
  }

  .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    font-size: 1.2em;
  }

  .badge.rounded-pill {
    letter-spacing: 0.5px;
    font-weight: 600;
  }

  .card {
    transition: all 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
  }

  @media (min-width: 992px) {
    .sticky-top {
      position: sticky !important;
      z-index: 1020;
    }
  }

  .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #212529;
  }

  .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
  }

  .bg-gradient-to-r {
    background: linear-gradient(135deg, #c69c6d 0%, #a67c4d 100%);
  }

  .list-unstyled li {
    line-height: 1.8;
  }

  .process-card {
    margin-top: 25px;
  }

  .shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
  }

  .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
  }

  @media (max-width: 768px) {
    .display-5 {
      font-size: 2rem;
    }

    .display-6 {
      font-size: 1.75rem;
    }
  }

  .bi {
    vertical-align: middle;
  }

  .btn {
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  }

  .border-start {
    border-left-width: 4px !important;
  }

  html {
    scroll-behavior: smooth;
  }

  .alert {
    border-radius: 8px;
  }

  .card-body {
    padding: 1.5rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 700;
    line-height: 1.3;
  }

  a {
    text-decoration: none;
    transition: all 0.2s ease;
  }

  a:hover {
    opacity: 0.85;
  }

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

  @media print {

    .btn,
    .sticky-top,
    .accordion-button {
      display: none !important;
    }
  }

  /* === portofolio gallery (MiniMasonry) === */
#portofolio .gallery-grid {
    position: relative;          
}

#portofolio .gallery-grid > * {
    position: absolute;          
    margin: 0;                   
}

#portofolio figure,
#portofolio .gallery-video {
    overflow: hidden;
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

#portofolio img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background: #f6f7f9;
}

#portofolio figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .55rem .7rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: .75rem;
    line-height: 1.2;
}

#portofolio .badge-small {
    display: inline-block;
    background: #b48a4a;
    color: #fff;
    padding: .15rem .45rem;
    border-radius: .35rem;
    font-size: .6rem;
    letter-spacing: .5px;
    font-weight: 600;
}

@media (hover:hover) {
    #portofolio figure:hover img,
    #portofolio .gallery-video:hover img {
        filter: brightness(.92) saturate(1.05);
        transition: .25s;
    }
}

/* =====================================
   ARTICLE CONTENT 
===================================== */

.article-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
}

/* Desktop */
@media (min-width: 1024px) {
  .article-content {
    font-size: 17px;
    line-height: 1.75;
  }
}

/* ===== HEADINGS ===== */

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ===== PARAGRAPH ===== */

.article-content p {
  margin-bottom: 1.1em;
}

.article-content p + p {
  margin-top: 0;
}

/* ===== LIST ===== */

.article-content ul,
.article-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.article-content li {
  margin-bottom: 0.4em;
  line-height: 1.65;
}

/* ===== LINKS ===== */

.article-content a {
  color: var(--color-accent-wood);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--color-accent-wood-dark);
}

/* ===== IMAGES ===== */

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.75rem auto;
  border-radius: 10px;
}

/* ===== BLOCKQUOTE ===== */

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background-color: var(--color-light-gray);
  border-left: 4px solid var(--color-accent-wood);
  font-style: italic;
}

/* ===== TABLE ===== */

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.article-content th,
.article-content td {
  border: 1px solid var(--color-neutral-gray);
  padding: 0.75rem;
  text-align: left;
}

.article-content th {
  background-color: var(--color-light-gray);
  font-weight: 600;
}

/* ===== RESET INLINE ===== */

.article-content * {
  font-family: inherit !important;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}


/* === Table of Contents === */
.toc {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    background-color: #fafafa;
}

.toc-toggle {
    all: unset;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1rem;
}

.toc-icon {
    margin-left: 8px;
}

#toc-list {
    margin-top: 12px;
}

#toc-list ul {
    padding-left: 18px;
}

#toc-list li {
    margin-bottom: 6px;
}

#toc-list li.toc-h3 {
    margin-left: 16px;
    font-size: 0.95em;
}

#toc-list a {
    text-decoration: none;
    color: inherit;
}

#toc-list a:hover {
    text-decoration: underline;
}
