/* ===== General ===== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* ===== Header ===== */
.site-header {
  background: #004d40;
  color: white;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.nav-links li a:hover {
  color: #ffeb3b;
}

/* ===== Mobile Menu ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 28px;
  height: 22px;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #004d40;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }
  .nav-links.show {
    display: flex;
    animation: slideDown 0.4s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: #004d40 url('../images/glasswool-banner.jpeg') center/cover no-repeat;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}
.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #00bfa5, #004d40);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.hero-btn:hover {
  background: linear-gradient(135deg, #004d40, #00bfa5);
  transform: translateY(-3px);
}

/* ===========================
   PRODUCT SECTION - LANDSCAPE (SINGLE IMAGE)
   Replace/insert into style.css
=========================== */
.products {
  background: linear-gradient(180deg, #f9fbfb 0%, #eef8f6 100%);
  padding: 80px 20px;
}

.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #004d40;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #555;
  max-width: 860px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* GRID */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Landscape card: image left, content right */
.product-card {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 32, 27, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* image column */
.product-image {
  flex: 0 0 42%;
  min-width: 220px;
  max-width: 520px;
  background: #f3faf8;
}
.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* content column */
.product-body {
  flex: 1 1 58%;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-body h3 {
  color: #003e36;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.product-body .short-desc {
  color: #444;
  margin-bottom: 12px;
  line-height: 1.65;
}
.features {
  padding-left: 18px;
  margin-bottom: 18px;
}
.features li {
  margin-bottom: 8px;
  color: #333;
  font-size: 0.96rem;
}

/* action buttons row */
.product-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.quote-btn {
  background: linear-gradient(135deg, #00bfa5, #004d40);
  color: white;
  padding: 10px 20px;
  border-radius: 26px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quote-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.more-link {
  color: #004d40;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.more-link:hover { background: rgba(0,77,64,0.06); }

/* hover */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(2, 32, 27, 0.12);
}

/* responsive: stack on small screens (image up, content below) */
@media (max-width: 900px) {
  .product-card { flex-direction: column; }
  .product-image { flex: 0 0 auto; height: 220px; max-height: 320px; }
  .product-body { padding: 18px; }
  .product-grid { gap: 22px; }
}

/* small screens: tighten typography */
@media (max-width: 480px) {
  .section-title { font-size: 1.4rem; }
  .product-body h3 { font-size: 1.15rem; }
  .product-body .short-desc { font-size: 0.95rem; }
  .quote-btn { padding: 9px 16px; font-size: 0.95rem; }
}

/* Fade-in animation (keeps existing behavior) */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }


/* ===========================
   FOOTER (STYLISH + ANIMATED)
=========================== */
footer {
  background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
  color: #e0f2f1;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

/* Decorative light gradient overlay */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  transition: left 1s ease;
  z-index: 0;
}

/* Slide light overlay on hover */
footer:hover::before {
  left: 100%;
}

footer .links {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

footer .links a {
  color: #aef1e8;
  margin: 0 10px;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

/* Hover glow & floating animation */
footer .links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

/* Footer text styling */
footer p {
  font-size: 0.95rem;
  color: #d0efea;
  margin-top: 15px;
  z-index: 1;
  position: relative;
}

footer a[href*="webignite"] {
  color: #ffeb3b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover animation for designer link */
footer a[href*="webignite"]:hover {
  color: #fff;
  text-shadow: 0 0 10px #ffeb3b;
}

/* Smooth fade-in on scroll */
footer.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

footer.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

}

/* ===== Fade-In Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   PRODUCT DETAIL PAGE STYLES
=========================== */
.product-detail-section {
  background: #f9fbfb;
  padding: 80px 20px;
}

.detail-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.detail-image {
  flex: 1 1 45%;
}

.detail-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.detail-content {
  flex: 1 1 50%;
}

.detail-content h2 {
  color: #004d40;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.detail-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  background: url('images/check-icon.svg') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #333;
}

.product-info {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.product-info h3 {
  color: #004d40;
  margin: 25px 0 10px;
  font-size: 1.3rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.spec-table th,
.spec-table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
  font-size: 0.95rem;
}

.spec-table th {
  background: #e0f2f1;
  color: #004d40;
}

.cta-box {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .detail-layout {
    flex-direction: column;
    text-align: center;
  }
  .detail-content {
    margin-top: 20px;
  }
  .feature-list li {
    background: none;
    padding-left: 0;
  }
}

/* ===============================
   REQUEST QUOTE MODAL POPUP
=============================== */
.quote-modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #ffffff;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  max-width: 480px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
}

.modal-content h2 {
  color: #004d40;
  margin-bottom: 10px;
  text-align: center;
}

.modal-content p {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  color: #004d40;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #00796b;
}

.quote-form {
  display: flex;
  flex-direction: column;
}

.quote-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.95rem;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #00796b;
  box-shadow: 0 0 5px rgba(0, 121, 107, 0.3);
}

.submit-btn {
  background: #00796b;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #004d40;
}

/* Animation effects */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Request Quote button styling */
.quote-popup-btn {
  display: inline-block;
  background: #ffeb3b;
  color: #004d40;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quote-popup-btn:hover {
  background: #fff;
  color: #00796b;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
