body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    color: #333;
}

/* Header & Footer */
header {
    background: #2c7;
    color: white;
    padding: 15px;
    text-align: center;
}
footer {
    text-align: center;
    background: #222;
    color: #fff;
    padding: 10px;
    margin-top: 20px;
}

/* Navbar modern */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}
.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00796b;
}
.logo span { color: #e53935; }

.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}
.nav-links a:hover {
    color: #00796b;
    border-bottom: 2px solid #00796b;
    padding-bottom: 3px;
}

/* Responsive navbar */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 65px;
        right: 0;
        background: white;
        width: 200px;
        display: none;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-links.show { display: flex; }
    .nav-links a { margin: 10px 0; }
}

/* Supaya konten tidak ketutup navbar */
main { padding-top: 80px; }

/* Google Map Responsive */
.contact-map .map-container {
    position: relative;
    padding-bottom: 56.25%; /* aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px; /* opsional, biar rounded */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* opsional, biar lebih rapih */
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Highlight Section */
.highlight-section {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

/* 🌟 Promo utama (gambar besar di atas grid) */
.highlight-main {
  position: relative;
  grid-column: 1 / -1; /* full width di dalam grid */
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.highlight-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.highlight-main:hover img {
  transform: scale(1.05);
}

.highlight-main-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  bottom: 0; /* hanya menutupi bagian bawah gambar */
  left: 0;
  width: 100%;
  padding: 30px 20px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.highlight-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease;
}

.highlight-card:hover {
    transform: scale(1.02);
}

.highlight-card img {
    width: 100%;
    height: auto;       /* biar tinggi mengikuti rasio asli */
    object-fit: cover;  /* akan menjaga proporsi, crop hanya jika dibatasi tinggi */
    border-radius: 8px;
    display: block;     /* hilangkan gap bawaan gambar */
}

.highlight-content {
    padding: 15px;
}

.highlight-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.highlight-content p {
    font-size: 0.95rem;
    color: #444;
}

/* === Versi Mobile (HP) === */
@media (max-width: 768px) {
  /* Promo utama tetap besar */
  .highlight-main img {
    width: 110%;
    max-width: none;
    margin-left: -5%;
  }

  /* Grid card jadi 2 kolom kecil */
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr); /* dua kolom */
    gap: 10px;
  }

  .highlight-card {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transform: scale(0.95); /* sedikit lebih kecil */
  }

  .highlight-card img {
    border-radius: 8px;
  }

  .highlight-content h3 {
    font-size: 0.9em;
  }
}

/* === HERO UNIVERSAL === */
.hero,
.about-hero,
.services-hero,
.nakes-hero,
.contact-hero {
    position: relative;
    text-align: center;
    color: #333;
    padding: 80px 20px;
    background: none; /* hapus warna default */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7); /* default putih semi-transparan */
    z-index: 1;
}

.hero .container,
.about-hero .container,
.services-hero .container,
.nakes-hero .container,
.contact-hero .container {
    position: relative;
    z-index: 2;
}

/* Judul Hero */
.hero h1, .about-hero h2, .services-hero h2,
.nakes-hero h2, .contact-hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}
.hero p, .about-hero p, .services-hero p,
.nakes-hero p, .contact-hero p {
    font-size: 1.2em;
}

