/* Styling Section About - Tema Orange */
.about {
    padding: 80px 10%;
    background-color: #ffffff; /* Background bersih agar orange lebih menyala */
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    width: 80%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 8px solid #FF8C00; /* Aksen orange di bawah gambar */
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #FF8C00; /* Warna Orange Utama */
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.about-content {
    flex: 1.2;
    min-width: 300px;
}

.sub-title {
    color: #FF8C00; /* Warna Orange */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.main-title {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Section lampiran kerja*/
.gallery-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7); /* Warna gelap transparan */
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.gallery-item:hover .overlay {
    height: 100%;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/*page struktural*/
.team-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 4px solid #FF8C00; /* Warna Oranye PT Bee Pass */
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .card-image img {
    transform: scale(1.1);
}

/* Overlay Sosial Media saat Hover */
.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(255, 140, 0, 0.9);
    padding: 15px 0;
    transition: all 0.4s ease;
}

.team-card:hover .social-links {
    bottom: 0;
}

.social-links a {
    color: white;
    font-size: 18px;
    margin: 0 10px;
}

.card-info {
    padding: 25px 15px;
}

.card-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 700;
}

.card-info span {
    font-size: 14px;
    color: #FF8C00;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Section Utama */
.gallery-section {
    padding: 80px 0;
    /* Warna latar belakang abu-abu terang agar foto lebih kontras */
    background-color: #f4f7f6; 
    border-top: 1px solid #e0e0e0;
}

/* Judul dan Sub-judul */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    color: #333; /* Warna gelap tegas */
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

/* Garis aksen Oranye di bawah judul sesuai tema konstruksi */
.section-title h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #FF8C00; 
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    margin-top: 20px;
    color: #666;
    font-size: 1.1em;
}

/* Styling Item Galeri agar lebih rapi di atas background */
.gallery-item {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Bayangan lembut */
    background: #fff; /* Border putih tipis di sekitar foto */
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Bayangan lebih kuat saat hover */
}

/* Warna Icon di dalam Overlay tetap Oranye agar konsisten */
.text i {
    color: #FF8C00; 
    font-size: 2rem;
    margin-bottom: 10px;
}

.text {
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.text i {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
    color: #FF8C00; /* Warna aksen oranye */
}

/* Mengisi paragraf yang kosong di HTML Anda */
.about-content p {
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2d3436;
}

.feature-item i {
    color: #FF8C00; /* Ikon Ceklis jadi Orange */
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: #FF8C00; /* Tombol Orange */
    color: white;
    text-decoration: none;
    border-radius: 8px; /* Lebih kotak agar terkesan kokoh/konstruksi */
    transition: 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #e67e00; /* Orange lebih gelap saat hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

/* button back */
.back-home-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Atau kanan: 30px */
    background-color: #FF8C00; /* Oranye Safety */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.back-home-float:hover {
    background-color: #333; /* Berubah jadi warna Charcoal saat hover */
    transform: scale(1.05);
    color: white;
}

/* Responsif untuk HP agar tidak terlalu besar */
@media (max-width: 600px) {
    .back-home-float span {
        display: none; /* Hanya tampilkan icon di HP */
    }
    .back-home-float {
        padding: 15px;
        border-radius: 50%;
    }
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .about-features {
        justify-content: center;
    }
    .experience-badge {
        right: 10px;
        bottom: 10px;
    }
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.about-content {
    flex: 1.2;
    min-width: 300px;
}

.sub-title {
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2d3436;
}

.feature-item i {
    color: #27ae60;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: #2d3436;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
    }
    .experience-badge {
        right: 0;
        bottom: 0;
    }
}

/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #f39c12; /* Kuning Safety */
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --white: #ffffff;
}

body {
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
}

/* Navbar */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Menggunakan Linear Gradient sebagai overlay agar teks tetap terbaca jelas */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://dinaspupr.bandaacehkota.go.id/wp-content/uploads/sites/59/2020/07/ng-15320-unsplash-678x381.jpg');
    
    /* Memastikan gambar menutupi seluruh area section */
    background-size: cover;
    
    /* Memastikan gambar tetap di tengah saat layar diubah ukurannya */
    background-position: center;
    
    /* Opsional: Membuat gambar tetap diam saat di-scroll (Efek Parallax) */
    background-attachment: fixed; 

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-container h1 {
    font-size: clamp(2rem, 5vw, 4rem); /* Ukuran teks dinamis sesuai layar */
    margin-bottom: 20px;
}

.hero-container h1 span { color: var(--primary); }

.hero-btns {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main, .btn-outline {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-main { background: var(--primary); color: white; }
.btn-outline { border: 2px solid white; color: white; }

/* Statistik */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 50px 8%;
    background: var(--dark);
    color: white;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-card h3 { font-size: 2.5rem; color: var(--primary); }

/* Layanan */
.services {
    padding: 100px 8%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section-title { font-size: 2.5rem; margin-bottom: 50px; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    background: var(--light);
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }

/* Footer */
footer { background: #111; color: white; padding: 20px 8% 10px; }
.footer-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.bottom-bar { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }

/* --- RESPONSIVE MENU (MOBILE) --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: -100vh;
        left: 0;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.5s;
        padding: 40px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active { top: 70px; }

    /* Sembunyikan toggle secara default (Desktop) */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* Tampilkan hanya pada layar Mobile/Tablet */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Munculkan dalam bentuk flexbox */
    }
    
    .nav-menu {
        display: none; /* Sembunyikan menu utama agar bisa di-toggle */
        /* Tambahkan styling tambahan untuk menu mobile di sini */
    }
}

    /* Animasi Hamburger ke X */
    .is-active .bar:nth-child(2) { opacity: 0; }
    .is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}