/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ========== NAVBAR ========== */
header {
    background: linear-gradient(90deg, #0066ff, #0099ff);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.logo span {
    color: #ffd700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffdd57;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh; /* full layar */
    width: 100%;
    background: url('images/background/hero-bg1.png') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Overlay lembut untuk kontras teks */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 30, 60, 0.55), rgba(255, 255, 255, 0.25));
    z-index: 1;
}

/* Teks hero */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.5s ease;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fdfdfd;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.7;
    color: #f1f1f1;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Tombol */
.btn-primary {
    display: inline-block;
    margin-top: 30px;
    background: #ffd966;
    color: #222;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #ffea85;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Animasi muncul */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsif */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.05rem;
    }
}


/* Services grid */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.services .card {
  width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form button {
  align-self: flex-start;
}
.contact-section {
  padding: 60px 80px;
  background: #f8fafc;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
}

.contact-info h1 {
  color: #111;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-info .btn-primary {
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.contact-info .btn-primary:hover {
  background: #0056cc;
}

.contact-image img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}



/* ========== PROJECTS SECTION ========== */
.projects {
    text-align: center;
    padding: 60px 20px;
    background: #f9fbff;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #0047b3;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card h3 {
    color: #0056b3;
    margin-bottom: 10px;
}
.card p {
    color: #444;
}

/* ===============================
   FOOTER
=================================*/
footer {
  background-color: #0c1e42;
  color: #ddd;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #00aaff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 768px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
  main.container {
    padding: 0 10px;
  }
}
/* ===============================
   FOOTER FIX (sticky footer)
=================================*/
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}


/* ========== CONTENT SECTIONS ========== */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
}

/* About */
.about p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Contact */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}


.about-nc {
    background: #fffdf7;
    padding: 25px 30px;
    border-radius: 15px;
    margin: 20px 0 40px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    line-height: 1.8;
    color: #333;
}

.about-nc h3 {
    margin-top: 20px;
    color: #d97706;
}

.about-nc ul {
    margin-left: 25px;
    list-style: disc;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.about-gallery img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #fefefe;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 20px;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}
.projects {
    padding: 60px 10%;
    background: #f9fafb;
}

.projects h2 {
    text-align: center;
    color: #1d4ed8;
    font-size: 2em;
    margin-bottom: 30px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.about-text {
    flex: 1 1 60%;
    padding: 30px;
    line-height: 1.8;
    color: #333;
}

.about-text h3 {
    color: #d97706;
    margin-top: 20px;
}

.about-text ul {
    margin-left: 25px;
    list-style: disc;
}

.about-image {
    flex: 1 1 40%;
    background: #fef9f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}

.gallery img {
    width: 100%;
    height: 230px; /* tinggi seragam */
    object-fit: cover; /* agar gambar proporsional dan tidak gepeng */
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 20px;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
}

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

/* Responsif */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: 1 1 100%;
    }

    .projects {
        padding: 40px 5%;
    }
}
.about-section {
    padding: 60px 5%;
    background: #fff;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.about-text {
    flex: 1 1 55%;
    text-align: justify; /* ganti dari rata tengah */
    line-height: 1.8;
    color: #333;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-text h2 span {
    color: #f57c00;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.vision-mission h3 {
    color: #e67e22;
    margin-top: 25px;
    margin-bottom: 10px;
}

.vision-mission ul {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
}

.about-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    object-fit: cover;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
    .about-image img {
        max-width: 100%;
    }
}
.tentang-kami {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  margin: 30px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.teks {
  flex: 1 1 60%;
  text-align: justify;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
}

.teks h3 {
  color: #ff7a00;
  margin-top: 20px;
}

.gambar {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* jarak antar gambar */
}

.gambar img {
  width: 100%;
  max-width: 420px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.gallery-title {
  text-align: center;
  color: #444;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 40px 0 20px;
}

.gallery-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 0 10px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gallery-mini img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-mini img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.gallery-footer {
  text-align: center;
  margin-top: 25px;
}

.btn-primary {
  display: inline-block;
  background: #ffb400;
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #ff9900;
}

/* Responsive */
@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
  }

  .gambar img {
    max-width: 100%;
  }
}


.produk-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.produk-container h1 {
  color: #0a0a23;
  font-size: 2rem;
  margin-bottom: 10px;
}

.deskripsi {
  color: #444;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* GRID PRODUK */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* otomatis menyesuaikan */
  gap: 20px;
  justify-items: center;
  padding: 20px;
}

/* Kartu produk */
.produk-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  width: 100%;
  max-width: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Gambar produk */
.produk-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Detail produk */
.produk-card h2 {
  font-size: 1.1em;
  margin: 5px 0;
  color: #111;
}