/* === INDEX GRID === */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover { background: #20b954; }
.btn-outline {
    background: transparent;
    border: 2px solid white;
}
.btn-outline:hover {
    background: white;
    color: #25D366;
}

/* About Preview */
.about-preview {
    text-align: center;
    padding: 50px 20px;
}
.about-preview h2 { margin-bottom: 20px; }
.link { color: #25D366; text-decoration: none; font-weight: bold; }

/* Services Highlights */
.services-preview {
    padding: 50px 20px;
    background: #f0fdf4;
    text-align: center;
}
.services-preview h2 { margin-bottom: 30px; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.card h3 { margin-bottom: 10px; }

/* === ABOUT GRID === */
/* Founder Section */
.founder-section {
    padding: 60px 20px;
    text-align: center;
}
.founder-section h2 {
    margin-bottom: 40px;
}
.founder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.founder-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.founder-card img {
    width: 100%;
    max-width: 250px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.founder-card h3 {
    margin-bottom: 10px;
    color: #25D366;
}

/* History Section*/
.history-section {
    background: #f0fdf4;
    padding: 60px 20px;
}
.history-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Timeline Section*/
.timeline {
    max-width: 800px;
    margin: auto;
    border-left: 3px solid #25D366;
    padding-left: 20px;
}
.timeline-item {
    margin-bottom: 30px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #25D366;
    border-radius: 50%;
}
.timeline-item .year {
    font-weight: bold;
    color: #25D366;
    display: block;
    margin-bottom: 5px;
}

/* === SERVICE GRID === */
.services-list {
    padding: 60px 20px;
    background: #f8fdf9;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-card h3 {
    margin: 15px;
    color: #25D366;
}
.service-card p {
    margin: 0 15px 20px;
    color: #555;
    font-size: 0.95em;
}

/* === NAKES GRID === */
/* Nakes Section */
.nakes {
    padding: 3rem 1rem;
    background: #f9f9f9;
}
.nakes h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #00796b;
}
.nakes-group {
    margin-bottom: 2.5rem;
}
.nakes-group h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
    border-left: 4px solid #00796b;
    padding-left: 10px;
}
.nakes-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.nakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.nakes-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1.2rem;
    text-align: center;
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    transition: transform 0.3s ease;
}
.nakes-card:hover {
    transform: translateY(-5px);
}
.nakes-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #00796b;
}
.nakes-card h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #222;
}
.nakes-card p {
    font-size: 0.95rem;
    color: #666;
}

/* === CERITA GRID === */
/* Cerita Section */
.cerita-header {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 3rem 1rem;
  border-radius: 1rem;
  text-align: center;
}

.nina-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nina-avatar {
  width: 120px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.intro-text h1 {
  font-size: 1.8rem;
  color: #0369a1;
}

.cerita-grid {
  padding: 2rem 1rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h2 a {
  color: #0369a1;
  text-decoration: none;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0284c7;
  font-weight: bold;
}

/* Video Wrapper Section */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Rasio 16:9 */
  overflow: hidden;
  border-radius: 1rem;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem;
}

/* === CONTACT GRID === */
/* Info Contact */
.contact-info {
    padding: 60px 20px;
    background: #f8fdf9;
    text-align: center;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.contact-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}
.contact-card h3 {
    color: #25D366;
    margin-bottom: 10px;
}
.contact-card p a {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
}

/* Map */
.contact-map {
    padding: 40px 20px;
    text-align: center;
}
.contact-map h3 {
    margin-bottom: 20px;
}

/* Form */
.contact-form {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}
.contact-form h3 {
    margin-bottom: 20px;
}
.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input, .contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
}
.contact-form button {
    align-self: center;
    padding: 12px 30px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #20b954;
}

/* Tombol Floating */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    padding: 12px;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s ease;
}
.wa-float:hover {
    transform: scale(1.1);
}

/* Popup Chatbox */
.wa-popup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    background: #fff;
    overflow: hidden;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

/* Header */
.wa-header {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-weight: 600;
}
.wa-header img {
    margin-right: 8px;
}
.wa-close {
    background: transparent;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

/* Body */
.wa-body {
    padding: 15px;
}
.wa-body input,
.wa-body textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.wa-body textarea {
    resize: none;
    height: 70px;
}
.wa-body button {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: #25D366;
    color: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}
.wa-body button:hover {
    background: #1ebe5b;
}

/* Animasi popup */
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal Overlay */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    text-align: center;
}

/* Modal Gambar */
.image-modal img {
    width: auto;      /* pastikan tidak stretch */
    height: auto;
    max-width: 90%;
    max-height: 80vh;
    margin: auto;     /* supaya tetap center */
    object-fit: contain; /* Jaga rasio gambar */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

#modalCaption {
    color: #fff;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Tombol Close */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #ff6666;
}

/* Animasi Zoom */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mini-wa-popup {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 15px;
  width: 280px;
  z-index: 99999; /* pastikan di atas modal gambar */
  animation: fadeIn 0.3s ease;
  transition: opacity 0.3s ease;
}

.mini-wa-popup.fade-out {
    opacity: 0;
}

.mini-wa-content h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #075E54;
}

.mini-wa-content input,
.mini-wa-content textarea {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  font-size: 14px;
}

.mini-wa-content button {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
