/* ==============================
   PROCESS PIPE — CLEAN CSS
============================== */

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ---- Theme ---- */
:root{
  --background:#f6f6f6;
  --blue:#0057b7;
  --green:#85ba6a;
  --yellow:#e5ab09;
  --pink:#e55b7e;

  --white:#ffffff;
  --text:#222;
  --card-dark:#ffffff;
  --border-light:rgba(0,0,0,0.15);

  --input-bg:#ffffff;
  --input-text:#222;

  /* Header height token — one place to change */
  --header-h: 100px;
}

/* ---- Global ---- */
body{
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text);
  padding-top: var(--header-h);
}

/* Container */
.container{
  max-width: 1700px;
  margin: 0 auto;
 
  padding-left: clamp(18px, 3vw, 40px);
  padding-right: clamp(18px, 3vw, 40px);
}

/* ==============================
   HEADER
============================== */
.site-header{
  background: var(--card-dark);
  width: 100%;
  height: var(--header-h);
  position: fixed;
  top: 0; left: 0;
  z-index: 999;
  border-bottom: 3px solid var(--green);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  transition: height .25s ease;
  overflow: visible;                       /* allow logo to spill below */
}

.container.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;          /* fill the fixed header height */
  
}

/* ==============================
   LOGO
============================== */
.site-logo{
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-footer {
    background: #00243f;
    border-top: 3px solid var(--green);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}
.footer-contact p,
.footer-contact a {
    margin: 5px 0;
    color: var(--white);
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}
.footer-quicklinks ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.footer-quicklinks a {
    position: relative;
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-quicklinks a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.3s ease;
}

.footer-quicklinks a:hover::after {
    width: 100%;
}

/* Reset h1/h2/span inside logo so browser defaults don't bloat it */
.site-logo,
.site-logo h1,
.site-logo h2,
.site-logo span {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin: 0;
  padding: 0;
}

.logo-image {
  height: clamp(80px, 10vw, 100px);       /* oversized — taller than the header */
  width: auto;
  display: block;
  transition: height .25s ease, transform .25s ease;
}

.site-logo:hover .logo-image {
  transform: scale(1.18);
}

/* ==============================
   NAVIGATION
============================== */
.primary-nav .nav-list{
  display: flex;
  gap: clamp(20px, 4vw, 100px);           /* gap shrinks fluidly */
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link{
  text-decoration: none;
  color: var(--yellow);
  font-size: clamp(0.85rem, 1.2vw, 1.2rem);  /* fluid font */
  font-weight: 600;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}

.nav-link:hover{ color: var(--pink); }

.nav-link::after{
  content:"";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width .3s ease;
}

.nav-link:hover::after{ width: 100%; }

/* Dropdown */
.dropdown{ position: relative; }

.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-dark);
  border: 1px solid var(--border-light);
  list-style: none;
  min-width: 180px;
  display: none;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

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

.dropdown-menu a{
  display: block;
  padding: 10px 18px;
  color: var(--text);
  text-decoration: none;
}

.dropdown-menu a:hover{
  background: var(--pink);
  color: #fff;
}

/* ==============================
   RESPONSIVE BREAKPOINTS
============================== */

/* Tablet – tighten header height */
@media (max-width: 900px){
  :root{ --header-h: 75px; }
}

/* Mobile – collapse nav or reduce further */
@media (max-width: 600px){
  :root{ --header-h: 62px; }

  /* Hide nav text labels if needed; keep logo prominent */
  .primary-nav .nav-list{
    gap: 14px;
  }

  .nav-link{
    font-size: 0.8rem;
  }
}

/* ==============================
   HERO
============================== */
.section-hero{
  position: relative;
  overflow: hidden;
  max-width: 1700px;
  padding: 160px 0;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.hero-video{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: -1;
}

.hero-content{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  text-align: center;
}

.hero-text{
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
  max-width: 900px;
  line-height: 1.3;
}

/* ==============================
   PRODUCT SEARCH
============================== */
.product-search-section{
  padding: 30px 0 10px;
}

#product-search{
  width: 100%;
  max-width: 620px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

/* ==============================
   PRODUCT GRID (FIXED TO 3)
============================== */
.section-products{
  margin: 10px auto;
  padding: 36px 0;
}

.product-grid{
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-grid a{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: .2s;
}

.product-grid a:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.product-grid img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-grid span{
  display: block;
  padding: 14px;
  font-weight: 800;
  font-size: 14px;
}

.product-grid span::after{
  content: "View products →";
  display: block;
  font-size: 12px;
  margin-top: 6px;
  opacity: .65;
}

/* Responsive */
@media (max-width: 1000px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}

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

/* ==============================
   CONTACT
============================== */
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.btn-submit{
  padding: 14px;
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
}

.btn-submit:hover{
  background: var(--pink);
}

/* ==============================
   FOOTER
============================== */
.site-footer{
  background: #00243f;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

/* ==============================
   SEARCH RESULTS
============================== */
#product-results{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  max-width: 1700px;
}

/* Individual result card */
#product-results a,
.search-result-item{
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
  color: #000;
}

#product-results a:hover,
.search-result-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.13);
  border-color: var(--green);
}

/* Product name */
#product-results a .result-name,
.search-result-item .result-name{
  font-size: 1rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 6px;
  line-height: 1.2;
}

/* Category / standard badge */
#product-results a .result-meta,
.search-result-item .result-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

#product-results a .result-tag,
.search-result-item .result-tag{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(133,186,106,0.15);
  border: 1px solid rgba(133,186,106,0.35);
  color: #2d5a1b;
}

/* "View details" cta */
#product-results a .result-cta,
.search-result-item .result-cta{
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pink);
}

/* Empty / no results state */
#product-results .no-results{
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: rgba(0,0,0,0.4);
  font-size: 1rem;
  font-weight: 600;
}