* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f1ef;
  color: #111;
}

/* HERO */

#menu_checkbox {
  display: none;
}

label[for="menu_checkbox"] {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;

  width: 40px;
  height: 40px;
  cursor: pointer;
}

label[for="menu_checkbox"] div {
  height: 3px;
  width: 30px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* animation */

#menu_checkbox:checked + label div:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

#menu_checkbox:checked + label div:nth-child(2) {
  opacity: 0;
}

#menu_checkbox:checked + label div:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* overlay container */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  height: 100vh;
  width: 70%;
  max-width: 320px;

  background: rgb(92, 46, 34, 0.68);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);


  padding: 100px 30px;

  transform: translateX(-100%);
  transition: transform 0.4s ease;

  z-index: 999;
}

/* nav layout inside */
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav nav a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}


/* show menu when checked */
#menu_checkbox:checked ~ .mobile-nav {
  transform: translateX(0);
}

.hero {
  min-height: 100vh;
  height:auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url('assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 30px 80px;
  background-repeat: no-repeat;
  padding-bottom: 200px;
}

header {
  height: 50px;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;

  z-index: 1000;
}

.logo {
  color: white;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 50px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

header button {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
}

.hero-content {
  text-align: center;
  color: white;
  margin-top: 100px;
}

.hero-content p {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 110px;
  font-weight: 600;
  line-height: 1;
}

/* CARDS */

.controls {
  display:none;
}

.cards-wrapper {
  padding: 20px
}

.cards {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
  position: absolute;
  bottom: -120px;
  left: 0;
  width: 100%;
  align-items: flex-end;
}

/* base card */
.card {
  background: white;
  padding: 12px;
  width: clamp(220px, 25vw, 300px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08),
              0 30px 60px rgba(0,0,0,0.12),
              0 60px 120px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* hover effect */
.card:hover {
  transform: scale(1.1);
  z-index: 5;
}

/* image */
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card h3 {
  font-size: 28px;
  margin-top: 20px;
  font-weight: 500;
}


/* ABOUT */

.about {
  padding: 0;
  background: #f4f1ef;
  padding-bottom: 20px;
}

.description {
  width: 100%;
  padding: 80px;
  background: white;
  padding: 100px 80px;
  margin-top: 90px;

  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.12),
    0 60px 120px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.about h2 {
  text-align: center;
  font-size: 52px;
  margin-bottom: 20px;
}

.about p {
  text-align: center;
  max-width: 800px;
  margin: auto;
  color: #555;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 100px;
  align-items: center;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.about-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 8px solid white;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 20px;

  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.feature span {
  color: #888;
  font-size: 22px;
}

.feature h3 {
  font-size: 36px;
  margin-top: 10px;
}

.feature.active h3 {
  color: black;
}

/* LOCATION */

.location {
  padding: 100px 80px;
  background: white;
  box-shadow:
    0 -20px 40px rgba(0, 0, 0, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.12),
    0 60px 120px rgba(0, 0, 0, 0.08);
}

.location h2 {
  text-align: center;
  font-size: 52px;
  margin-bottom: 60px;
}

.map {
  max-width: 1100px;
  margin: auto;
  background: #f3f3f3;
  padding: 25px;
}

.branches {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
  margin-top: 60px;
}

.branch {
  padding: 20px;
}

.branch.active {
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

.branch h4 {
  margin-bottom: 15px;
}

.branch p {
  color: #666;
  line-height: 1.7;
}

/* CONTACT */

.contact-container {
  padding: 120px 80px;
  background: #f4f1ef;
}

.contact-container h2 {
  text-align: center;
  font-size: 52px;
  margin-bottom: 60px;
  font-weight: 600;
}

/* FORM CARD */
.contact-container form {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 12px;

  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.12),
    0 60px 120px rgba(0, 0, 0, 0.08);
}

/* ROW (first + last name) */
.row {
  display: flex;
  gap: 30px;
}

/* FIELD WRAPPER */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
  flex: 1;
}

.field label {
  font-size: 14px;
  margin-bottom: 10px;
  color: #666;
}

/* INPUTS */
.field input,
.field textarea {
  padding: 16px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: 0.3s ease;
  background: #fafafa;
}

.field textarea {
  min-height: 140px;
  resize: none;
}

/* FOCUS EFFECT */
.field input:focus,
.field textarea:focus {
  border-color: #5c2e22;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(92, 46, 34, 0.1);
}

/* BUTTON */
.contact-container button {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 10px;
  background: #5c2e22;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}

.contact-container button:hover {
  background: #3f1f18;
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 10px 20px rgba(0,0,0,0.2),
    0 20px 40px rgba(0,0,0,0.15);

  z-index: 999;
  transition: 0.3s ease;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
}

.map iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    padding: 80px 20px;
  }

  .contact-container form {
    padding: 30px;
  }

  .row {
    flex-direction: column;
  }
}

/* FOOTER */

footer {
  background: #5c2e22;
  color: white;
  text-align: center;
  padding: 80px 20px;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.08);
}

.footer-logo {
  font-weight: 600;
  margin-bottom: 30px;
  color: white;
  font-size: 30px;
  letter-spacing: 2px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

footer nav {
  justify-content: center;
  margin-bottom: 40px;
}

footer p {
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terms {
  display: flex;
  gap: 20px;
}

/* RESPONSIVE */
@media (max-width: 1190px) {

  .controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 420px;
    position: relative;
    z-index: 10;
  }

  .controls button {
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }

  .cards {
    position: relative;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }

  .card {
    border-radius: 12px;
    position: absolute;
    width: 100%;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  /* LEFT */
  .card:nth-child(1) {
    transform: translateX(-40%) scale(0.85);
    opacity: 0.5;
    z-index: 1;
  }

  /* CENTER */
  .card:nth-child(2) {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
  }

  /* RIGHT */
  .card:nth-child(3) {
    transform: translateX(40%) scale(0.85);
    opacity: 0.5;
    z-index: 1;
  }

  .card:hover {
    transform: scale(1.08);
    z-index: 10;
    opacity: 1;
  }
}

@media(max-width: 768px) {

  .hero {
    padding-bottom: 80px;
  }

  .about {
    padding-top: 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    flex-direction: column;
    gap: 40px;
  }

  .contact-box {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 70px;
  }

  .feature {
    padding-left: 20px;
  }

  .feature h3 {
  font-size: 25px;
}
}

@media(max-width: 768px) {

  header {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .hero-content p {
    font-size: 28px;
  }

  .contact h2,
  .about h2,
  .location h2 {
    font-size: 38px;
  }

}

@media(max-width: 1080px) {

    header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
  }

  /* LEFT */
  label[for="menu_checkbox"] {
    display: flex;
    justify-self: start;
    margin: 0;
  }

  /* CENTER */
  .logo {
    justify-self: center;
    margin: 0;
  }

  /* RIGHT */
  header button {
    display: block;
    justify-self: end;
    margin: 0;
    padding: 10px 10px;
  }

  nav {
    display: none;
  }

    .hero {
    padding: 30px 0;
  }

  header {
    padding: 0 20px;
  }

  .footer-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .terms {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
  }

  .terms p {
    margin: 0;
  }

  footer {
    padding-left: 0;
  }

  footer p {
    font-size: 12px;
  }
}

@media(max-width: 446px) {
  .logo {
  font-size: 25px;
}
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}