/* RESET DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* .mySlides {
    display: none;
}

img {
    vertical-align: middle;
    border-radius: 1%;
} */

.responsive {
  width: 100%;
  height: auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 7px;
}

.gallery img {
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999; /* lebih besar agar di atas semua elemen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

/* Tombol Close */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 45px;
    color: #ffffff;     /* pastikan putih */
    cursor: pointer;
    z-index: 10000;     /* pastikan di atas gambar */
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,0,0,0.8); /* agar tidak hilang */
}

/* Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 10px;
}

.filter-buttons .btn {
    background: #ddd;
    border: none;
    padding: 10px 15px;
    margin: 1px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.filter-buttons .btn:hover {
    background: #bbb;
}

.filter-buttons .btn.active {
    background: #06c916;
    color: white;
}

/* Animasi saat filter */
.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.empty-slot {
    height: auto;
    background: #fffefe;
    border-radius: 10px;
    opacity: 0.2;
}

/* Mobile */
@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* GRID */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 5px;
    
}

/* CARD */
.video-card {
    background-image:linear-gradient(to top, #044622, #108143, #05d463); /* Fallback color */
    padding: 5px;
    border-radius: 10px;
}

/* PLAYER */
.video-container {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* THUMBNAIL */
.video-thumbnail {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BUTTON */
.control-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 3;
}

/* PROGRESS */
.video-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 6px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

.progress-bar {
    width: 100%;
}

/* TITLE */
.video-title {
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

/* HIDE */
.hide {
    opacity: 0;
    pointer-events: none;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg,#05d463,#108143);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

/* Slideshow container */
/* .slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
} */

/* Caption text */
/* .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
} */

/* Number text (1/3 etc) */
/* .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
} */

/* The dots/bullets/indicators */
/* .dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
} */

/* Fading animation */
/* .fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
} */

/* On smaller screens, decrease text size */
/* @media only screen and (max-width: 300px) {
  .text {font-size: 11px}
} */


/* WARNA PALET (Ganti Sesuai Brand Tecma) */
:root {
    --primary-color: #06c916; /* Biru Primer */
    --secondary-color: #06c916; /* Oranye/Kuning (Bisa untuk penekanan) */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #045026;
}

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

/* HEADER & NAVIGASI */
header {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    width: auto;
    color: var(--primary-color);
}

/* HEADER & NAVIGASI - Tombol Menu (Hidden by default) */
.menu-toggle {
    display: none; /* Sembunyikan di desktop */
    font-size: 1.5em;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--text-dark);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--primary-color);
}

/* TOMBOL UMUM (BUTTONS) */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid transparent;
}

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

.btn.primary:hover {
    background: linear-gradient(135deg, #05d463, #108143);
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn.secondary:hover {
   background: linear-gradient(135deg, #05d463, #108143);
}

.btn-kontak {
    background-color: var(--secondary-color) !important;
    color: var(--text-light) !important;
    padding: 8px 15px;
    border-radius: 20px;
}

/* SECTION UTAMA */
section {
    padding: 80px 0;
    text-align: center;
}

/* SECTION: HERO */
.hero {
    
    background-image:linear-gradient(to top, #044622, #108143, #05d463); /* Fallback color */
    color: var(--text-light);
    padding: 120px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size:cover;
    width: 100%;
    height: 100%;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.content {
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
    max-width: auto;
}

.content h1 {
    font-size: clamp(28px, 5vw, 52px);
    margin-top: 10px;
    margin-bottom: 15px;
}

.content p {
    font-size: clamp(16px, 2.5vw, 20px);
}

.nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-cta a {
    margin: 0 10px;
}

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

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.layanan-item {
    padding: 30px;
    background:linear-gradient(to top,#ffffff, #f0efef, #d3d2d2 ) ;
    /* border-radius: 8px; */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: left;
     /* background-image:linear-gradient(to top, #044622, #108143, #05d463); */
    /* padding: 5px; */
    border-radius: 10px;
}

.layanan-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    
}

/* SECTION: LOKASI MEDIA */
.lokasi-media {
    background-color: #f4f4f4;
}

.map-placeholder {
    height: 400px;
    background-color: #bdc3c7;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    font-size: 1.1em;
    border-radius: 8px;
}

.btn.large {
    padding: 15px 30px;
    font-size: 1.1em;
}

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

.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.client-logos img {
    height: 50px; /* Sesuaikan ukuran logo */
    opacity: 0.7;
    transition: opacity 0.3s;
}

.client-logos img:hover {
    opacity: 1;
}

/* SECTION: TENTANG KAMI */
.tentang {
    background-image:linear-gradient(to top, #09351c, #0e6435, #17924c);
    color: var(--text-light);
}

.tentang h2 {
    color: var(--secondary-color);
}

.why-us {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
}

.why-item {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.why-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* FOOTER & KONTAK */
footer {
    background-color: #131b22;
    color: #ecf0f1;
    padding-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.footer-info, .footer-form {
    flex: 1;
}

.footer-form h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.footer-form textarea {
    resize: vertical;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #34495e;
    font-size: 0.9em;
}

/* --- RESPONSIVENESS KUAT (Mobile-First) --- */

/* Tablet & Mobile (Max Width 992px) */
@media (max-width: 992px) {
    /* Umum */
    .container {
        padding: 0 15px;
    }
    section {
        padding: 60px 0;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 2.5em;
    }
}


/* Hanya Mobile (Max Width 768px) */
@media (max-width: 768px) {
    /* HEADER & NAVIGASI */
    header .container {
        flex-direction: row; /* Pertahankan logo di kiri, toggle di kanan */
        align-items: center;
    }

    .menu-toggle {
        display: block; /* Tampilkan tombol menu di mobile */
    }

    nav {
        /* Default: Sembunyikan Navigasi Mobile */
        position: absolute;
        top: 60px; /* Di bawah header */
        left: 0;
        width: 100%;
        background: var(--bg-light);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none; /* <--- KUNCI: HIDDEN DEFAULT */
        padding: 10px 0;
    }
    
    /* Kelas untuk menampilkan navigasi saat di-klik */
    nav.active {
        display: block; /* <--- KUNCI: SHOW WHEN ACTIVE */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }
    
    .btn-kontak {
        /* Pastikan tombol kontak tetap menonjol */
        display: block;
        width: 80%;
        margin: 10px auto;
        padding: 10px;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    /* Footer */
    footer .container {
        flex-direction: column;
    }
    
    .why-us {
        flex-direction: column;
        gap: 20px;
    }
}

/* Hanya iPhone/Small Mobile (Max Width 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6em;
    }
    .hero p {
        font-size: 1em;
    }
    .client-logos img {
        height: 40px;
    }
}

.fa {
    padding: 20px;
    font-size: 40px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 10%;
  }
  
  .fa:hover {
      opacity: 0.7;
  }
  
  .fa-facebook {
    background: #3B5998;
    color: white;
  }
  
  .fa-twitter {
    background: #55ACEE;
    color: white;
  }
  
  .fa-google {
    background: #dd4b39;
    color: white;
  }
  
  .fa-linkedin {
    background: #007bb5;
    color: white;
  }
  
  .fa-youtube {
    background: #bb0000;
    color: white;
  }
  
  .fa-instagram {
    background: #125688;
    color: white;
  }
  
  .fa-pinterest {
    background: #cb2027;
    color: white;
  }
  
  .fa-snapchat-ghost {
    background: #fffc00;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  }
  
  .fa-skype {
    background: #00aff0;
    color: white;
  }
  
  .fa-android {
    background: #a4c639;
    color: white;
  }
  
  .fa-dribbble {
    background: #ea4c89;
    color: white;
  }
  
  .fa-vimeo {
    background: #45bbff;
    color: white;
  }
  
  .fa-tumblr {
    background: #2c4762;
    color: white;
  }
  
  .fa-vine {
    background: #00b489;
    color: white;
  }
  
  .fa-foursquare {
    background: #45bbff;
    color: white;
  }
  
  .fa-stumbleupon {
    background: #eb4924;
    color: white;
  }
  
  .fa-flickr {
    background: #f40083;
    color: white;
  }
  
  .fa-yahoo {
    background: #430297;
    color: white;
  }
  
  .fa-soundcloud {
    background: #ff5500;
    color: white;
  }
  
  .fa-reddit {
    background: #ff5700;
    color: white;
  }
  
  .fa-rss {
    background: #ff6600;
    color: white;
  }

#scrollUp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #108143;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

#scrollUp.show {
    opacity: 1;
    visibility: visible;
}

#scrollUp:hover {
    background: #05d463;
}

/* Mobile */
@media (max-width: 600px) {
    #scrollUp {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

.btn-konsultasi {
    position: fixed;
    bottom: 30px;
    right: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #05d463, #108143);
    color: #fff;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 999;
    transition: .3s ease;
    animation: float 3s ease-in-out infinite;
}

.btn-konsultasi svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.btn-konsultasi:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,.3);
}

/* animasi lembut */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Mobile */
@media (max-width: 600px) {
    .btn-konsultasi {
        bottom: 70px;
        right: 15px;
        padding: 14px;
        border-radius: 50%;
    }

    .btn-konsultasi span {
        display: none;
    }
}