@import url("https://fonts.googleapis.com/css2?family=Handlee&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  --primary-color: rgb(0, 148, 99);
  --primary-bg: rgb(31, 31, 31);
  --secondary-bg: rgb(236, 236, 236);
  --hover-bg: rgb(44, 44, 44);
  --nav-item-padding: 1rem 1.4rem;
  --section-padding: 2.8rem 1.4rem;
  --header-font: "Handlee", cursive;
  --text-font: "Roboto", sans-serif;
  line-height: 35px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--text-font);
}

.container {
  max-width: 1100px;
  margin: auto;
}

.color-primary {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-bg);
  border-radius: 7px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1.2px;
}

.btn:hover {
  background-color: var(--hover-bg);
  color: var(--primary-color);
}

/* ====== Preloader ====== */
.preloader {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10;
}

.preloader > div:nth-child(1) {
  width: 4rem;
  height: 4rem;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: var(--primary-bg);
  animation: spin 1s ease-in-out infinite;
}

.preloader > div:nth-child(2) {
  margin-top: 3rem;
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary-color);
  font-family: var(--header-font);
  letter-spacing: 2px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ====== NAV TOGGLE BUTTON ====== */
.toggle {
  display: none;
}

#toggle-check {
  position: absolute;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.toggle-btn {
  height: 100%;
  padding: var(--nav-item-padding);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn span {
  width: 20px;
  height: 2px;
  background-color: white;
  position: relative;
}

.toggle-btn span::after,
.toggle-btn span::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: white;
  position: absolute;
  left: 0;
}

span::before {
  top: -7px;
}

span::after {
  top: 7px;
}

.toggle-btn:hover span,
.toggle-btn:hover span::before,
.toggle-btn:hover span::after {
  background-color: var(--primary-color);
}

/* ====== Styles Applied AFTER the CLICK of TOGGLE BUTTON ====== */
#toggle-check:checked ~ nav .toggle-btn span {
  background-color: transparent;
}

#toggle-check:checked ~ nav .toggle-btn span::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--primary-color);
}

#toggle-check:checked ~ nav .toggle-btn span::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--primary-color);
}

#toggle-check:checked ~ nav ul {
  display: flex;
  animation-name: nav-slide-animation;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.02, 0.48, 0.59, 1.48);
}

@keyframes nav-slide-animation {
  0% {
    transform: translateX(-100%);
  }
}

/* ====== NAV BAR ====== */
header {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: var(--primary-bg);
  z-index: 2;
}

nav div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav h1 {
  color: white;
  text-transform: uppercase;
  font-family: var(--header-font);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: var(--nav-item-padding);
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  flex: 1;
  list-style-type: none;
}

nav a {
  display: block;
  color: white;
  text-decoration: none;
  padding: var(--nav-item-padding);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
}

nav a:hover,
.current {
  background-color: var(--hover-bg);
  color: var(--primary-color);
}

/* ====== SHOWCASE ====== */
.showcase {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(../img/img2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.transparent-layer {
  position: absolute;
  top: 0;
  right: 0;
  height: inherit;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.73);
}

.showcase > div {
  height: inherit;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.showcase .text-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding);
  color: white;
  z-index: 1;
}

.showcase .text-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 60px;
  font-family: var(--header-font);
}

.showcase .text-content p {
  margin-top: 30px;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.showcase .text-content a {
  margin-top: 30px;
}

.showcase .text-content .author {
  letter-spacing: 2px;
}

/* ====== Home 2nd Section ====== */

.feature-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #ffffff; /* Dark background to match screenshot */
  color: rgb(53, 53, 53);
  flex-wrap: wrap; /* Allow flex items to wrap to new lines */
}

.feature-box {
  flex: 1;
  padding: 20px;
  min-width: 300px; /* Ensure a minimum width for the boxes */
}

.feature-box img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-family: var(--header-font);
  font-size: 35px;
  margin-bottom: 10px;
}

