:root {
  --primary: #c21010;
  --bg: #f5f5f5;
  /* Red #CC284D Dark Blue#2E4054 White #BFD2E0 Semi White #98A3A9 */
}

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: #010101;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(12, 49, 67, 0.8);
  border-bottom: 1px solid #551222;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
}
.navbar .navbar-logo img {
  width: 50px;
  height: 50px;
}

.navbar .navbar-nav a {
  color: #ffffff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover,
.navbar .navbar-nav a.active {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: '';
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #ffffff;
  margin: 0 0.5rem;
  display: inline-block;
  align-items: center;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* Hero Section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../img/header-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(245, 245, 245) 8%,
    rgba(255, 255, 255, 0) 50%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 4em;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 300;
  color: #ec7171;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  /* mix-blend-mode: difference; */
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #ffffff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

/* About Section */

.about,
.menu,
.contact {
  padding: 5.5rem 7% 1.4rem;
}

.about h2,
.menu h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 100%;
}

.about .row .content {
  float: 1 1 35rem;
  padding: 1rem;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
}

.about .visi h3 {
  text-align: center;
  font-size: 3rem;
  margin-top: 1rem;
}
.about .misi h3 {
  text-align: center;
  font-size: 3rem;
  margin-top: 1rem;
}

.about .visi .content p {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
}
.about .misi .content ul {
  margin-bottom: 0.8rem;
  margin-left: 1.4rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Menu Section */

.menu h2,
.contact h2 {
  margin-bottom: 1rem;
}
.menu p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 1.6;
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

.menu .row .menu-card {
  text-align: center;
  padding-bottom: 2rem;
}

.menu .row .menu-card img {
  border-radius: 50%;
  width: 80%;
}

.menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
}

/* Contact Section */

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
  /* flex-wrap: wrap; */
}

/* .contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
} */

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--bg);
  border: 1px solid #000;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  padding: 1rem;
  font-size: 1.4rem;
  background: none;
  color: #000;
}

.contact .row form .btn {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
}

.form {
  grid-area: form;
}

.info {
  grid-area: info;
}

.map {
  grid-area: map;
}

.contactus {
  padding: 2.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.15);
}

.box {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 5fr 4fr;
  grid-template-areas:
    'form info'
    'form map';
  grid-gap: 1.4rem;
  margin-top: 1.4rem;
}

.contact h3 {
  color: #000;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}
/* form */
.formBox {
  position: relative;
  width: 100%;
}
.formBox .row50 {
  display: flex;
  flex-direction: column;
}

.inputBox {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}

.inputBox input {
  border: 1px solid #000;
  padding: 0.7rem;
  outline: none;
  border: 1px solid #333;
}

.formBox .row100 .inputBox {
  width: 100%;
}
.formBox .row100 .inputBox textarea {
  resize: none;
  border: 1px solid #000;
  height: 5rem;
  padding: 1rem;
  min-height: 13rem;
}

.formBox .row100 .inputBox .btn {
  display: inline-block;
  padding: 0.5rem 3rem;
  font-size: 1rem;
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
  max-width: 8rem;
  font-weight: 500;
}

/* Info box */
.info {
  background: rgb(12, 49, 67);
}

.info h3 {
  color: #fff;
}

.info .infoBox div {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.info .infoBox div span {
  min-width: 3rem;
  height: 3rem;
  color: #fff;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  border-radius: 50%;
  margin-right: 1rem;
}

.info .infoBox div p {
  color: #fff;
  font-size: 1rem;
  text-align: left;
  font-weight: 500;
  margin: 0;
}
.info .infoBox div a {
  color: #fff;
  font-size: 1rem;
  text-align: left;
  font-weight: 500;
  text-decoration: none;
}

.map {
  padding: 0;
}

.map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer Section */

.container {
  max-width: 100%;
  background-color: rgba(12, 49, 67);
  margin: auto;
}

.container .row {
  margin: 15px 90px;
  display: flex;
  flex-wrap: wrap;
}

.container .row ul {
  list-style: none;
}

.footer {
  background-color: #24262b;
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}
.footer-col h4 {
  font-size: 1.25rem;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: var(--primary);
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 10px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #fff;
}

/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }

  .footer-col ul li a {
    font-size: 100%;
  }
}
/* Tablet */
@media (max-width: 941px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #000000;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row .form {
    padding-top: 0;
  }

  .box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      'form'
      'info'
      'map';
  }

  .map {
    min-height: 30rem;
  }

  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
  .container .row {
    margin: 15px 15px;
  }
}
/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .footer-col {
    width: 100%;
    margin-bottom: 30px;
  }
  .container .row {
    margin: 15px 15px;
  }
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px; /* Increase width for portrait images */
  height: 600px; /* Adjust height */
  margin: auto;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 800%; /* Ensures proper scrolling */
  height: 100%;
  align-items: center; /* Center items vertically */
}

.menu-card {
  min-width: 12.5%; /* Each card takes up 1/8 of the width */
  text-align: center;
  height: 100%; /* Ensure it fills the carousel */
}

.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the space */
  border-radius: 10px; /* Optional rounded corners */
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 15px;
  font-size: 24px;
  z-index: 10;
}
.prev {
  left: 0; /* Adjust positioning */
}
.next {
  right: 0;
}
