/* Reset dan Global Style */
:root {
    --primary-color: #f0b90b; /* Warna aksen kuning/emas */
    --dark-color: #1e1e1e;
    --secondary-dark-color: #2b2b2b;
    --light-color: #ffffff;
    --text-color: #d1d1d1;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--light-color);
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center;}

section {
    padding: 6rem 5%;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 1px solid var(--light-color);
}
.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Header & Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1920x1080/000000/FFFFFF/?text=Bengkel+Las+Anda') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    width: 100%;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--light-color); }
.logo strong { color: var(--primary-color); }

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li { margin: 0 1rem; }
.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary-color); }

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}
.hero-content h1 { margin-bottom: 1rem; }
.hero-content p { font-size: 1.1rem; max-width: 600px; margin-bottom: 2rem; }
.rating-box {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
.rating-box .fa-star { color: var(--primary-color); }

/* Services Section */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--secondary-dark-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}
.service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.service-card p {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--light-color);
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--secondary-dark-color);
}
.features-content h2 { text-align: left; }
.features-content ul { list-style: none; }
.features-content li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.features-content .fa-check-circle {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}
.features-image img {
    width: 100%;
    border-radius: 10px;
}

/* Showcase Section */
.showcase-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x800/000000/FFFFFF/?text=Pagar+Modern') no-repeat center center/cover;
    text-align: center;
    padding: 8rem 5%;
}
.showcase-content h2 { font-size: 2.5rem; }
.showcase-content p { max-width: 600px; margin: 1rem auto 2rem; }

/* Team Section */
.team-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.team-member { text-align: center; }
.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.team-member h3 { color: var(--light-color); }
.team-member p { color: var(--primary-color); }

/* FAQ Section */
.faq-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.faq-image img {
    width: 100%;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
}
.faq-content h2 { text-align: left; }
.faq-item {
    border-bottom: 1px solid #444;
    padding: 1.5rem 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-color);
}
.faq-question .fa-chevron-down { transition: transform 0.3s ease; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.faq-answer p { padding-top: 1rem; }
.faq-item.active .faq-answer { max-height: 100px; /* Adjust if answer is longer */ }
.faq-item.active .fa-chevron-down { transform: rotate(180deg); }


/* Footer */
.footer-section {
    background: var(--secondary-dark-color);
    text-align: center;
}
.footer-content {
    padding-bottom: 4rem;
    border-bottom: 1px solid #444;
}
.footer-content h2 { font-size: 2rem; }
.footer-content p { max-width: 500px; margin: 1rem auto 2rem; }
.contact-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.contact-form input {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #555;
    background: #333;
    color: var(--light-color);
    width: 250px;
}
.footer-bottom {
    padding-top: 3rem;
    text-align: left;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-links h4 {
    color: var(--light-color);
    margin-bottom: 1rem;
}
.footer-links a, .footer-links p {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-links a:hover { color: var(--primary-color); }
.social-media {
    text-align: center;
    margin: 2rem 0;
}
.social-media a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 1rem;
}
.social-media a:hover { color: var(--primary-color); }
.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 992px) {
    .features-section, .faq-section {
        grid-template-columns: 1fr;
    }
    .faq-image { order: -1; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .nav-links { display: none; } /* Sederhana, menu disembunyikan di mobile */
}
 html {
    /* Penambahan ini membuat semua navigasi anchor link menjadi smooth */
    scroll-behavior: smooth;
}