.feature-box p {
  font-family: var(--header-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  padding: 40px 50px;
}

.feature-box:nth-child(2) {
  background-color: #0E9247; /* Green background for the middle box */
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
  .feature-section {
    flex-direction: column; /* Stack the boxes vertically */
  }
  
  .feature-box {
    max-width: 100%; /* Full width on mobile */
    padding: 20px 10px; /* Reduce padding for better fit */
  }
  
  .feature-box img {
    width: 80px; /* Adjust image size for mobile */
    margin-bottom: 15px;
  }

  .feature-box h3 {
    font-size: 28px; /* Adjust heading size for mobile */
  }

  .feature-box p {
    font-size: 14px; /* Adjust paragraph size for mobile */
    padding: 20px 10px; /* Reduce padding for better fit */
  }
}

/* ====== Home 3rd Section ====== */
.text-heading {
  display: block;
  margin: auto;
  font-family: var(--header-font);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding-top: 50px;
  text-align: center; /* Add this line to center the text */
  color: rgb(110, 110, 110)
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  height: 600px;
  margin: auto;
  overflow: hidden;
  border-radius: 13px;
}

@media (max-width: 768px) {
.carousel-container {
  position: relative;
  max-width: 1000px;
  height: 600px;
  padding: 10px;
  margin: auto;
  overflow: hidden;
  border-radius: 13px;
}
}


.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  display: none;
}

