@import url("https://fonts.googleapis.com/css2?family=Hammersmith+One&family=Khula:wght@300;400;600;700;800&family=Playwrite+HU:wght@100..400&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: hsl(32, 67%, 66%);
}

h1,
h2,
h3 {
  font-family: "Hammersmith One", sans-serif;
}

p {
  font-family: "Grandstander", cursive;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url("pics/bg03.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  flex-wrap: wrap;
}
.navbar a {
  text-decoration: none;
  margin-left: 45px;
  color: white;
  position: relative;
  padding: 15px;
  z-index: 1;
  overflow: hidden;
  font-weight: bold;
  font-size: 1.3rem;
}
.navbar a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  background-color: hsl(240, 57%, 71%);
  height: 100%;
  border-radius: 1000px;
  z-index: -1;
  transition: width 0.4s ease-in-out;
}

.navbar a:hover::after {
  width: 100%;
}

.logo {
  border-radius: 1000px;
  animation-name: spin;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  padding-left: 10px;
}

.logo:hover {
  transform: scale(1.1);
}
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px;
}

.hamburger-menu span {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 5px 0;
  transition: all 0.3s ease;
}
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("pics/bg03.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
}
h1 {
  font-size: 3em;
  color: black;
}
p {
  font-size: 1em;
  color: black;
  margin-bottom: 45px;
}
#home a {
  font-size: 1em;
  text-decoration: none;
}
.buttons {
  border: none;
  margin-top: 25px;
}

.buttons a {
  float: left;
  text-decoration: none;
  margin-right: 15px;
  padding: 10px 20px;
  color: black;
  border-radius: 5px;
  font-size: 2rem;
  text-align: center;
}

.btnlearn {
  border: none;
  padding: 15px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btnlearn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #00abf0;
  z-index: -1;
  border-radius: 1000px;
  transition: width 0.4s ease-out, background-color 0.4s ease-out;
}

.btnlearn:hover::after {
  width: 0;
  background-color: transparent;
}

.btncontact {
  border: none;
  padding: 15px;
  position: absolute;
  z-index: 1;
}

.btncontact::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  background-color: #00abf0;
  height: 100%;
  border-radius: 1000px;
  z-index: -1;
  transition: width 0.4s ease-in-out;
}

.btncontact:hover::after {
  width: 100%;
}

#products {
  background-color: hsl(32, 67%, 66%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-item {
  display: flex;
  background-repeat: no-repeat;
  border-radius: 5px;
  background-size: clamp(100px, cover, auto);
  background-position: left;
  gap: 30px;
  width: 90%;
  margin: 20px;
  height: 70vh;
  box-shadow: 4px -5px 5px hsl(32, 67%, 66%), -4px 5px 5px hsl(32, 67%, 66%);
  align-items: center;
  justify-content: center;
  background-color: hsl(32, 67%, 60%);
  border: 1px solid black;
}

.product-item img {
  height: 100%;
  border-top-left-radius: 5px;
  width: 40%;
}

.product-item h3 {
  bottom: 10px;
  margin: 0;
  font-weight: bold;
  font-size: 2em;
  text-align: right;
  flex-shrink: 0;
}

.product-item p {
  text-align: left;
  color: white;
  font-size: 1.3rem;
  padding: 5px;
  width: clamp(100px, 400px, 500px);
}
@media (max-width: 768px) {
  .product-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
  }

  .product-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .product-item h3,
  .product-item p {
    position: static;
    width: 90%;
    margin: 10px 0;
  }
}


#h-wood h3 {
  position: relative;
  left: 80px;
  bottom: 150px;
}

#h-wood p {
  position: relative;
  right: 200px;
  top: 20px;
}

#s-wood h3 {
  position: relative;
  left: 70px;
  bottom: 150px;
}

#s-wood p {
  position: relative;
  right: 200px;
  bottom: 20px;
}

#e-wood img {
  width: 60%;
}

#e-wood h3 {
  position: relative;
  left: 100px;
  bottom: 150px;
  flex-shrink: 0;
}

#e-wood p {
  position: relative;
  right: 300px;
  top: 50px;
}

#h-wood-more {
  position: relative;
  bottom: 130px;
  left: 50px;
}

#s-wood-more {
  position: relative;
  bottom: 200px;
  left: 4dvh;
}

#e-wood-more {
  position: relative;
  bottom: 120px;
  left: 70px;
}

#h-wood-more a,
#s-wood-more a,
#e-wood-more a {
  text-decoration: none;
  color: hsl(32, 67%, 10%);
  font-size: 1.2rem;
  font-weight: bold;
}

#h-wood-more a:hover,
#s-wood-more a:hover,
#e-wood-more a:hover {
  color: hsl(32, 67%, 17%);
}
@media (max-width: 768px) {
  #h-wood h3, #s-wood h3, #e-wood h3,
  #h-wood p, #s-wood p, #e-wood p {
    position: static;
    text-align: center;
    margin: 10px;
  }
}


.product-item div {
  flex: 1;
}

.textcontent {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  justify-content: center;
}

#products h2 {
  text-decoration: underline;
  font-size: 2em;
}

#about {
 
  padding: 20px;
}
#about h2 {
  text-align: center;
  text-decoration: underline;
}
.aboutcontainer {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}
.aboutcontainer h2 {
  font-weight: bold;
  font-size: 1em;
}