.produk-card .kategori {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.produk-card .harga {
  color: #ff6600;
  font-weight: bold;
  margin-bottom: 10px;
}

.produk-card .btn-detail {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.produk-card .btn-detail:hover {
  background: #0056cc;
}


.produk-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: all 0.3s ease;
}

.produk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.produk-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.produk-card h3 {
  margin: 10px 0 5px;
  color: #0a0a23;
  font-size: 1.1rem;
}

.kategori {
  font-size: 0.9rem;
  color: #666;
}

.harga {
  font-weight: bold;
  color: #ff6600;
  margin: 8px 0;
}

.btn-detail {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #00bfff);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-detail:hover {
  background: linear-gradient(90deg, #0056d6, #0099ff);
}


.produk-detail-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

.produk-detail-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden;
}

.produk-detail-gambar {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f9fc;
  padding: 20px;
}

.produk-detail-gambar img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.produk-detail-info {
  flex: 1 1 55%;
  padding: 30px;
}

.produk-detail-info h1 {
  font-size: 1.8rem;
  color: #0a0a23;
  margin-bottom: 10px;
}

.produk-detail-info .kategori {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 8px;
}

.produk-detail-info .kategori span {
  color: #007bff;
  font-weight: 600;
}

.produk-detail-info .harga {
  font-size: 1.3rem;
  color: #ff6600;
  font-weight: bold;
  margin-bottom: 20px;
}

.produk-detail-info .deskripsi {
  text-align: justify;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

.tombol-aksi {
  display: flex;
  gap: 15px;
}

.btn-kembali {
  background: #e0e0e0;
  color: #222;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-kembali:hover {
  background: #ccc;
}

.btn-pesan {
  background: linear-gradient(90deg, #007bff, #00bfff);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-pesan:hover {
  background: linear-gradient(90deg, #0056d6, #0099ff);
}

/* Responsif */
@media (max-width: 768px) {
  .produk-detail-card {
    flex-direction: column;
  }

  .produk-detail-info {
    padding: 20px;
  }
}
.produk-detail-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

.produk-detail-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden;
}

.produk-detail-gambar {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f9fc;
  padding: 20px;
}

.produk-detail-gambar img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.produk-detail-info {
  flex: 1 1 55%;
  padding: 30px;
}

.produk-detail-info h1 {
  font-size: 1.8rem;
  color: #0a0a23;
  margin-bottom: 10px;
}

.produk-detail-info .kategori {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 8px;
}

.produk-detail-info .kategori span {
  color: #007bff;
  font-weight: 600;
}

.produk-detail-info .harga {
  font-size: 1.3rem;
  color: #ff6600;
  font-weight: bold;
  margin-bottom: 20px;
}

.produk-detail-info .deskripsi {
  text-align: justify;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

.tombol-aksi {
  display: flex;
  gap: 15px;
}

.btn-kembali {
  background: #e0e0e0;
  color: #222;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-kembali:hover {
  background: #ccc;
}

.btn-pesan {
  background: linear-gradient(90deg, #007bff, #00bfff);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-pesan:hover {
  background: linear-gradient(90deg, #0056d6, #0099ff);
}

/* Responsif */
@media (max-width: 768px) {
  .produk-detail-card {
    flex-direction: column;
  }

  .produk-detail-info {
    padding: 20px;
  }
}


/*produk*/

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

.produk-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
}

.produk-card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 180px;
}

.btn-add {
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-edit {
  background: #ffa500;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-delete {
  background: #dc3545;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.btn-edit:hover, .btn-delete:hover, .btn-add:hover {
  opacity: 0.8;
}

/* === Kontak Page Styling === */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #f5f7fa;
}

.contact .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-width: 900px;
  width: 100%;
}

.contact .info {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.contact h1 {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.contact p {
  color: #444;
  font-size: 16px;
  margin-bottom: 20px;
}

.contact .qr-code {
  flex: 1;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.contact .qr-code:hover {
  transform: scale(1.05);
}

/* Tombol WA */
.contact .btn-primary {
  display: inline-block;
  background: #0078ff;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.contact .btn-primary:hover {
  background: #005fcc;
}

/* 🌐 RESPONSIVE */
@media (max-width: 768px) {
  .contact .container {
    flex-direction: column; /* 👉 QR jadi di bawah teks */
    text-align: center;
    padding: 30px 20px;
  }

  .contact .info {
    text-align: center;
  }

  .contact h1 {
    font-size: 24px;
  }

  .contact p {
    font-size: 14px;
  }

  .contact .qr-code {
    width: 200px;
    margin: 10px auto;
  }

  .contact .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact .container {
    padding: 25px 15px;
  }

  .contact .qr-code {
    width: 170px;
  }

  .contact h1 {
    font-size: 20px;
  }

  .contact p {
    font-size: 13px;
  }

  .contact .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
  }
}
