/* ======================================= */
/* FILE: style.css (LENGKAP)      */
/* ======================================= */

/* ======== 1. PENGATURAN DASAR & TEMA "PALET PRIBADI" ======== */
:root {
    --primary-color: #52abc2;   /* Biru sedang (Aksen, tombol, link) */
    --secondary-color: #00384f; /* Biru Tua Pekat (Dominan, logo, judul, footer) */
    --light-bg: #c3d5f0;       /* Abu-abu Sangat Muda (Latar belakang terang) */
    
    --text-color: #333; /* Tetap hitam standar untuk teks paragraf */
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ======== 2. HEADER & NAVIGASI ======== */
.header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    height: var(--navbar-height);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-link {
    font-weight: 400;
    color: var(--secondary-color);
    padding: 10px 5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.dropdown-icon {
    font-size: 0.8em;
    margin-left: 5px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
}

/* ========logo ======== */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-brand img {
  height: 36px;
}

.logo-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* ======== DROPDOWN FINAL FIX ======== */
.dropdown-item {
    position: relative;
}

/* ===== DESKTOP ===== */
@media (min-width: 992px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        border-radius: 6px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: 0.25s ease;
        z-index: 1000;
    }

    .dropdown-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.btn-primary {
    background: linear-gradient(135deg, #3D56B2 0%, #5C7AEA 100%); /* Gradasi baru */
    background-size: 200% auto;
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.4s ease-out;
}

.btn-primary:hover {
    background-position: right center;
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(61, 86, 178, 0.4); /* Menggunakan warna dari palet */
}

/* ... dan untuk .btn-kontak */
.btn-kontak {
    background: linear-gradient(100deg, #3D56B2 0%, #5C7AEA 100%); /* Gradasi baru */
    background-size: 200% auto;
    color: var(--white-color) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.4s ease-out;
    border-bottom: none !important;
    font-weight: 500;
}

.btn-kontak:hover {
    background-position: right center;
    color: var(--white-color) !important;
    box-shadow: 0 4px 15px rgba(61, 86, 178, 0.4); /* Menggunakan warna dari palet */
    transform: translateY(-2px);
}

/* ======== 4. HERO SLIDER (PENGGANTI) ======== */
.hero {
    position: relative; /* Penting untuk menumpuk lapisan */
    height: 60vh; /* Kita pertahankan tinggi yang lama */
    overflow: hidden; /* Sembunyikan bagian slide yang berlebih */
    background: #333; /* Warna fallback jika gambar gagal dimuat */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Di belakang konten */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* Transisi fade in/out yang elegan */
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

/* Slide yang sedang aktif akan terlihat */
.slide.active {
    opacity: 1;
}

/* (Sentuhan Profesional): Overlay gelap di atas gambar 
/* ... (kode .slide.active) ... */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradasi dari Biru Tua Pekat ke Biru Sedang, dengan transparansi */
    background: linear-gradient(135deg, rgba(73, 73, 73, 0.39), rgba(101, 208, 216, 0.6));
}

/* Konten Teks (Tombol, Judul) */
.hero-content {
    position: relative; /* Bisa juga 'absolute' */
    z-index: 2; /* Memastikan teks ada di lapisan paling atas */
    
    /* Style lama dari .hero kita pindahkan ke sini */
    height: 100%; /* 100% dari parent (.hero) */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
}

/* Style tombol di dalam hero */
.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

/* ======== 5. SECTION UMUM & JUDUL ======== */
.featured-services,
.about-short,
.gallery,
.why-us {
    padding: 80px 0;
}

/* * PENYESUAIAN SESUAI PERMINTAAN ANDA *
  * Tagline dibuat di tengah dan agak besar *
*/
.section-tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    
    /* Perubahan di sini: */
    display: block;
    text-align: center;
    font-size: 1.1rem; /* dibuat "agak besar" */
}

/* Judul utama (H2) di setiap section */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
    text-align: center; /* Judul utama selalu di tengah */
}


/* ======== 6. LAYANAN UNGGULAN ======== */
.featured-services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white-color);
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left; /* Konten kartu tetap rata kiri */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 92, 138, 0.1);
}

