/* FONTS */
@import url(../css/clash-display.css);

/* VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #4e57d4;
  --c-brand-light: #6970dd;
  --c-brand-rgb: 78, 87, 212;
  --c-body: #727272;
  --font-base: "ClashDisplay", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.5s ease;
  --orange-color: #fa8a1ad9;
  --white-color: #fff;
  --nav-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  --font-color-primary: #fff;

  --formBg: #343F4B;
  --primaryColor: #0b0b0b;
  --paraColor: #ffffff;
}


/* RESET & HELPERS */
body {
  background: linear-gradient(to top, #6d3d2480, #ffbc5e);
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-body);
  padding-top: 120px;
}

h3,
h4,
h6,
.h3,
.h4,
.h6 {
  font-weight: 600;
  color: var(--c-dark);
}

a {
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
}

.theme-shadow {
  box-shadow: var(--box-shadow);
}

/* NAVBAR */
.nav {
  height: var(--header-height);
  background-color: var(--orange-color);
  padding: 0.5rem 1.5rem;
  border-radius: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--nav-shadow);
}

/* LOGO */
.nav__logo {
  width: 50px;
  height: 50px;
  background-color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.nav__logo img {
  width: 70%;
  transition: transform .6s;
}

.nav__logo:hover img {
  transform: rotateY(360deg);
}


.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}


.navbar.hide {
  transform: translateY(-100%);
}

/* MENU DESKTOP CENTER */
@media screen and (min-width: 1150px) {
  .nav__menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* MENU LIST */
.nav__list {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.nav__link span {
  transition: .4s;
}

.nav__link span:nth-child(2) {
  position: absolute;
  transform: translateY(150%);
}

.nav__link:hover span:nth-child(1) {
  transform: translateY(-150%);
}

.nav__link:hover span:nth-child(2) {
  transform: translateY(0);
}

/* TOGGLE BUTTON */
.nav__toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 1.6rem;
  cursor: pointer;
  position: relative;
}

/* Hide toggle on desktop */
@media screen and (min-width: 1150px) {
  .nav__toggle {
    display: none;
  }
}

.nav__burger,
.nav__close {
  position: absolute;
  transition: .3s;
}

.nav__close {
  opacity: 0;
}

/* MOBILE MENU */
@media screen and (max-width: 1149px) {

  .nav__menu {
    position: fixed;
    top: 6rem;
    left: 0;
    right: 0;
    background: #f47830e0;
    margin: 0 2rem;
    padding: 3rem 0;
    border-radius: 2rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: .4s;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }

  .show-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Toggle animation */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/* BTN */
.btn {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 24px;
}

.btn-brand {
  background-color: var(--c-brand);
  border-color: var(--c-brand);
  color: white;
}

.btn-brand:hover {
  background-color: var(--c-brand-light);
  border-color: var(--c-brand-light);
  color: white;
}


/* ================= CONTACT LAYOUT ================= */

.contact-banner {
  position: relative;
  height: 250px;
  /* tidak terlalu tinggi */
  background: url('../images/ronaldo.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  /* efek gelap */
  top: 0;
  left: 0;
}

.banner-content {
  position: relative;
  color: #fff;
  z-index: 2;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.banner-content p {
  font-size: 14px;
  color: #ccc;
}

.contact-section {
  background: #2a2929;
  padding: 80px 10%;
  color: #fff;
  font-family: Arial, sans-serif;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* LEFT FORM */
.contact-form {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 8px;
}

.contact-form h5 {
  color: #e0d6d6;
  margin-bottom: 10px;
}

.contact-form h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Gaya untuk input date picker */
.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

/* Gaya untuk input tanggal */
.contact-form input[type="date"] {
  color: #777;
  background-color: transparent;
  border: 1px solid #333;
}


.contact-form input[type="date"]::placeholder {
  color: #777;
  opacity: 1;
}


.contact-form input[type="date"]:not(:placeholder-shown) {
  color: #fff;
}


.contact-form input[type="date"]:placeholder-shown {
  color: #777;
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background: transparent;
  border: 1px solid #333;
  color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
  /* Agar ga melar */
}


.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #777;
}

/* Gaya untuk tombol */
.contact-form button {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #fff;
  color: #000;
}

/* RIGHT INFO */
.contact-info .desc {
  margin-bottom: 30px;
  color: #bbb;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.info-box h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

.info-box p {
  color: #aaa;
  font-size: 14px;
}

/* MAP */
.map iframe {
  border-radius: 6px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px 15px;
    /* Kurangi padding agar textbox bisa panjang */
  }

  .info-box {
    justify-content: center;
    /* Center icon dan text WA */
  }

  .contact-info .desc {
    text-align: center;
  }
}

.info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.icon ion-icon {
  font-size: 32px;
  /* Make it slightly bigger since it's on top */
  color: #fff;
  margin-bottom: 5px;
}

.bottom-banner {
  background: #111;
  padding: 70px 20px;
  text-align: center;
}

.bottom-container {
  max-width: 800px;
  margin: auto;
}

.bottom-banner h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #fff;
}

.bottom-banner p {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 25px;
}

/* FOOTER */
footer {
  position: relative;
  width: 100%;
  background: #F47930;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px 0;
  margin-top: 100px;
}

footer .social_icons,
footer .menu {
  list-style: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
  padding: 0;
}

footer .social_icons li a {
  font-size: 2em;
  color: #fff;
  margin: 0 10px;
  transition: .5s;
  display: inline-block;
}

footer .social_icons li a:hover {
  transform: translateY(-10px);
}

footer .menu li a {
  font-size: 1.2em;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  text-decoration: none;
  opacity: .75;
}

footer .menu li a:hover {
  opacity: 1;
}

footer p {
  margin-top: 15px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.1em;
  text-align: center;
}

footer .wave {
  position: absolute;
  top: -90px;
  left: 0;
  height: 100px;
  width: 100%;
  background: url('../images/wave.png');
  background-size: 1000px 100px;
}

footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
  z-index: 999;
  opacity: .5;
  bottom: 10px;
  animation: animateWave_02 4s linear infinite;
}

footer .wave#wave3 {
  z-index: 1000;
  opacity: .2;
  bottom: 15px;
  animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
  z-index: 999;
  opacity: .7;
  bottom: 20px;
  animation: animateWave_02 3s linear infinite;
}

@keyframes animateWave {
  0% {
    background-position-x: 1000px;
  }

  100% {
    background-position-x: 0px;
  }
}

@keyframes animateWave_02 {
  0% {
    background-position-x: 0px;
  }

  100% {
    background-position-x: 1000px;
  }
}