.carousel-container img:first-child {
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



.home-3rd-section {
  width: 100%;
  height: 700px;
  display: flex;
}

.home-3rd-section .text-content {
  height: inherit;
  background-color: var(--primary-bg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  width: 50%;
}

.home-3rd-section .text-content p {
  letter-spacing: 1px;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 25px;
  padding: 3rem 2rem;
}

/* ====== About ====== */
.about .text-content h1 {
  font-family: var(--header-font);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.text-heading-2 {
  width: 100%; /* Full width for mobile */
  display: block;
  margin: auto;
  font-family: var(--header-font);
  font-size: 1.2rem; /* Smaller font size for mobile */
  font-weight: 800;
  letter-spacing: 2px;
  padding: 0 20px; /* Reduce padding for mobile */
  text-align: center; /* Center text for better mobile view */
  color: rgb(110, 110, 110);
}

.text {
  font-family: var(--header-font);
  font-size: 1.8rem; /* Smaller font size for mobile */
  font-weight: 800;
  letter-spacing: 2px;
}

.home-3rd-section-2 {
  width: 100%; /* Full width for mobile */
  height: auto; /* Adjust height for mobile */
  padding: 20px; /* Adjust padding for mobile */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center align items */
}

.carousel-container-2 {
  position: relative;
  width: 100%; /* Full width for mobile */
  max-width: 300px; /* Set a max-width */
  height: auto; /* Adjust height for mobile */
  margin: auto;
  overflow: hidden;
  border-radius: 13px;
}

/* Media Query for Larger Screens */
@media (min-width: 769px) {
  .text-heading-2 {
    width: 700px;
    font-size: 1.5rem;
    padding: 0 100px;
    text-align: left; /* Align text to the left on larger screens */
  }

  .text {
    font-size: 2.3rem;
  }

  .home-3rd-section-2 {
    width: 95%;
    height: 600px;
    padding: 0 300px;
    flex-direction: row; /* Default to row direction for larger screens */
  }

  .carousel-container-2 {
    max-width: 300px;
    height: 500px;
  }
}

.about .text-content p {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  margin: 10px 0px;
}

.testimonials-title {
  color: black;
}

.about > div {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  padding: var(--section-padding);
}

.about > div article {
  flex: 1;
}

.about .text-content {
  text-align: justify;
}

.about .image {
  background-image: url(../img/about-image.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 7px;
}

/* ====== Testimonials ====== */
.testimonials {
  background-image: url(../img/testimonial.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: relative;
}

.testimonials .transparent-layer {
  background-color: rgba(40, 40, 39, 0.1);
}

.testimonials h1 {
  color: rgb(19, 19, 19);
  font-family: var(--header-font);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 3rem;
  text-align: center;
  z-index: 1;
}

.testimonials p {
  line-height: 30px;
  text-align: justify;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
}

.testimonials > div:nth-child(2) {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: var(--section-padding);
}

.testimonials article {
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  opacity: 0.85;
  background-color: white;
}

.testimonials article img {
  display: block;
  width: 120px;
  min-height: 100%;
  border-radius: 50%;
  padding: 2px;
  margin-right: 20px;
  border: 4px solid var(--primary-color);
}

/* ====== Contact ====== */
.contact > div {
  padding: var(--section-padding);
}

.contact h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-family: var(--header-font);
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact textarea,
.contact input {
  font-size: 1.2rem;
  width: 100%;
  padding: 0.5rem 1rem;
  margin-bottom: 10px;
  border: 1px solid var(--primary-bg);
  border-radius: 5px;
  font-family: var(--text-font);
}

.contact textarea {
  height: 160px;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact .btn {
  color: white;
}

/* ====== Contact Details Section ====== */
.contact-details {
  background-color: var(--primary-bg);
}

.contact-details > div {
  display: flex;
  align-items: stretch;
  padding: var(--section-padding);
}

.contact-details > div > div {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-details > div div article {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.contact-details i {
  color: white;
  margin-bottom: 20px;
}

.contact-details p {
  font-size: 1.1rem;
  text-align: center;
  color: white;
  letter-spacing: 1px;
}

.map {
  margin: auto;
  border-radius: 10px;
}


/* ====== tariff page ====== */

.showcase-2 {
  position: relative;
  width: 100%;
  height: auto; /* Adjust height for mobile */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px 0; /* Add padding for mobile */
}

.page-container {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px; /* Reduce padding for mobile */
  background-color: #f0f0f0;
}

.main-title {
  color: rgb(51, 71, 55);
  text-align: center;
  padding: 10px;
}

.plans-container {
  display: flex;
  flex-direction: column; /* Stack the plans vertically */
  border-radius: 12px;
  padding: 10px 20px; /* Adjust padding for mobile */
  justify-content: center; /* Center align the plans */
}

.plan-card {
  background-color: rgb(212, 206, 206);
  padding: 20px;
  width: 100%; /* Full width on mobile */
  margin-bottom: 20px; /* Add margin between cards */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.plan-title {
  color: #333;
}

.plan-list {
  padding-left: 20px;
}

.bbq-info {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

/* Media Query for Mobile View */
@media (min-width: 769px) {
  .plans-container {
    flex-direction: row; /* Default to row direction for larger screens */
    justify-content: space-between;
    padding: 10px 100px;
  }

  .plan-card {
    width: 45%; /* 45% width on larger screens */
    margin-bottom: 0; /* Remove margin between cards */
  }
}

/* ====== Footer ====== */
footer {
  text-align: center;
  color: white;
  letter-spacing: 1px;
  background-color: var(--primary-bg);
}

footer > div {
  padding: 1.4rem;
}



@media (max-width: 1000px) {
  /* ====== About ====== */
  .about .text-content {
    width: 100%;
  }

  .about .image {
    display: none;
  }
}

@media (max-width: 700px) {
  /* ====== Home 2nd Section ====== */
  .home-2nd-section {
    flex-direction: column;
  }

  /* ====== Home 3rd Section ====== */
  .home-3rd-section {
    height: fit-content;
  }

  .home-3rd-section .img {
    display: none;
  }

  .home-3rd-section .text-content {
    width: 100%;
  }

  /* ====== Contact Details Section ====== */
  .contact-details > div {
    flex-direction: column;
  }

  .contact-details > div div {
    flex-direction: row;
    border-bottom: 1px dashed rgb(59, 59, 59);
  }

  .contact-details > div div > p {
    flex: 1;
  }

  .contact-details > div div article {
    flex: 1;
    margin-bottom: 0px;
  }
}

@media (max-width: 500px) {
  :root {
    font-size: 14px;
  }

  .toggle {
    display: inline-block;
  }

  /* ====== NAV BAR ====== */
  nav ul {
    width: 100%;
    position: absolute;
    right: 0;
    text-align: center;
    display: none;
    background-color: var(--primary-bg);
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a.current {
    border-bottom: 2px solid var(--primary-color);
  }

  /* ====== Testimonials ====== */
  .testimonials article {
    display: block;
  }

  .testimonials .image {
    margin-bottom: 10px;
    float: left;
  }

  /* ====== Contact Details Section ====== */
  .contact-details > div div {
    flex-direction: column;
  }
}
