* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* FULL SCREEN HERO */
.hero {
  width: 100%;
  height: 100vh;
  background: url('../images/kopi-tenggek.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
}

/* OVERLAY GELAP */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* CENTER CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 10px 0;
}

.hero-content p {
  margin: 20px 0;
}

.cta-btn {
  background: rgb(252, 250, 250);
  color: rgb(181, 8, 8);
  padding: 14px 40px;
  text-decoration: none;
}
/* ===== LANDING PAGE FULL SCREEN ===== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../images/kopi-tenggek.jpg') no-repeat center center;
  background-size: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* ===============================
   3D LOGO EFFECT (FINAL)
================================ */

/* Wrapper untuk center + spacing */
.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2px; /* rapat dengan teks */
}

/* ===============================
   LOGO FIX BETUL-BETUL DI ATAS
   (ANTI-CONFLICT MODE)
================================ */

.logo-top {
  position: fixed;          /* 🔥 PENTING: bukan absolute */
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  pointer-events: none;     /* elak ganggu klik */
}

/* LOGO 3D */
.logo-3d {
  width: 300px;
  height: auto;

  display: block;
  margin: 0 auto;

  filter:
    drop-shadow(0 4px 0 rgba(0,0,0,0.25))
    drop-shadow(0 12px 18px rgba(0,0,0,0.35));

  transform: perspective(800px) rotateX(6deg);
}

/* MOBILE */
@media (max-width: 768px) {
  .logo-3d {
    width: 190px;
  }

  .logo-top {
    top: 14px;
  }
}


/* TAGLINE KECIL */
.tagline {
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: #fff;
  opacity: 0.9;
}



/* CENTER SEMUA CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* CENTER MENEGAK */
  align-items: center;       /* CENTER MELINTANG */
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 5px;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.hero-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* CTA UTAMA */
.cta-btn {
  background: #000;
  color: #fff;
  padding: 14px 40px;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ===== SOCIAL BUTTONS MENEGAK ===== */

.social-actions.vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 220px;
}

.social-btn {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 0;
  text-decoration: none;
  font-size: 0.9rem;
  text-align: center;
  transition: 0.3s ease;
}

.social-btn:hover {
  background: #fff;
  color: #000;
}

/* ===== SOCIAL BUTTON BASE ===== */

.social-actions.vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 240px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;

  color: #fff;
  border-radius: 4px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn .icon {
  font-size: 1.2rem;
}

/* ===== WHATSAPP ===== */

.whatsapp {
  background: #25D366;
  animation: pulse 2s infinite;
}

.whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.8);
}

/* ===== INSTAGRAM ===== */

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 0, 150, 0.5);
}

/* ===== TIKTOK ===== */

.tiktok {
  background: #000;
}

.tiktok:hover {
  animation: shake 0.3s;
}

/* ===== WAZE ===== */

.waze {
  background: #33ccff;
}

.waze:hover {
  box-shadow: 0 0 20px rgba(51, 204, 255, 0.9);
  transform: scale(1.05);
}

/* ===== KEYFRAMES ===== */

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

/* ===== BOOKING RESET ===== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ===== BACKGROUND ===== */

.hero {
  min-height: 100vh;
  background: url('../images/kopi-tenggek.jpg') no-repeat center center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* ===== FORM ===== */

.booking-container {
  position: relative;
  z-index: 2;

  background: #fff;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  border-radius: 6px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-container h2 {
  text-align: center;
}

.booking-container label {
  font-weight: bold;
  font-size: 0.9rem;
}

.booking-container input {
  padding: 10px;
  font-size: 1rem;
}

.total {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

.booking-container button {
  margin-top: 14px;
  padding: 14px;
  font-size: 1rem;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

/* RAMADHAN TITLE */
.title-ramadhan {
  font-family: 'Amiri', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* RUSTIC SUBTITLE */
.subtitle-rustic {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f5f5f5;
}

/* WHITE CTA BUTTON */
.cta-white {
  background: #ffffff;
  color: #7a0c16;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.cta-white:hover,
.cta-white:active {
  background: #7a0c16;
  color: #ffffff;
}

/* ============================= */
/* RAMADHAN TITLE (SATU BARIS) */
/* ============================= */
.ramadhan-title {
  font-family: "Cinzel", "Georgia", serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;

  text-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    0 6px 18px rgba(0,0,0,0.4);

  margin-top: 10px;   /* 🔥 RAPAT DENGAN LOGO */
  margin-bottom: 6px;
}

.ramadhan-title span {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-left: 10px;
  opacity: 0.9;
}

/* SUBTITLE */
.subtitle {
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* MOBILE TUNING */
@media (max-width: 480px) {
  .ramadhan-title {
    font-size: 2rem;
  }

  .ramadhan-title span {
    display: block; /* still satu tajuk, tapi kemas */
    margin-left: 0;
    margin-top: 4px;
    font-size: 1.1rem;
  }
}
/* ===============================
   MOBILE HERO FINAL POLISH
================================ */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LOGO */
.hero-logo {
  width: 110px;              /* BESARKAN LOGO */
  margin-bottom: 6px;        /* RAPAT DENGAN TAJUK */
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* TITLE */
.hero-title {
  text-align: center;
  margin: 0;
}

/* TAGLINE */
.hero-tagline {
  margin-top: 4px;
  letter-spacing: 1.5px;
}

/* MOBILE OVERRIDE */
@media (max-width: 768px) {

  .hero-logo {
    width: 130px;            /* LOGO LEBIH BESAR DI PHONE */
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-tagline {
    font-size: 15px;         /* ✅ PERMINTAAN KAU */
    opacity: 0.9;
  }
}

/* ===============================
   GLOBAL RESET (ANTI PUTIH)
================================ */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000; /* fallback anti putih */
  overflow-x: hidden;
}

/* ===============================
   HERO FULLSCREEN FIX
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: url('../images/kopi-tenggek.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px 80px; /* 🔥 ruang bawah untuk button */
  box-sizing: border-box;
}

/* Overlay kekal */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* ===============================
   CONTENT CENTER (ANTI OVERFLOW)
================================ */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ===============================
   LOGO FIX (KEKAL ATAS)
================================ */
.logo-wrapper {
  margin-bottom: 2px;
}

.logo-3d {
  width: 150px;
  display: block;
  filter:
    drop-shadow(0 4px 0 rgba(0,0,0,0.25))
    drop-shadow(0 10px 18px rgba(0,0,0,0.35));
  transform: perspective(800px) rotateX(6deg);
}

/* ===============================
   TAGLINE
================================ */
.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: #fff;
  margin: 4px 0 8px;
}

/* ===============================
   CTA
================================ */
.cta-white {
  background: #fff;
  color: #7b1b1b;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* ===============================
   SOCIAL BUTTONS (ANTI TERKELUAR)
================================ */
.social-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.social-btn {
  width: 100%;
  box-sizing: border-box;
}

/* ===============================
   MOBILE EXTRA SAFETY
================================ */
@media (max-height: 700px) {
  .hero {
    padding-bottom: 120px; /* 🔥 phone pendek */
  }
}
