/* BASE STYLES */
body {
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fa;
    color: #bca6a6;
}

.metro-primary {
    background: hsl(180, 100%, 100%) !important;
}

.metro-primary-text {
    color: #0078d7 !important;
}

.metro-card {
    background: white;
    border-radius: 0;
    border-left: 6px solid #0078d7;
    padding: 25px;
    transition: 0.2s;
}

.metro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.metro-card i {
    font-size: 45px;
    color: #0078d7;
}

/* HERO SECTION */
#hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 0;
  color: white;
  background: url('../images/RollingDoor.jpg') top left;
  background-size: cover;
  background-attachment: fixed;
}

#hero .hero-bg {
  position: relative;
  inset: 0;
  background: inherit;
  transform: scale(1.05);
  z-index: 0;
}

#hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

#hero .hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 650px;
  background: rgba(0,25,60,0.55);
  padding: 28px 34px;
  border-radius: 10px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fadeInUp .6s ease-out;
  box-shadow: 0 8px 38px rgba(0,0,0,0.28);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

#hero h1 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
}

#hero h1 span {
  color: #65b8ff;
}

#hero p {
  font-size: 19px;
  margin-bottom: 28px;
  color: #ffffff;
}

#hero .btn-get-started {
  padding: 13px 32px;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.35s;
  display: inline-block;
  background: linear-gradient(135deg, #0078d7, #0a96ff);
}

#hero .btn-get-started:hover {
  background: linear-gradient(135deg, #005a9e, #0a7ad1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #hero {
    padding: 40px 0;
    text-align: center;
    background-attachment: scroll;
  }
  #hero .hero-wrapper {
    max-width: 100%;
    border-radius: 8px;
    padding: 20px;
  }
  #hero h1 {
    font-size: 32px;
  }
  #hero p {
    font-size: 16px;
  }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* NAVBAR SECTION */
.navbar {
  background: #f5f9fcd4 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  min-height: 70px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 70px;
  transition: height 0.3s ease;
}

#logo-mobile {
  height: 46px;
}

.navbar .nav-link {
  position: relative;
  font-weight: 500;
  color: #333;
  padding: 8px 12px;
  transition: color 0.35s ease;
  font-size: 15px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #0078d7;
  text-shadow: 0 0 6px rgba(0,120,215,0.4);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #0078d7;
  transition: width 0.35s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar-mobile-title {
  /* display: none; */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  z-index: 9;
}

@media (max-width: 991px) {
  .navbar-brand img {
    height: 42px; /* shrink logo */
  }

  .navbar-mobile-title {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 600;
    color: #0078d7;
    white-space: nowrap;
    z-index: 10;
    text-align: center;
  }

  #logo-mobile {
    height: 42px;
    margin-right: 8px;
  }

  .navbar-nav {
    text-align: center;
    padding-top: 8px;
  }

  .nav-link {
    padding: 10px 0;
  }
  .navbar .nav-link:active,
  .navbar .nav-link:focus {
    color: #0078d7 !important;
    text-shadow: 0 0 6px rgba(0,120,215,0.4);
  }
  .navbar .nav-link:active::after,
  .navbar .nav-link:focus::after {
    width: 100%;
  }
}

/* SECTION ABOUT */
#about {
  color: #f0f6ff;
  line-height: 1.75;
  font-size: 17px;
  padding: 80px 0;

  background:
    linear-gradient(
      rgba(7, 19, 48, 0.82),
      rgba(10, 12, 28, 0.9)
    ),
    url("../images/RollingGrille3.jpg") center/cover no-repeat;
}

#about .container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

#about .about-title h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;

  display: inline-block;
  padding: 10px 22px;

  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  position: relative;
}

#about .about-title p {
  margin-top: 12px;
  font-size: 18px;
  color: #bcdcff;
}

#about .about-title h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #65b8ff;
  margin: 12px auto 0;
  display: block;
  border-radius: 2px;
}

#about .about-content {
  max-width: 900px;
  margin: 18px auto;
  color: #d8e8ff;

  background: rgba(255, 255, 255, 0.07);
  padding: 18px 24px;
  border-radius: 8px;

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-align: justify;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  #about .about-title h2 {
    font-size: 26px;
    padding: 8px 16px;
  }

  #about .about-content p {
    font-size: 16px;
    padding: 16px 20px;
  }
}

/* GALLERY SECTION */
#gallery img {
  width: 100%;
  height: 200px;      /* Tinggi fix, bisa kamu sesuaikan */
  object-fit: cover;  /* Crop otomatis supaya rapi */
  border-radius: 8px; /* Biar lebih halus */
  display: block;
}
#gallery .col-6 {
  padding: 4px;
}
.gallery-img {
  cursor: zoom-in; /* icon kaca pembesar, lebih relevan */
  transition: transform .3s ease, filter .3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}

@media (min-width: 991px) {
  #gallery img {
    height: 230px;
  }
}


.contact .info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

.contact .info-item i {
    font-size: 20px;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-newsletter {
    background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
    padding: 50px 0;
}

.footer .footer-newsletter h4 {
    font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: 0.3s;
    border-radius: 4px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: var(--surface-color);
    color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
    border: 0;
    font-size: 16px;
    padding: 0 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    margin-right: 3px;
    font-size: 12px;
    line-height: 0;
    color: var(--accent-color);
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    display: inline-block;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-about a {
    color: var(--heading-color);
    font-size: 24px;
    font-weight: 600;
    font-family: var(--heading-font);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}



/* Contact Icons */
.icon-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 2px;
    background: #0078d7;
    color: white;
}

.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    padding: 12px 14px;
    font-size: 27px;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    z-index: 999;
}

footer {
    background: white;
    border-top: 1px solid #ddd;
    padding: 15px 0;
}
