/* --- CSS RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --primary-dark: #e05e00;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-color: #dddddd;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

/* --- BUTTONS --- */
.primary-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

/* --- HEADER & TOPBAR --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.topbar {
    background-color: #1a1a1a;
    color: #cccccc;
    font-size: 13px;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-content div span,
.topbar-content div a {
    margin-right: 15px;
}

.topbar-content a:hover {
    color: var(--primary-color);
}

.social-links a {
    margin-left: 10px;
    color: #cccccc;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* --- NAVIGATION --- */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 50px;
}

#navigation ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

#navigation a {
    font-weight: 500;
    color: var(--text-color);
}

#navigation a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 0 !important;
    border-radius: 4px;
}

.dropdown-menu li a {
    padding: 8px 20px;
    display: block;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.quote-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.quote-btn:hover {
    background: var(--primary-dark);
}

/* --- HERO BANNER --- */
.hero {
    position: relative;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    background-color: #222;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 0;
}

.welcome {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.welcome span {
    color: var(--primary-color);
    font-weight: 700;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* --- SECTIONS GENERAL --- */
.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.section-heading p {
    color: #666;
    font-size: 15px;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--white);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 15px;
    color: #555;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* --- QUOTE SECTION --- */
.quote-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/quote-bg.webp') center/cover;
    color: var(--white);
    padding: 80px 0;
}

.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote-form h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.quote-form p {
    margin-bottom: 30px;
    color: #ccc;
}

.quote-form textarea,
.quote-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.quote-form textarea::placeholder,
.quote-form input::placeholder {
    color: #aaa;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quote-form textarea {
    grid-column: span 2;
    height: 100px;
    resize: none;
}

.quote-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- PROCESS SECTION --- */
.process {
    background-color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.process-item {
    background: var(--light-bg);
    padding: 40px 20px;
    border-radius: 8px;
    position: relative;
    border: 1px solid var(--border-color);
}

.process-item span {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    line-height: 50px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.process-item h3 {
    font-size: 18px;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 15px;
}

.testimonial-card h4 {
    font-size: 16px;
    color: var(--primary-color);
}

.center {
    text-align: center;
}

/* --- GALLERY --- */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* --- FOOTER --- */
.footer {
    background-color: #111111;
    color: #cccccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer p, .footer ul li {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 13px;
    color: #888;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp:hover {
    transform: scale(1.1);
}

.whatsapp img {
    width: 35px;
    height: 35px;
}

/* --- LIGHTBOX STYLING --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .service-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column,
    .quote-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none; /* Menyembunyikan topbar di layar mobile kecil agar ringkas */
    }

    .menu-toggle {
        display: block;
    }

    #navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* Class tambahan untuk JavaScript toggle menu */
    #navigation.active {
        max-height: 400px;
    }

    #navigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        display: block;
    }

    .quote-btn {
        display: none;
    }

    .service-grid,
    .testimonial-grid,
    .footer-grid,
    .process-grid,
    .gallery-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}