:root {
  --green: #1B6B2F;
  --green-dark: #118f0d;
  --green-soft: #f1fff3;
  --ink: #0b180d;
  --text: #fafffb;
  --muted: #e6ffee;
  --panel: rgba(7, 42, 14, 0.82);
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:linear-gradient(120deg, rgba(3, 31, 10, 0.724),rgb(1, 9, 3), rgba(2, 46, 21, 0.36)),
    url('background.png');
  backdrop-filter: blur(5px);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(120deg, rgba(18, 73, 31, 0.801));
  backdrop-filter: blur(12px);
  
}


.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.logo img {
  width: 10rem;
  height: auto;
  display: block;
  padding: 20px 20px;
}

.nav-links { display: flex; 
  gap: 1rem; 
  flex-wrap: wrap; 
  transition: transform 0.2s ease, color 0.2s ease;
}
.nav-links a { 
  color: var(--muted);
  font-weight:600;
  transition:transform 0.2s ease, color 0.2s ease;
}

.nav-links a:hover{
	transform:translateY(-2px);
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(9, 4, 6, 0.85), rgba(168, 16, 38, 0.68)),
    url('herosection.jpg') center/cover no-repeat;
  overflow: hidden;

}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 255, 64, 0.815),rgb(3, 85, 23), rgba(220,38,38,0.36));
  mix-blend-mode: multiply;
  backdrop-filter: blur(3px) saturate(1.05);
  opacity: 0.96;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 800px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.82rem;
  color: #cfffd7;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
}

h2, h3 { margin-top: 0; color: #F44336; }

.lead, .panel p, .category-card li, .timeline-item p {
  color: var(--muted);
  line-height: 1.75;
  text-align: justify;
}

.about-columns {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* left column */
.about-text {
  flex: 2;
}

.about-text p {
  font-size: 20px;
  text-align:inherit;
}

/* right column (image) */
.history-figure {
  flex: 1;
  margin: 0;
}

.history-figure img {
  height: 350px;
  object-fit: cover;
  border-radius: 24px;
}

@media (max-width: 768px) {
  .about-columns {
    flex-direction: column; /* if using flex */
    /* OR */
    grid-template-columns: 1fr; /* if using grid */
  }

  .history-figure {
    display: flex;
    justify-content: center;
  }

  .history-figure img {
    width: 80%;  /* optional: makes it look nicer on mobile */
    height: auto;
  }
}

.hero-buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { 
  transform: scaleX(1.05) scaleY(1.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green));
  color: #fff;
  box-shadow: 0 9px 30px rgba(12, 139, 44, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.content-stack {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 3rem;
}

.panel, .category-card, .card, .staffcards {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

#about{
  margin-top:30px;
}

.panel {
  padding: 20px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1rem;
  font-weight: 700;
  color: #fff;
  border-left: 4px solid var(--green);
}

.category-card {
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
}

.category-card h3 {
  margin-bottom: 0.95rem;
  font-size: 1.1rem;
  letter-spacing: 0.015em;
  color: #fff;
  position: relative;
  padding-left: 0.9rem;
}

.category-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 1.15rem;
  background: var(--green);
  border-radius: 999px;
}

.category-card ul {
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.category-card li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.65;
}

.category-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1;
}

.brands-panel {
  padding: 1.2rem;
}

.brands-figure {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin: 0;
  min-height: 360px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.brands-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.brands-figure:hover img {
  transform: scale(1.04);
}

.brands-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4));
}

.brands-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  margin: 0;
  color: #dbffe9;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}

.clients-panel {
  text-align: center;
}

.clients-header {
  margin-bottom: 1.5rem;
}

.clients-header h2 {
  margin-bottom: 0.5rem;
}

.clients-header p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.client-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.client-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.client-card h3 {
  padding: 0.9rem 0.8rem;
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.4fr);
  gap: 1.2rem;
  align-items: center;
}



.timeline-item span {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #8cff92;
  margin-bottom: 0.3rem;
}

.contact-panel {
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #8cff92;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 2rem; 
  background: #0b180d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #8cff92;
  font-size: 0.95rem;
}

.order-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.control-group {
  display: grid;
  gap: 0.45rem;
  flex: 1 1 min(280px, 45%);
}

