:root {
  --primary: #4286f4;
  --bg: #373b44;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
  min-height: 3000px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  font-style: italic;
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(1);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#lobalobster-menu {
  display: none;
}

/*Hero Section*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/tentangkami.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 10%,
    rgba(0, 0, 0, 0) 50%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
  position: relative;
  z-index: 10;
}

.hero .content h1 {
  font-size: 5em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 0.5rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  mix-blend-mode: difference;
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

/*About Section*/
.about,
.menu {
  padding: 8rem 2rem;
  text-align: center;
}

.about h2,
.menu h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about .row .content p {
  margin-bottom: 8rem;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 1.6;
}

/*menu section*/
.menu h2 {
  margin-bottom: 1rem;
}
.menu p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

/*menu section*/
.menu h2 {
  margin-bottom: 1rem;
}
.menu p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.menu .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom */
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

/* Media Queris */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
  #lobalobster-menu {
    display: inline-block;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0;
  }
  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}

/* MENU SECTION — FIXED & RESPONSIVE */
.menu .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  padding: 0 1rem;
}

.menu-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 0.5rem;
}

.menu-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.menu-card-tittle {
  margin-top: 1rem;
  font-size: 1.6rem;
}

.location {
  padding: 8rem 2rem;
  text-align: center;
}

.location h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.location h2 span {
  color: var(--primary);
}

.location p {
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.map-container {
  margin-top: 3rem;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CONTACT SECTION */
.contact {
  padding: 8rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.contact h2 span {
  color: var(--primary);
}

.contact p {
  max-width: 35rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.contact-row {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(3px);
  transition: 0.3s;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.contact-card i {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.contact-card a {
  color: var(--primary);
}

.kontak {
  padding: 40px 20px;
  text-align: center;
}

.kontak-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.kontak-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.kontak-item a:hover {
  color: #00aaff;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Text Improvement */
body {
  color: #f5f5f5;
}

/* Stronger Headings */
h2 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Improve paragraph text */
.hero .content p,
.about .row .content p,
.menu p,
.contact p {
  font-weight: 300;
  letter-spacing: 0.1px;
}

/* Card Titles Stronger */
.contact-card h3,
.menu-card-tittle {
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* HERO - improve readability */
.hero {
  position: relative; /* pastikan overlay bekerja */
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/tentangkami.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* dark overlay so white text is visible on any image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  ); /* adjust opacity if still too bright/dark */
  z-index: 1;
  pointer-events: none;
}

/* content should sit above overlay */
.hero .content {
  position: relative;
  z-index: 2;
  padding: 2rem 7%;
  max-width: 60rem;
  color: #ffffff;
}

/* remove blend mode if present and force readable styles */
.hero .content h1,
.hero .content p {
  mix-blend-mode: normal !important;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* stronger, clearer heading & paragraph */
.hero .content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero .content p {
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 300;
  margin-top: 0.6rem;
  opacity: 0.95;
}

/* CTA more visible */
.hero .content .cta {
  margin-top: 1.2rem;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--primary), #2b6df4);
  box-shadow: 0 8px 24px rgba(66, 134, 244, 0.18);
  color: #fff;
  border-radius: 0.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: inline-block;
}

.hero .content .cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(66, 134, 244, 0.25);
}

/* small screens adjust */
@media (max-width: 768px) {
  .hero .content h1 {
    font-size: 2.4rem;
  }
  .hero .content p {
    font-size: 1.1rem;
  }
  .hero .content {
    padding: 2rem;
  }
}
