* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background-color: #efefeb;
  color: #000;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: #efefeb;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 50px;
  width: auto;
}

.company-name {
  font-size: 28px;
  font-weight: bold;
  color: #1f2c45;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: #000;
  font-size: 1rem;
}

/* Mobile Nav */
.mobile-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.menu {
  display: flex;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #efefeb;
    padding: 10px;
    margin-top: 10px;
  }

  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }
}
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('images/home.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(40%);
  z-index: 1;
}

.overlay {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
  padding: 2rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

/* .hero {
  position: relative;
  height: 85vh;
  background: url('images/home.jpg') center center/cover no-repeat;
}

.overlay {
  position: absolute;
  bottom: 20%;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
} */

.overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.tagline {
  display: flex;
  justify-content: center;
  gap: 16rem;
  font-size: 1.7rem;
  margin-bottom: 10rem;
}

/* product */

.products {
  background-color: #efefeb;
  text-align: center;
  padding: 4rem 2rem;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: bold;
  font-family: 'Georgia', serif;
}

.product-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.product {
  max-width: 300px;
  padding: 1rem;
  text-align: center;
}

.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ccc;
}

.product h3 {
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: bold;
  font-family: 'Georgia', serif;
  display: inline;
}

.product p {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.5rem;
}

/* about */

.about-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.about-img {
  width: 100%;
  max-width: 350px;
  object-fit: cover;
}

.about-img:first-child {
  width: 350px;
  height: 150px; 
  object-fit: contain;

}

.about-img:last-child {
  width: 400px;
  height: 350px; 
  object-fit: none;
}

.text-column {
  max-width: 600px;
}

.text-column h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
}

.text-column h1 {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
}

.text-column p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* form */
.contact-section {
  display: flex;
  justify-content: space-between;
  padding: 60px 80px;
  gap: 50px;
  /* min-height: 100vh; */
}

.contact-left {
  flex: 1;
}

.contact-left h1 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: justify;
}

.contact-left p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 350px;
}


.inquire-button {
  margin-top: 20px;
}

.inquire-button button {
  background-color: #1f2c45;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.inquire-button button:hover {
  background-color: #314a70;
}

@media (max-width: 768px) {
  .contact-container h1{
    font-size: 2rem;
  }
  .contact-container p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .inquire-button button {
    width: 80%;
    max-width: 250px;
    font-size: 15px;
  }
}


/* footer */
.contact-section {
  display: flex;
  justify-content: space-between;
  padding: 60px 80px;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
}

.contact-left h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 350px;
}

.contact-right {
  flex: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 15px;
  font-size: 14px;
}

label span {
  font-weight: normal;
  font-size: 12px;
  color: #777;
}

.name-group {
  display: flex;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #aaa;
  font-size: 14px;
  width: 100%;
}

textarea {
  resize: none;
}

button {
  margin-top: 20px;
  padding: 10px 30px;
  background-color: #1f2c45;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  width: fit-content;
}

button:hover {
  background-color: #314a70;
}

/* Footer Section */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 80px;
  /* background-color: #e9e7df; */
  gap: 50px;
  flex-wrap: wrap;
}

.footer-left h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-left p {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-right {
  display: flex;
  gap: 50px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* ========== Responsive Layout ========== */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

   .hero {
    min-height: 60vh;
    padding: 2rem 1rem;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .tagline {
    flex-direction: column;
    gap: 1rem;
    font-size: 1.2rem;

  }

  /* .tagline {
    flex-direction: column;
    gap: 1rem;
    font-size: 1.2rem;
    margin-bottom: 4rem;
  } */

  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .about-img:first-child,
  .about-img:last-child {
    width: 100%;
    height: auto;

  }

  .text-column {
    padding: 10px;
  }

  .text-column h1 {
    font-size: 24px;
  }

  .text-column h2 {
    font-size: 20px;
  }

  .text-column p {
    font-size: 14px;
  }

  .product-list {
    flex-direction: column;
    align-items: center;
  }

  .product {
    width: 100%;
    max-width: 300px;
  }

  .contact-section {
    flex-direction: column;
    padding: 30px;
  }

  .name-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
  }
}