.control-group span,
.order-form label span {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

#productSearch,
#categoryFilter,
.order-form input,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: var(--panel);
  color: var(--green);
  font: inherit;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1rem;
}

.product-card {
  padding: 1.25rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(48, 107, 58, 0.22);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  min-height: 72px;
}

.product-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.checkbox-label input {
  width: 26px;
  height: auto;
  accent-color: var(--green);
  cursor: pointer;
}

.product-category {
  font-size: 0.85rem;
  color: #cfffd3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.order-summary-panel {
  display: grid;
  gap: 0.85rem;
}

.selected-count {
  color: var(--text);
  font-weight: 700;
}

.selected-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.selected-list li {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.order-form {
  display: grid;
  gap: 0.9rem;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.order-summary-panel .btn {
  margin-top: 1rem;
  justify-self: start;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  z-index: 1000;
}

.popup-card {
  width: min(640px, 100%);
  max-height: 80vh;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(0, 15, 1, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 1rem;
}

.popup-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.popup-card header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.popup-card header button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.7rem 1rem;
  border-radius: 14px;
}

.popup-body {
  overflow-y: auto;
  padding: 1rem 1.3rem 1.4rem;
  display: grid;
  gap: 0.85rem;
  max-height: calc(80vh - 110px);
}

.popup-body li {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.footer p {
  margin: 0 auto;
}

@media (max-width: 980px) {
  .two-col, .cards-grid, .categories-grid, .contact-panel, .history-grid, .clients-grid, .order-panel {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-links {
    gap: 0.75rem;
  }

  h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 570px) {
  .history-figure {
    min-height:auto;
  }
}

@media (max-width: 460px) {
  .logo img {
    display:none;
  }

  .nav-links {
    margin: 0 auto;
  }
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}
.qty-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 15px;
  white-space: nowrap;
}
.qty-input {
  width: 3rem;
  height: auto;
}

.buttontop {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(4, 31, 3, 0.808);
  color: var(--green);
  padding: 15px;
  border-radius: 30px;
  font-size: 25px;
  width: 50px;
  height: 50px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition: opacity 0.3s ease,
              transform 0.3s ease,
              visibility 0.3s;
}

.buttontop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.buttontop a {
  position: fixed;
  right: 15px;
  bottom: 9px;
}

.staff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.staff-card {
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
}

.staff-card h4, .staff-card p {

  font-size: 15px;
  margin-top: -15px;

  padding: 20px;
}

.staff-card p {
  margin-top: -40px;
  text-align:justify;
  font-style: italic;
}

.staff-card h4 {
  margin-left:75px;
  margin-top:-65px;
  font-size: 20px;
}

.staff-card img {
  max-width: 60px;
  height: auto;
  border-radius: 30px;
  margin-bottom: -10px;
  margin-left: 20px;

}


.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}

.product-card-head h3,
.product-card-head h4 {
  flex: 1 1 180px;
  min-width: 0;
  overflow-wrap: break-word;
}

.qty-label {
  flex-shrink: 0;
}

@media (max-width: 360px) {

  body {
    font-size: 14px;
      background:linear-gradient(120deg, rgba(3, 31, 10, 0.724),rgb(1, 9, 3), rgba(2, 46, 21, 0.36)),
    url('background.png');
  backdrop-filter: blur(5px);
  }

  .container {
    width: calc(100% - 1rem);
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .nav-links {

    align-items: center;
    gap: 0.5rem;
  }

  .logo img {
    width: 7rem;
  }

  .categories-grid,
  .clients-grid,
  .products-grid,
  .staff,
  .cards-grid {
    grid-template-columns: 1fr !important;
  }

  .category-card,
  .product-card,
  .staff-card,
  .client-card {
    min-width: 0;
  }

  .product-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .qty-label {
    font-size: 13px;
  }

  .qty-input {
    width: 2.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem;
  }

  .history-grid {
    grid-template-columns: 1fr !important;
  }

  .history-figure {
    height: 280px;
  }

  .contact-panel {
    grid-template-columns: 1fr !important;
  }

  .popup-card {
    width: 95%;
  }

  * {
    word-break: break-word;
  }
}
