@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

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

html, body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
#top_bar {
  background: #23a34d;
  color: #fff;
  font-size: 13px;
}
#top_bar .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}
#top_bar .top_left {
  display: flex;
  align-items: center;
  gap: 25px;
}
#top_bar .top_left span,
#top_bar .top_left a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
#top_bar .wrapper { justify-content: flex-start; }

/* ---------- Header ---------- */
#header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
#header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}
#logo img { height: 60px; width: auto; }
nav#main-nav ul {
  display: flex;
  gap: 34px;
}
nav#main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  padding: 38px 0;
  display: inline-block;
  border-bottom: 3px solid transparent;
  letter-spacing: .2px;
}
nav#main-nav li.active a,
nav#main-nav a:hover {
  color: #23a34d;
  border-bottom-color: #23a34d;
}

/* ---------- Hero ---------- */
#hero {
  text-align: center;
  padding: 60px 20px 50px;
  border-bottom: 1px solid #eee;
}
#hero .subtitle {
  font-size: 28px;
  color: #ccc;
  font-weight: 400;
  margin-bottom: 10px;
}
#hero h1 {
  font-size: 45px;
  font-weight: 700;
  color: #444;
  letter-spacing: .5px;
}

/* ---------- Feature cards ---------- */
#features {
  padding: 50px 20px 20px;
}
#features .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.icon_box {
  background: #fdfdfd;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 25px 25px 20px;
  position: relative;
  box-shadow:
    rgba(0,0,0,0) 0 1px 1px 0,
    #f7f7f7 0 8px 0 -5px,
    rgba(0,0,0,0.15) 0 8px 1px -4px,
    #f7f7f7 0 17px 0 -10px,
    rgba(0,0,0,0.15) 0 17px 1px -9px;
  margin-bottom: 20px;
}
.icon_box .icon_box_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.icon_box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #23a34d;
}
.icon_box .icon {
  font-size: 34px;
  color: #333;
  opacity: 0.85;
}
.icon_box p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-top: 14px;
}

/* ---------- Products ---------- */
#products {
  padding: 40px 20px 60px;
}
#products .section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #222;
  position: relative;
  margin-bottom: 40px;
}
#products .section-title::before,
#products .section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  border-top: 1px solid #ddd;
}
#products .section-title::before { left: 0; }
#products .section-title::after { right: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 25px;
}
.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.product-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.4;
}
.product-card .cat {
  font-size: 13px;
  color: #23a34d;
  margin-top: 4px;
}
.product-card .underline {
  margin-top: 12px;
  height: 1px;
  background: #eee;
  position: relative;
}
.product-card .underline::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 45%;
  background: #23a34d;
}

/* ---------- Partners ---------- */
#partners {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}
#partners h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}
#partners ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
#partners li {
  width: 145px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(20%);
}
#partners img { max-height: 100%; max-width: 100%; }

/* ---------- CTA ---------- */
#cta {
  background: #264596;
  color: #fff;
  text-align: center;
  padding: 45px 20px;
}
#cta p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 18px;
}
#cta a.btn {
  display: inline-block;
  background: #23a34d;
  border: 2px solid #23a34d;
  padding: 10px 28px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #fff;
}
#cta a.btn:hover { background: #1c8a3f; border-color: #1c8a3f; }

/* ---------- Footer contact ---------- */
#footer {
  background: #23a34d;
  color: #fff;
  padding: 45px 20px;
}
#footer .wrapper { max-width: 700px; text-align: center; }
#footer h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}
#footer .contact-info {
  font-size: 15px;
  line-height: 2;
}
#footer .contact-info a { color: #fff; text-decoration: underline; }

/* ---------- Footer bottom ---------- */
#footer_coms {
  background: #000;
  color: #fff;
  padding: 22px 20px 8px;
}
#footer_coms .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
#footer_coms ul.menu {
  display: flex;
  gap: 20px;
}
#footer_coms ul.menu a {
  font-size: 13px;
  color: #ccc;
}
#footer_coms ul.menu a:hover { color: #23a34d; }
#footer_coms #to_top a {
  font-size: 13px;
  color: #23a34d;
}
.copyright {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 18px 0 10px;
}
.copyright a { color: #23a34d; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  #features .wrapper { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  nav#main-nav ul { gap: 16px; }
}
@media (max-width: 560px) {
  #top_bar .wrapper { flex-direction: column; height: auto; padding: 8px 0; gap: 6px; }
  #header .wrapper { flex-direction: column; gap: 10px; padding: 15px 0; min-height: auto; }
  nav#main-nav ul { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
  nav#main-nav a { padding: 10px 0; }
  #hero h1 { font-size: 30px; }
  #hero .subtitle { font-size: 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  #footer_coms .wrapper { flex-direction: column; text-align: center; }
}