.service-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.btn-secondary {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

/* ======== 7. TENTANG KAMI SINGKAT ======== */
.about-short {
    background-color: var(--white-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Judul H2 di bagian ini harus rata kiri, mengikuti grid */
.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

/* ======== 7.B. GALERI DI BALIK LAYAR (BARU) ======== */
.bts-gallery {
    padding: 80px 0;
    background-color: var(--light-bg); /* Latar sejuk */
}

/* Grid 3 kolom, berbeda dari galeri kinerja */
.bts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* ======== 8. GALERI KINERJA ======== */
.gallery {
    background-color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 169, 255, 0.6); /* Warna primer "sejuk" transparan */
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    opacity: 0; /* Sembunyi secara default */
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ======== 9. MENGAPA MEMILIH KAMI ======== */
.why-us {
    background-color: var(--light-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.why-us-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.596);
}

.why-us-item .item-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.why-us-item h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.why-us-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}
/* ======== 10.B. STYLE HALAMAN DALAM (TENTANG, DLL) ======== */

/* Hero untuk halaman selain Beranda */
.page-hero {
    background: var(--secondary-color); /* Latar biru tua */
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Penyesuaian untuk bagian "Tentang" di halaman Tentang */
.about-detail {
    padding: 80px 0;
    background: var(--white-color);
}
/* Kita bisa pakai ulang style .about-grid, .about-image, .about-content */


/* Bagian Visi & Misi */
.visi-misi {
    padding: 80px 0;
    background: var(--light-bg); /* Latar sejuk */
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.visi-card {
    background: var(--white-color);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.visi-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.visi-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.visi-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Bagian Tim Kami */
.tim-kami {
    padding: 80px 0;
    background: var(--white-color);
}

.tim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.tim-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden; /* Agar gambar tidak keluar radius */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.tim-card:hover {
    transform: translateY(-5px);
}

.tim-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.tim-card h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 20px;
}

.tim-card span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

/* ======== 10.C. STYLE HALAMAN DETAIL LAYANAN ======== */

.service-detail {
    padding: 80px 0;
    background: var(--white-color);
}

/* Kita pakai ulang .about-grid, tapi gambar di kanan harus di-flip di mobile */
@media (max-width: 992px) {
    .service-detail .about-image {
        order: -1; /* Pindahkan gambar ke atas */
    }
}

/* Checklist untuk tipe AC */
.service-checklist {
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
}

.service-checklist li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-checklist li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Bagian Proses Kami (Service Process) */
.service-process {
    padding: 80px 0;
    background: var(--light-bg); /* Latar sejuk */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.process-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.process-card .process-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

/* Bagian Layanan Lainnya */
.other-services {
    padding: 80px 0;
    background: var(--white-color);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.other-service-card {
    display: block;
    background: var(--light-bg);
    padding: 35px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 37, 55, 0.852);
}

.other-service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.other-service-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.other-service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.other-service-card span {
    font-weight: 600;
    color: var(--primary-color);
}

/* ======== 10.D. STYLE HALAMAN PROYEK ======== */

.project-gallery {
    padding: 80px 0;
    background-color: var(--white-color);
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px; /* Jarak antar kartu proyek */
}

/* Membuat urutan gambar selang-seling (ZIG-ZAG) */
.project-card:nth-child(even) {
    direction: rtl; /* Membalik urutan grid (gambar jadi di kanan) */
}
.project-card:nth-child(even) .project-content {
    direction: ltr; /* Kembalikan arah teks di konten */
}

.project-image {
    position: relative;
    height: 400px;
    /* Kita pakai .gallery-item dari kode sebelumnya, 
       jadi lightbox & overlay otomatis berfungsi */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 40px;
}

.project-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.project-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.project-content p strong {
    color: #333;
}

/* CTA (Call To Action) Bar */
.cta-bar {
    padding: 60px 0;
    background: var(--white-color); /* Latar sejuk */
    text-align: center;
}

.cta-bar h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.cta-bar p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}
/* Kita pakai ulang style .btn-primary */

/* ======== 10.G. STYLE LINK GALERI (di Hal. Proyek) ======== */
.gallery-link-section {
    padding: 60px 0;
    background-color: var(--light-bg); /* Latar sejuk */
    text-align: center;
}

.gallery-link-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.gallery-link-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    max-width: 600px; /* Batasi lebar paragraf agar rapi */
    margin-left: auto;
    margin-right: auto;
}
/* Kita bisa gunakan ulang style .btn-primary */


/* ... (Kode /* ======== 11. ANIMASI FADE-IN SCROLL ======== */ 

/* ======== 10.F. STYLE HALAMAN PENJUALAN (BRAND) ======== */

.brand-partners {
    padding: 80px 0;
    background: var(--light-bg); /* Latar sejuk */
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.brand-logo {
    padding: 15px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
}

.brand-logo:hover img {
    filter: grayscale(0%); /* Membuat logo berwarna saat di-hover */
    opacity: 1;
}
/* ======== 10.E. STYLE HALAMAN KONTAK ======== */

.contact-page {
    padding: 80px 0;
    background: var(--white-color);
}

.contact-grid {
    display: grid;
    /* 2/3 untuk form, 1/3 untuk info */
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.contact-form-container p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 169, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Tombol submit pakai style .btn-primary */
.contact-form button.btn-primary {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-info-container {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.contact-info-container h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.contact-info-container p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.info-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-map {
    padding: 80px 0;
    background: var(--light-bg);
}

.map-embed iframe {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive untuk Halaman Kontak */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack di mobile */
    }
    .contact-info-container {
        order: -1; /* Pindahkan info ke atas form di mobile */
    }
}

@media (max-width: 768px) {
    .form-group-grid {
        grid-template-columns: 1fr; /* Stack input nama & telp */
        gap: 0;
    }
}

/* Responsive untuk Project Card */
@media (max-width: 992px) {
    .project-card,
    .project-card:nth-child(even) {
        grid-template-columns: 1fr; /* Stack di mobile */
        direction: ltr; /* Reset arah */
    }

    .project-image {
        height: 250px; /* Lebih pendek di mobile */
    }
}
/* ======== 10. FOOTER ======== */
.footer {
    background-color: var(--secondary-color);
    color: #e0e0e0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo {
    color: var(--white-color);
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-col ul a {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

.social-media a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-media a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #4a7c94;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}


/* ======== 11. ANIMASI FADE-IN SCROLL ======== */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== 11.B. STYLE LIGHTBOX MODAL ======== */
.lightbox {
    /* Sembunyi secara default */
    display: none; 
    position: fixed;
    z-index: 9999; /* Tampil di atas segalanya */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Latar hitam transparan */
    
    /* Atur agar gambar di tengah */
    justify-content: center;
    align-items: center;

    /* Efek fade-in halus */
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Kelas 'active' yang akan di-toggle oleh JS */
.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 85%;
    border-radius: 5px;
    
    /* Animasi zoom-in saat muncul */
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white-color);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}


/* ======== 12. RESPONSIF (Mobile) ======== */
@media (max-width: 991px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: var(--white-color);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .btn-kontak {
        width: 100%;
        text-align: center;
    }

    
    .dropdown-menu {
        display: none;
        padding-left: 20px;
        background: transparent;
        box-shadow: none;
    }

    .dropdown-item.active .dropdown-menu {
        display: block;
    }



    .section-title {
        font-size: 2.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    /* Saat di mobile, judul "Tentang" ikut ke tengah */
    .about-content .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .featured-services,
    .about-short,
    .gallery,
    .why-us {
        padding: 50px 0;
    }
}