/* ===============================
   VARIABLES WARNA
   =============================== */
:root {
  --primary: #0f172a;
  --accent: #0284c7;
  --accent2: #0369a1;
  --light: #ffffff;
  --muted: #64748b;
  --card: #f8fafc;
}

/* ===============================
   RESET & BASE
   =============================== */
* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: 'Poppins', sans-serif; background:#f9fafb; color:var(--primary); line-height:1.6; }
.container { width:90%; max-width:1200px; margin:auto; }
h1,h2,h3,h4,p { margin:0; }
a { text-decoration:none; }

/* ===============================
   HEADER
   =============================== */
.site-header {
  position: fixed;
  top:0; left:0; width:100%;
  background: var(--light);
  border-bottom:3px solid var(--accent);
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
  z-index:1000; transition: all 0.3s ease;
  padding:10px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom:2px solid var(--accent2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.site-header.hide { top:-120px; opacity:0; }

.header-grid {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:nowrap; gap:1rem;
}
.brand img.logo { height:70px; transition: height 0.3s; }

/* ===============================
   NAVIGATION
   =============================== */
.main-nav {
  display:flex; align-items:center; gap:1rem;
}
.main-nav a {
  font-weight:600; color: var(--accent); transition: all 0.3s;
}
.main-nav a:hover { color: var(--accent2); }

.lang-switch {
  background:none; color: var(--accent);
  font-weight:600; padding:6px 10px; border-radius:6px;
  transition: color 0.3s;
}
.lang-switch:hover { color: var(--accent2); text-decoration:underline; }

/* ===============================
   MOBILE MENU BUTTON (TOMBOL BIRU)
   =============================== */
.menu-toggle {
  display:none; flex-direction:column; justify-content:center;
  cursor:pointer; width:28px; height:24px; gap:5px; z-index:999;
  position:absolute; right:20px; top:35px;
}
.menu-toggle span {
  display:block; height:3px; background: var(--accent);
  border-radius:2px; transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1){ transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform: rotate(-45deg) translate(5px,-5px); }

/* ===============================
   MOBILE NAV STYLE
   =============================== */
@media(max-width:768px){
  .header-grid { flex-wrap:wrap; justify-content:space-between; }
  .menu-toggle { display:flex; }
  .main-nav {
    flex-direction: column; width:100%; background: var(--accent);
    border-top:1px solid #ddd; display:none; padding:1rem 0; text-align:center;
  }
  .main-nav.show { display:flex; animation:fadeIn 0.3s ease; }
  .main-nav a { padding:0.75rem 0; color: var(--light); }
  .main-nav a:hover { background: var(--accent2); }
  .lang-switch { color: var(--light); padding:0.5rem 0; }
  .brand img.logo { height:60px; }
}

@keyframes fadeIn {
  from { opacity:0; transform:translateY(-10px); }
  to { opacity:1; transform:translateY(0); }
}

/* HERO SLIDER FULL SCREEN */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  margin-top: 0; /* header overlay */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-content .btn {
  margin-top: 1rem;
}

@media(max-width:768px){
  .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1.2rem; }
}


/* ===============================
   BUTTONS
   =============================== */
.btn {
  background: var(--accent); color: var(--light);
  padding:10px 22px; border-radius:8px; font-weight:600; cursor:pointer;
  text-decoration:none; transition: all 0.3s;
}
.btn:hover { background: var(--accent2); transform:translateY(-2px); }
.btn.active { transform: scale(0.97); }

/* ===============================
   FEATURED / GALLERY
   =============================== */
.featured { text-align:center; padding:120px 20px 60px; }
.featured h3 { font-size:2rem; margin-bottom:0.5rem; }
.featured .section-sub { font-size:1.1rem; color:var(--muted); margin-bottom:2rem; }
.featured .grid {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:20px;
}
.featured .card {
  background: var(--card); border-radius:10px; overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.05); transition: transform 0.2s ease; text-align:center;
}
.featured .card:hover { transform: translateY(-4px); }
.featured .card img { width:100%; height:400px; object-fit:cover; }
.featured .card h4 { padding:10px; font-size:1rem; }

/* ===============================
   ABOUT
   =============================== */
.about { text-align:center; padding:60px 20px; max-width:700px; margin:auto; }
.about h3 { font-size:2rem; margin-bottom:16px; }
.about p { color: var(--muted); line-height:1.6; background: rgba(255,255,255,0.85); display:inline-block; padding:12px 20px; border-radius:8px; }

/* ===============================
   COMMENTS SECTION
   =============================== */
.comments { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100vh; padding:2rem 1rem; text-align:center; }
.comment-form { display:flex; flex-direction:column; width:100%; max-width:600px; gap:1rem; margin-bottom:2rem; }
.comment-form input, .comment-form textarea {
  width:100%; padding:0.75rem 1rem; border:1px solid #ccc; border-radius:8px; font-size:1rem; font-family:'Poppins',sans-serif;
}
.comment-form button {
  align-self:center; padding:0.75rem 1.5rem; border:none; border-radius:8px;
  background-color: var(--accent); color: var(--light); font-weight:600; cursor:pointer; transition: background-color 0.3s, transform 0.2s;
}
.comment-form button:hover { background-color: var(--accent2); transform:translateY(-2px); }

.comment-item {
  width:100%; max-width:600px; background: var(--card); padding:1rem 1.5rem;
  border-radius:12px; box-shadow:0 3px 8px rgba(0,0,0,0.1); text-align:center; margin-bottom:1rem;
}

/* ===============================
   PAGINATION
   =============================== */
.pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-top:20px; }
.page-link { display:inline-block; padding:6px 12px; border:1px solid #ccc; border-radius:4px; text-decoration:none; color:#333; font-size:0.9rem; transition:all 0.3s; }
.page-link:hover { background:var(--accent); color:var(--light); }
.page-link.active { background:var(--accent); color:var(--light); font-weight:bold; }

@media (max-width:600px){
  .page-link { padding:5px 8px; font-size:0.8rem; }
}

/* ===============================
   FOOTER
   =============================== */
.site-footer { background:var(--primary); color:var(--light); text-align:center; padding:20px; font-size:0.9rem; margin-top:40px; }
