@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* ==========================================================================
   Base
   ========================================================================== */

:root {
  --blue: #0f4993;
  --green: #005c21;
  --lime: #479933;
  --pale: #cfe3fc;
  --text: #1a1a18;
  --muted: #5d6570;
  --light: #f7faf8;
  --border: #e5e8eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #000;
  background: #fff;
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.center {
  text-align: center;
}

.small {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   Header And Navigation
   ========================================================================== */

.topbar {
  background: var(--green);
  color: #fff;
  font-size: 14px;
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: #fff;
}

.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header .container {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 245px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a,
.nav button {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  padding: 12px 15px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav a:hover,
.nav a.active,
.nav button:hover {
  color: var(--green);
  background: var(--pale);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  min-width: 245px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
  padding: 10px 0;
  border-top: 3px solid var(--green);
  max-height: 75vh;
  overflow: auto;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  font-weight: 500;
  padding: 9px 16px;
  font-size: 14px;
  background: #fff;
}

.dropdown-menu a:hover {
  background: #f0f6ff;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--blue);
}

/* ==========================================================================
   Hero And Shared Sections
   ========================================================================== */

.hero {
  min-height: 500px;
  background: url('../images/home-banner.jpg') center center/cover no-repeat;
}

.page-hero {
  height: 150px;
  background: url('../images/uploads/2026/02/banner.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 40px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  color: var(--blue);
  font-family: Poppins, sans-serif;
  font-size: 36px;
  margin: 0 0 35px;
}

.lead {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.45;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 1050px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  background: var(--blue);
  color: #fff;
  border-radius: 3px;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  border: 2px solid var(--blue);
  transition: .2s;
}

.btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 25px;
}

.breadcrumbs a {
  color: var(--blue);
}

.empty {
  padding: 50px 0;
  text-align: center;
}

.notice {
  padding: 15px 18px;
  background: #f0f6ff;
  border-left: 4px solid var(--blue);
  margin: 20px 0;
}

/* ==========================================================================
   Home And Content Pages
   ========================================================================== */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 30px;
  margin-top: 20px;
}

.fact {
  padding: 24px 18px;
  text-align: center;
}

.fact .icon {
  font-size: 34px;
  color: var(--lime);
  margin-bottom: 8px;
}

.fact h3 {
  font-family: Poppins, sans-serif;
  color: var(--blue);
  font-size: 18px;
  margin: 0 0 4px;
}

.fact p {
  margin: 0;
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
}

.content h1,
.content h2,
.content h3 {
  font-family: Poppins, sans-serif;
  color: var(--text);
}

.content h1 {
  font-size: 38px;
  line-height: 1.2;
}

.content h2 {
  font-size: 28px;
}

.content h3 {
  font-size: 22px;
}

.content p {
  font-size: 16px;
}

.about-gallery {
  display: grid;
  gap: 24px;
}

.about-gallery figure {
  margin: 0;
}

.about-gallery img {
  width: 100%;
  display: block;
}

.about-gallery figcaption {
  padding: 10px 0;
  text-align: center;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  color: var(--blue);
}

.contact-card {
  background: #f7faf8;
  padding: 28px;
  border-left: 4px solid var(--lime);
}

.contact-card p {
  margin: 0 0 18px;
}

.map {
  width: 100%;
  height: 430px;
  border: 0;
}

/* ==========================================================================
   Product Listing
   ========================================================================== */

.products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.products-head p {
  margin: 0;
  color: var(--muted);
}

.category-section {
  margin-bottom: 55px;
}

.category-section h2 {
  font-family: Poppins, sans-serif;
  color: var(--blue);
  font-size: 28px;
  border-left: 4px solid var(--lime);
  padding-left: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.card-img {
  height: 205px;
  background: #f6f8f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placeholder {
  font-size: 50px;
  color: #9db79e;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-family: Poppins, sans-serif;
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 9px;
  color: var(--text);
}

.card .cat {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
}

.card .actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.card .actions a {
  font-size: 13px;
  padding: 8px 10px;
}

.card-price {
  font-size: 18px;
  font-weight: 700;
  color: #2f7d32;
  margin: 7px 0 12px;
}

.card-price span {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

/* ==========================================================================
   Product Detail
   ========================================================================== */

.product-detail {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 50px;
}

.product-image {
  border: 1px solid var(--border);
  background: #f8faf8;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.product-image img {
  max-height: 500px;
  object-fit: contain;
}

.product-detail h1 {
  font-family: Poppins, sans-serif;
  color: var(--blue);
  font-size: 38px;
  line-height: 1.2;
  margin-top: 0;
}

.product-meta {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 25px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #2f7d32;
  margin: 10px 0 16px;
  line-height: 1.2;
}

.product-price span {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.product-price.price-on-request {
  font-size: 18px;
  color: #666;
}

.product-content table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin: 20px 0;
}

.product-content td,
.product-content th {
  border: 1px solid #ddd;
  padding: 9px;
  text-align: left;
}

.product-content table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}

.product-content table td:first-child {
  width: 42%;
}

.product-content ul {
  padding-left: 20px;
}

.data-note {
  padding: 14px 16px;
  background: #f6f8f5;
  border-left: 4px solid #5cad51;
  color: #555;
  margin: 12px 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.quote-box {
  background: #f7faf8;
  border-top: 4px solid var(--green);
  padding: 25px;
  margin-top: 30px;
}

.form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  font-weight: 700;
  color: var(--text);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #ccd2d7;
  border-radius: 3px;
  font: inherit;
  margin-top: 6px;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--blue);
  color: #fff;
  margin-top: 60px;
}

.footer a {
  color: #fff;
}

.footer-main {
  padding: 45px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer h3 {
  font-family: Poppins, sans-serif;
  margin: 0 0 16px;
  color: #fff;
  border-left: 4px solid var(--lime);
  padding-left: 10px;
}

.footer p {
  margin: 0 0 10px;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.copyright {
  background: var(--green);
  padding: 15px 0;
  font-size: 14px;
}

.copyright .container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1000px) {
  .nav a,
  .nav button {
    padding: 10px 9px;
    font-size: 14px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo {
    width: 210px;
  }
}

@media (max-width: 760px) {
  .topbar .container {
    justify-content: center;
  }

  .topbar-right {
    display: none;
  }

  .header .container {
    min-height: 75px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav button {
    text-align: left;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: 0;
    max-height: none;
    padding: 0 0 0 12px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero {
    min-height: 330px;
  }

  .page-hero {
    height: 120px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .section {
    padding: 45px 0;
  }

  .lead {
    font-size: 18px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .two-col,
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright .container {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .products-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .product-price {
    font-size: 22px;
  }

  .card-price {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 190px;
  }

  .hero {
    min-height: 250px;
  }

  .section-title {
    font-size: 30px;
  }
}
