* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= HEADER ================= */
.header {
  position: absolute;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 10;
}

.logo img {
  height: 100px;
}

.nav a {
  margin-left: 25px;
  font-size: 14px;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: #fff;
  padding: 40px;
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  display: block;
  margin-bottom: 25px;
  color: #000;
  font-size: 16px;
}

.close {
  font-size: 22px;
  color: black;
  text-align: right;
  cursor: pointer;
  margin-bottom: 40px;
  display: block;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  background: url("../images/bg_main.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h2 {
  font-size: 50px;
}

/* ================= FILTERS ================= */
.filters {
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center;
}

.filter-btn {
  padding: 10px 18px;
  margin: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.filter-btn.active {
  background: #011222;
  color: #fff;
}

/* ================= PRODUCTS ================= */
.products {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
}

.product-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 15px;
  color: #01122299;
  line-height: 1.4;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
}

/* .modal-content {
  background: #fff;
  width: 80%;
  max-width: 900px;
  margin: 80px auto;
  border-radius: 12px;
  padding: 20px;
  max-height: 90vh;
  overflow-y: auto;
} */

.modal-content {
  background: #fff;
  width: 85%;
  max-width: 1000px;
  margin: 120px auto;
  border-radius: 14px;
  padding: 30px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-close {
  float: right;
  cursor: pointer;
  font-size: 22px;
}

.modal-body {
  display: flex;
  gap: 20px;
}

/* .modal-image {
  width: 80%;
} */

.modal-image {
  width: 40%;
}

.modal-text {
  width: 60%;
}

.modal-text h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.modal-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #01122299;
  margin-bottom: 10px;
}

.modal-image img {
  width: 100%;
}

/* .modal-text {
  width: 20%;
} */


.modal-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.modal-text p {
  font-size: 14px;
  color: #01122299;
  line-height: 1.6;
}

/* ================= FOOTER ================= */
/* .footer {
  background: #111;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 80px;
} */

.footer {
  background: url("../images/footer_bg.png") center/cover no-repeat;
  color: #fff;
  padding: 60px 20px 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* adjust if needed */
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #222;
  padding-top: 15px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-image,
  .modal-text {
    width: 100%;
  }

  .hero h2 {
    font-size: 36px;
  }
}

.footer-heading {
  max-width: 1100px;
  margin: 0 auto 30px;
}

.footer-heading h2 {
  font-size: 22px;
  font-weight: 700;
}

/* .footer-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
} */

.footer-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.footer h5 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

.footer p {
  font-size: 14px;
  color: #ccc;
  display: block;
  margin-bottom: 8px;
}

.footer a {
  font-size: 14px;
  color: #ccc;
  display: inline;
  margin-bottom: 8px;
}

.footer a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-heading {
    text-align: center;
  }
}

.contact-line {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .contact-line {
    white-space: normal;
  }
}