/* =========================
   GLOBAL BRAND SYSTEM (LIGHT)
========================= */

:root {
  --bg: #f9fbfd;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --primary: #6ec1ff;
  --accent: #ff8a3d;
  --border: #eaeaea;
  --radius: 16px;
  --transition: 0.3s ease;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* =========================
   NAVBAR
========================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
  height: 50px;
}
.navbar.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.navbar a {
  color: var(--text);
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
  transition: var(--transition);
}

.navbar a:hover {
  color: var(--primary);
}
/* =========================
   LOGO
========================= */
.logo img {
  height: 28px;
  display: block;
}

/* =========================
   HERO
========================= */

.hero{
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* SLIDER */
.hero-slider{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* EACH IMAGE */
.hero-slide{
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.05);

  transition:
    opacity 1.8s ease,
    transform 6s ease;
}

/* ACTIVE IMAGE */
.hero-slide.active{
  opacity: 1;
  transform: scale(1);
}

/* DARK OVERLAY */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* CONTENT */
.hero-content{
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
  padding: 50px;
  border-radius: 20px;
  max-width: 650px;
  text-align: center;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.hero h1{
  font-size: 52px;
  font-family: Georgia, serif;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* highlight untuk honesty */
.highlight {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 15px;
  line-height: 1.8;
}

/* =========================
   SECTION
========================= */

section {
  padding: 90px 20px;
  max-width: 1400px;
  margin: auto;
}

section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  font-family: Georgia, serif;
}

/* =========================
   GRID
========================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* =========================
   CARD PREMIUM
========================= */

.card-premium {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at top left, rgba(110,193,255,0.15), transparent);
  opacity: 0;
  transition: 0.4s;
   pointer-events: none;
}

.card-premium:hover::after {
  opacity: 1;
}

.card-premium h3,
.card-premium h4 {
  margin-bottom: 10px;
}

/* =========================
   DIVIDER
========================= */

.divider {
  width: 60px;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  
}

/* =========================
   PRODUCT GRID
========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.product-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.card-content {
  padding-top: 10px;
}

/* =========================
   STORY
========================= */

.story {
  text-align: center;
}

.story-text {
  line-height: 1.9;
  max-width: 700px;
  margin: auto;
  color: var(--muted);
}

/* =========================
   BUTTON
========================= */

.btn-premium {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-premium:hover {
  background: var(--accent);
}

/* =========================
   FOOTER
========================= */

.footer {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.hero-main {
  font-size: 50px;
  font-weight: 600;
}

.hero-subline {
  font-size: 35px;
  font-weight: 400;
  color: var(--muted);

  margin-top: 6px; 
}
.navbar nav {
  display: flex;
  gap: 20px;
  z-index: 40;
}

.navbar nav a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.logo {
  flex-shrink: 0;
}

body.menu-open {
  overflow: hidden;
}


.featured-link h4{
  text-decoration: none;
}

.featured-card img{
  width: 100%;
  display: block;
}

.featured-card .card-content{
  text-align: center;
  padding-top: 16px;
}
.featured-card{
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 16px;
}

.featured-link{
  text-decoration: none;
  color: inherit;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}
.featured-link img{
  width: 100%;
  display: block;
}
.featured-card h4{
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.featured-card:hover{
  transform: translateY(-4px);
  transition: 0.3s ease;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
          .grid-3 {
            grid-template-columns: 1fr;
          }

          .hero h1 {
            font-size: 38px;
          }

          section {
            padding: 70px 20px;
          }

          .hero-content {
            padding: 30px;
          }

            .navbar {
              height: 52px;
              padding: 0 14px;
            }

            .logo img {
              height: 22px;
            }
            }