/* ================= Inner pages ================= */

.page_banner {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  margin-bottom: 55px;
}
.page_banner--about       { background-image: url('assets/banner_about.jpg'); }
.page_banner--processing  { background-image: url('assets/banner_processing.jpg'); }
.page_banner--services    { background-image: url('assets/banner_processing.jpg'); }
.page_banner--products    { background-image: url('assets/banner_products.jpg'); }
.section-title--flush { margin-top: 0; }
.quote-line--compact {
  font-size: 18px;
  color: #666;
  border-top: none;
  padding-top: 10px;
}
.page_banner .wrapper {
  position: relative;
  height: 100%;
}
.page_banner .title_box {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  padding: 26px 42px;
}
.page_banner .title_box h1 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumb {
  position: absolute;
  right: 20px;
  bottom: -22px;
  background: #fff;
  padding: 13px 22px;
  font-size: 14px;
  color: #888;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.breadcrumb a { color: #23a34d; font-weight: 600; }
.breadcrumb .sep { color: #ccc; margin: 0 8px; }

.content-section { padding: 10px 20px 60px; }
.content-section .wrapper { max-width: 1200px; margin: 0 auto; }

.img-strip { margin-bottom: 40px; overflow: hidden; }
.img-strip img { width: 100%; display: block; }

.content-section p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 18px;
}
.content-section p.lead { font-weight: 700; color: #333; }

.content-section .section-title { margin-top: 50px; }

.quote-line {
  text-align: center;
  font-size: 26px;
  color: #ccc;
  padding: 40px 20px 10px;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

/* Contact page */
.contact-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding: 55px 20px 60px;
}
.contact-columns .wrapper.main-col,
.contact-columns .main-col,
.contact-columns .side-col { max-width: none; }
.contact-columns .page-heading {
  font-size: 38px;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 22px;
}
.contact-columns .main-col p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}
.address-block { padding-top: 6px; }
.address-block .icon-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #23a34d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 18px;
}
.address-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}
.address-block p {
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
  font-size: 14px;
}
.address-block .spacer { height: 16px; }
.map-link a {
  color: #23a34d;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
}
.map-link a:hover { color: #23a34d; }

@media (max-width: 900px) {
  .contact-columns { grid-template-columns: 1fr; gap: 30px; }
  .page_banner .title_box { padding: 18px 26px; }
}

/* ================= Portfolio (CSS-only tag filter, no JS) ================= */

.filter-input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.filter-label {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  user-select: none;
}
.filter-label:hover { border-color: #23a34d; color: #23a34d; }
.filter-input:checked + .filter-label {
  background: #23a34d;
  border-color: #23a34d;
  color: #fff;
}
.filter-input:focus-visible + .filter-label {
  outline: 2px solid #23a34d;
  outline-offset: 2px;
}

.portfolio-grid-wrap { padding: 0 20px 60px; }
.portfolio-grid-wrap .wrapper { max-width: 1200px; margin: 0 auto; }
.portfolio-count { text-align:center; font-size:13px; color:#999; padding-bottom:24px; }

/* Default: show all cards; each rule below hides cards that don't match the checked filter */
#f-ice-fish:checked ~ .portfolio-grid-wrap .product-card:not(.tag-ice-fish),
#f-pangasius:checked ~ .portfolio-grid-wrap .product-card:not(.tag-pangasius),
#f-mussels-meat:checked ~ .portfolio-grid-wrap .product-card:not(.tag-mussels-meat),
#f-baby-octopus:checked ~ .portfolio-grid-wrap .product-card:not(.tag-baby-octopus),
#f-baby-cuttle-fish:checked ~ .portfolio-grid-wrap .product-card:not(.tag-baby-cuttle-fish),
#f-tilapia:checked ~ .portfolio-grid-wrap .product-card:not(.tag-tilapia),
#f-pacific-perch:checked ~ .portfolio-grid-wrap .product-card:not(.tag-pacific-perch),
#f-pacific-hake:checked ~ .portfolio-grid-wrap .product-card:not(.tag-pacific-hake),
#f-alaska-pollock:checked ~ .portfolio-grid-wrap .product-card:not(.tag-alaska-pollock),
#f-baby-squid:checked ~ .portfolio-grid-wrap .product-card:not(.tag-baby-squid),
#f-black-tiger-shrimps:checked ~ .portfolio-grid-wrap .product-card:not(.tag-black-tiger-shrimps),
#f-vannamei-shrimps:checked ~ .portfolio-grid-wrap .product-card:not(.tag-vannamei-shrimps) {
  display: none;
}
