@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  color: #2b2d42;
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* Header & Navigation */
header {
  background: #005f73;
  color: white;
  padding: 1rem 3%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Agar responsif di layar kecil */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

nav a {
  color: #e0f2f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ee9b00;
}

.lang-btn {
  background: #0a9396;
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.lang-btn:hover {
  background: #ee9b00;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 50, 65, 0.15), rgba(0, 75, 90, 0.15)), 
              url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  margin-bottom: 2rem;
}
.hero-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Section Common Styling */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #005f73;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ee9b00;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Grid & Cards Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  color: #005f73;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Floating Social Media Buttons */
.social-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.social-float a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

.social-float a:hover {
  transform: scale(1.12);
}

.btn-wa { background: #25d366; }
.btn-ig { background: #e1306c; }
.btn-fb { background: #1877f2; }

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info i {
  color: #0a9396;
  font-size: 1.2rem;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-form button {
  background: #005f73;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  width: 100%;
}

.contact-form button:hover {
  background: #0a9396;
}

/* Footer */
footer {
  background-color: #005f73;
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  text-align: center;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
}
/* Styling Logo Gambar dari Admin */
.logo img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}
/* Memperbesar dan mengunci posisi logo di sebelah kiri */
header .logo, header img {
  height: 60px; /* Perbesar ukuran logo */
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: flex;
  align-items: center;
}

/* ==========================================
   PENGATURAN RESPONSIF & TATA LETAK UTAMA
   ================================---------- */

/* Memastikan ukuran gambar dan kontainer fleksibel */
img {
  max-width: 100%;
  height: auto;
}

/* Header & Logo Responsive */
header {
  background: #005f73;
  color: white;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .logo, header img {
  height: 60px !important; /* Ukuran logo diperbesar & dikunci */
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

header nav ul li a:hover {
  opacity: 0.8;
}

/* Grid Otomatis untuk Section (About, Contact, Reviews, Popular, dll) */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mengubah grid 2 kolom menjadi 1 kolom secara otomatis jika dibuka di HP */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  header nav ul {
    margin-top: 0.8rem;
    gap: 0.8rem;
  }

  /* Semua elemen grid 2 kolom akan menumpuk ke bawah di HP */
  section div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .hero-section {
    padding: 4rem 1rem !important;
  }

  .hero-section h2 {
    font-size: 2rem !important;
  }
}