:root {
  --gold: #c9a24d;
  --dark: #111111;
  --soft: #f5f5f5;
}

* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--soft);
  color: #222;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}


body {
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 45px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.navbar {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: var(--gold);
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}


/* HERO */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.5);
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay h1 {
  font-size: 42px;
}

.overlay p {
  font-size: 20px;
  margin-top: 10px;
}



.hero {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
              url("images/gerbang_pci.jpg") center/cover no-repeat;
}

.hero-content h1 {
  font-size: 3.2rem;
}

.hero-btn {
  background: var(--gold);
  color: black;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 120, 70, 0.6); /* hijau transparan */
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

.hero-content h2 {
  color: orange;
  font-size: 2.2rem;
  margin: 10px 0;
}

.hero-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.hero-btn {
  background: orange;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.scroll-down {
  margin-top: 30px;
  opacity: 0.8;
  font-size: 14px;
}

/* Responsive HP */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content h2 { font-size: 1.5rem; }
}


/* ABOUT */
.about-hero {
  background: url("images/sunsetoverhouse.jpeg") center/cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px 40px;
  position: relative;
  color: #fff;
}

/* lapisan gelap tipis biar teks kebaca */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.about-overlay {
  position: relative;
  max-width: 700px;
}

.about-overlay h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.about-overlay h3 {
  font-size: 28px;
  color: orange;
  margin-bottom: 20px;
}

.about-overlay p {
  font-size: 16px;
  line-height: 1.7;
}



/* Mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}

/* GALERIES */
.galeries {
  padding: 80px 20px;
  text-align: center;
}

.galeries h2 {
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card h3 {
  margin: 10px 0;
}

.card button {
  background: #ff8c00;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.wa {
  display: block;
  margin-top: 10px;
  background: #25D366;
  color: white;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
}

.wa.big {
  padding: 15px 25px;
  font-size: 18px;
}

.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.card strong {
  color: var(--gold);
  font-size: 18px;
}


/* CONTACT */
.contact-section {
  background: #f5f5f5;
  padding-bottom: 80px;
}

.contact-hero {
  background: url("images/kantorpemasaran.png") center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: -50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 20px;
}

.contact-form, .contact-info {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.wa-btn {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
}

.info-card {
  margin-bottom: 20px;
}

.info-card a {
  color: #ff8c00;
  text-decoration: none;
  font-weight: bold;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}


/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}


@keyframes zoomIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.floating-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.floating-wa img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.floating-wa img {
  width: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.3s;
}

.floating-wa img:hover {
  transform: scale(1.1);
}



/* MOBILE */
@media (max-width: 768px) {
  nav a {
    margin-left: 10px;
    font-size: 14px;
  }

  .overlay h1 {
    font-size: 28px;
  }

  .overlay p {
    font-size: 16px;
  }
}