.aboutdetails {
  flex: 1;
  max-width: 70%;
  padding: 40px;
  background-color: rgba(255, 235, 192);
  box-shadow: 5px -4px 5px rgba(255, 235, 192), -5px 4px 5px rgba(255, 235, 192);
  font-size: 1.2rem;
  border-radius: 5px;
  margin: 30px;
  height: 70vh;
}
.aboutmap {
  flex: 1;
  max-width: 30%;
  max-height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

#pricing {
  height: 100vh;
  /* background-color: #007BA7; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

#pricing h2 {
  font-size: 2rem;
  text-decoration: underline;
  color: hsl(32, 67%, 10%);
}

table {
  width: 80%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 18px;
  text-align: left;
  margin: 20px;
  height: 100%;
}
th,
td {
  border: 1px solid #ddd;
  padding: 12px;
}

th {
  background-color: hsla(44, 87%, 9%, 0.541);
  color: white;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
tr:hover {
  background-color: #ddd;
}

#contact {
  height: 100vh;
  text-align: center;
  background-color: rgba(179, 224, 245, 0.176);
  margin: 30px;
  padding: 30px;
}
#Contact h2 {
  font-size: 3em;
}
#name,
#email {
  width: 90%;
  padding: 10px;
  margin: 10px;
  border: 1px solid rgb(0, 0, 0);
  font-size: 1em;
}
#textarea {
  width: 90%;
  padding: 15px;
  margin: 10px;
  height: 90px;
  border: 1px solid rgb(0, 0, 0);
  font-size: 1.5em;
}
#namewarning {
  font-size: 1em;
}
#emailwarning {
  font-size: 1em;
}
#messagewarning {
  font-size: 1em;
}
button {
  margin-top: 10px;
  padding: 10px 15px;
  font-size: 2em;
  border: none;
  border-radius: 1000px;
}
button:hover {
  background-color: black;
  color: white;
}
.icons i {
  margin-top: 20px;
  color: #007ba7;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icons i:hover {
  color: rgba(255, 0, 0, 0.519);
}

footer {
  background-color: #007ba7;
  width: 100%;
}
footer i {
  font-size: 2em;
  color: wheat;
  margin-top: 15px;
  margin: 7px;
}
footer p {
  margin-top: 14px;
  color: white;
  font-size: larger;
}
footer i:hover {
  color: #06bafc;
  transform: scale(0.9);
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar a {
    margin-left: 20px;
    font-size: 0.9rem;
    padding: 10px;
    overflow: hidden;
  }

  .logo {
    margin-bottom: 10px;
  }

  #home h1 {
    font-size: 2em;
  }

  #products,
  #about,
  #contact {
    padding: 10px;
  }

  .product-item {
    flex-direction: column;
    width: 90%;
  }

  .product-item img {
    width: 250px;
    max-width: 100%;
  }

  .aboutcontainer {
    flex-direction: column;
    gap: 15px;
  }

  .aboutdetails,
  .aboutmap {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8em;
  }

  p {
    font-size: 0.9em;
  }

  button {
    font-size: 1.2em;
  }

  .navbar a {
    font-size: 0.8rem;
    padding: 8px;
    overflow: hidden;
  }
}
/* Style the entire media section */
#media {
  max-width: 900px; /* Set a max width */
  margin: 20px auto; /* Center the section */
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style headers */
#media h3 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
}

/* Video and audio container styling */
.media-container, .audio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* Spacing between elements */
  margin-bottom: 30px;
}

/* Style video elements */
video {
  width: 100%;
  max-width: 560px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style audio players */
audio {
  width: 100%;
  max-width: 300px;
}

/* Make videos display side by side on larger screens */
@media (min-width: 768px) {
  .media-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
  }
  
  video {
      flex: 1 1 45%;
  }
}

/* Make audio players display inline on larger screens */
@media (min-width: 768px) {
  .audio-container {
      flex-direction: row;
      justify-content: center;
  }
  
  audio {
      margin: 0 10px;
  }
}
#resources {
  background-color: #f8f8f8; /* Light gray background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

#resources h2 {
  color: #2c3e50;
  text-align: center;
}

#resources ul {
  list-style-type: none;
  padding: 0;
}

#resources li {
  padding: 8px 0;
  font-size: 16px;
}

#resources a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

#resources a:hover {
  text-decoration: underline;
  color: #0056b3;
}
/* Section Styling */
#interaction {
  background-color: #f5f5f5; /* light gray background */
  padding: 50px 20px;
  text-align: center;
  border-radius: 15px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Heading */
#interaction h1 {
  font-size: 2.2rem;
  color: #2b3a42; /* dark gray-blue */
  margin-bottom: 30px;
}

/* Questions */
.question p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

/* Buttons */
.question button {
  background-color: #4caf50; /* green */
  color: white;
  border: none;
  padding: 12px 25px;
  margin: 8px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.question button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

/* Result */
#quiz h2 {
  color: #e67e22; /* orange highlight */
  margin-bottom: 15px;
}

#quiz p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Restart Button */
#quiz button {
  background-color: #3498db; /* blue */
}

#quiz button:hover {
  background-color: #2980b9;
}
#orderEstimator {
  background-color: #f5f5f5;
  padding: 40px 20px;
  max-width: 700px;
  margin: 30px auto;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

#orderEstimator h2 {
  margin-bottom: 25px;
  color: #2b3a42;
}

#orderEstimator label {
  font-size: 1.1rem;
}

#orderEstimator input, select {
  padding: 8px;
  margin-top: 5px;
  width: 200px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#orderEstimator button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 12px 25px;
  margin-top: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

#orderEstimator button:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

#orderResult {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #e67e22;
  font-weight: bold;
}

#testimonials {
  background-color: #f5f5f5;
  padding: 50px 20px;
  max-width: 700px;
  margin: 40px auto;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

#testimonials h2 {
  color: #2b3a42;
  margin-bottom: 30px;
}

#testimonialBox {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: opacity 0.5s ease-in-out;
}

#testimonialText {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

#testimonialAuthor {
  font-size: 1rem;
  color: #777;
  font-style: italic;
}



