/* ===== GLOBAL RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
}
  
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}
  
/* ================= HEADER / NAVBAR ================= */
.header {
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #0f172a, #020617);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
  
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
  
.logo img {
    width: 40px;
    height: auto;
}
  
.logo span {
    color: white;
    font-size: 22px;
    font-weight: bold;
}
  
.nav {
    display: flex;
    gap: 28px;
}
  
.header .nav a {
    font-size: 15px;
    line-height: 1;
    color: #e5e7eb;
}
  
.header .nav a:hover {
    color: #38bdf8;
}

.btn-header {
    padding: 10px 20px;
    background: #7c7cff;
    color: #000;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}
  
.btn-contact {
    background: #aaacff;
    color: #000;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
  
.btn-contact:hover {
    background: #8f91ff;
}
  
/* ===== HERO BACKDROP ===== */
.hero-backdrop {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 120px;
  
    background:
      linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
      url("totem-signage.jpg") center / cover no-repeat;
  
    display: flex;
    justify-content: center;
    align-items: center;
  
    text-align: center;
    color: white;
    overflow: hidden;
} 
  
.hero {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    color: #fff;
}  
      
.hero h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0px;
}
  
.hero h2 {
    font-size: 32px;
    margin-bottom: 0px;
    line-height: 1.2;
}
  
.hero p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 32px;
}
  
.hero .btn {
    display: inline-block;
    padding: 14px 30px;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}
  
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
  
/* Tombol Konsultasi */
.btn-primary {
    min-height: 56px;
    padding: 0 30px;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 14px;
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}
  
/* Tombol WhatsApp */
.btn-whatsapp {
    min-height: 56px;
    padding: 0 26px;
    background: #25D366;
    color: #fff;
    border-radius: 14px;
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}
  
.btn-whatsapp img {
    width: 22px;
    height: 22px;
    display: block;
}  
  
/* ================= ABOUT ================= */
.about {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}
  
.about h2 {
    text-align: center;
    margin-bottom: 40px;
}
  
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
  
.about-text p {
    text-align: left;
    font-size: 17px;
    line-height: 1.5;
    color: #444;
    margin-top: 0;
}  
  
.about-image img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}
  
/* ================= SECTION CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 60px 0;
}
  
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
  
.section-title h2 {
    font-size: 28px;
    color: #004e92;
}
  
/* ================= SERVICES ================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
  
.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}
  
.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
  
.card h3 {
    color: #004e92;
    margin-bottom: 10px;
}
  
/* ================= GALLERY ================= */
.gallery {
    background: #fff;
    padding: 60px 20px;
}
  
.gallery-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
  
.gallery-grid img {
    width: 100%;
    display: block;
    border-radius: 10px;
}
  
/* ================= WHY CHOOSE US ================= */
/* ================= WHY US (CARD VERSION) ================= */
/* WHY CHOOSE US */
.why-choose-us {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}
  
.why-choose-us h2 {
    font-size: 32px;
    font-weight: 800;
    color: #004e92;
    margin-bottom: 50px;
}  
  
.why-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
  
.why-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}  
  
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}  
  
.why-icon {
    width: 70px;
    height: 70px;
    background: #e6f4ff;
    border-radius: 16px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin: 0 auto 20px;
}
  
.why-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}  
  
.why-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}
  
.why-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}
  
/* RESPONSIVE */
@media (max-width: 900px) {
.why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
  
@media (max-width: 500px) {
.why-grid {
    grid-template-columns: 1fr;
  }
}    
  
/* ================= CTA ================= */
.cta {
    background: #004e92;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
  
.cta .btn {
    display: inline-block;
    margin-top: 20px;
    background: #38bdf8;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
  
/* ================= CONTACT FORM ================= */
.contact-form {
    background: #fff;
    padding: 60px 20px;
}
  
.contact-form form {
    max-width: 600px;
    margin: auto;
}
  
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
  
.contact-form textarea {
    height: 120px;
    resize: none;
}
  
.contact-form button {
    width: 100%;
    padding: 14px;
    background: #004e92;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
  
.contact-form button:hover {
    background: #003a6d;
}

footer {
    background: #f5f5f5;
    padding: 15px 10px;
    text-align: center;
}
  
footer p {
    margin: 0;
    font-size: 14px;
    color: #555;
}  
  
/* ================= FLOATING CONTACT PREMIUM ================= */
.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
  
    display: flex;
    flex-direction: column;
    gap: 12px;
  
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  
    transition: all 0.4s ease;
    z-index: 9999;
}
  
.floating-contact.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
  
/* BUTTON BASE */
.fab {
    width: 56px;
    height: 56px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
  
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    position: relative;
}
  
/* HIDE TEXT */
.fab span {
    display: none;
}
  
/* ICON */
.fab img {
    width: 26px;
    height: 26px;
}
  
/* WHATSAPP */
.fab.whatsapp {
    background: #25D366;
    animation: pulse 2s infinite;
}
  
/* TELEPON */
.fab.phone {
    background: #0d6efd;
    font-size: 22px;
}
  
/* HOVER EFFECT */
.fab:hover {
    transform: scale(1.12);
}
  
/* PULSE ANIMATION */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
  
/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
.floating-contact {
    bottom: 15px;
    right: 15px;
  }
  
.fab {
    width: 50px;
    height: 50px;
  }
  
.fab img {
    width: 22px;
    height: 22px;
  }
}
  
.since-badge {
    margin: 0 auto 24px;
    padding: 14px 36px;
  
    display: inline-block;
    border-radius: 999px;
  
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 2px;
  
    color: #ff00cc;
    background: rgba(255, 0, 204, 0.12);
    border: 2px solid #ff00cc;
  
    text-shadow:
      0 0 5px #ff00cc,
      0 0 15px #ff00cc;
}  

html {
    scroll-behavior: smooth;
}

/* ===== GOOGLE MAPS & ALAMAT ===== */
.location-section {
  padding: 60px 20px;
  background: #f8f8f8;
  max-width: 1200px;
  margin: auto;
}

.location-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.map-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.address-info {
  text-align: center;
}

.address-info h3 {
  margin-bottom: 10px;
}

.address-info p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.map-link {
  display: inline-block;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ff6a00;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

.local-seo {
  font-size: 14px;
  color: #555;
}


/* ===== Mobile responsif ===== */
@media (max-width: 768px) {

.header-inner {
  flex-direction: column;
  padding: 16px;
  gap: 12px;
}

.btn-header {
  width: 100%;
  text-align: center;
}
.nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
  
.nav a {
  font-size: 14px;
  white-space: nowrap;
}

}

/* ===== FIX MOBILE OVERFLOW AZEKA PRINT ===== */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden !important;
  }

  header,
  nav,
  .header,
  .header-inner {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  nav {
    overflow-x: hidden;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav a {
    font-size: 14px;
    padding: 8px 10px;
    white-space: normal; /* PENTING */
  }
}

  /* ===== FIX SINCE BADGE MOBILE ===== */
@media (max-width: 768px) {

  .since-badge {
    font-size: 16px;
    padding: 8px 20px;
    margin: 0 auto 14px;

    position: relative;
    top: 0;
    left: 0;
    transform: none;

    border-width: 1px;
    letter-spacing: 1px;

    text-shadow:
      0 0 4px #ff00cc,
      0 0 8px #ff00cc;
  }

  .hero h1 {
    margin-top: 10px;
  }
}
