/*
Theme Name: Captain Hook Seafood
Theme URI: https://captainhookgy.com/
Author: Captain Hook Web Package
Author URI: https://captainhookgy.com/
Description: A custom ocean-inspired WordPress theme for Captain Hook Seafood Products, built for seafood processing, distribution, wholesale, retail, fresh-on-ice orders, and frozen seafood product catalogues.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: captain-hook-seafood
Tags: custom-logo, custom-menu, featured-images, blog, food-and-drink, one-column, two-columns, responsive-layout
*/

:root {
  --ch-blue: #07979b;
  --ch-blue-dark: #005f67;
  --ch-blue-deep: #033f4a;
  --ch-green: #14a848;
  --ch-red: #a92b19;
  --ch-gold: #aa7444;
  --ch-ice: #eefbfc;
  --ch-sand: #fff7ec;
  --ch-white: #ffffff;
  --ch-ink: #172f38;
  --ch-muted: #5d737c;
  --ch-border: #d9eef0;
  --ch-shadow: 0 18px 45px rgba(2, 67, 77, 0.12);
  --ch-radius: 22px;
  --ch-radius-sm: 14px;
  --ch-container: 1180px;
  --ch-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ch-ink);
  background: #f8fcfd;
  font-family: var(--ch-font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a {
  color: var(--ch-blue-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--ch-red);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ch-blue-deep);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

p {
  margin: 0 0 1.25rem;
}

ul,
ol {
  margin: 0 0 1.5rem 1.3rem;
  padding: 0;
}

li + li {
  margin-top: 0.35rem;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: var(--ch-white);
  color: var(--ch-blue-deep);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  z-index: 99999;
  border-radius: 8px;
  box-shadow: var(--ch-shadow);
}

.ch-container,
.site-main > article > .entry-content,
.site-main > .page-heading .ch-container,
.site-main > .blog-wrap,
.site-main > .single-wrap,
.site-main > .archive-wrap,
.site-main > .not-found-wrap {
  width: min(var(--ch-container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(7, 151, 155, 0.13);
  box-shadow: 0 6px 22px rgba(3, 63, 74, 0.05);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
}

.ch-topbar {
  background: linear-gradient(90deg, var(--ch-blue-deep), var(--ch-blue-dark));
  color: var(--ch-white);
  font-size: 0.9rem;
}

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

.ch-topbar a,
.ch-topbar span {
  color: var(--ch-white);
  text-decoration: none;
}

.ch-topbar-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 88px;
}

.site-branding {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}

.site-branding a {
  align-items: center;
  display: flex;
  text-decoration: none;
}

.site-branding img {
  display: block;
  max-height: 72px;
  width: auto;
}

.primary-navigation {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.primary-navigation ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation li {
  margin: 0;
}

.primary-navigation a {
  border-radius: 999px;
  color: var(--ch-blue-deep);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 750;
  padding: 0.65rem 0.86rem;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  background: var(--ch-ice);
  color: var(--ch-red);
  transform: translateY(-1px);
}

.nav-toggle {
  align-items: center;
  background: var(--ch-blue-deep);
  border: 0;
  border-radius: 999px;
  color: var(--ch-white);
  cursor: pointer;
  display: none;
  font-weight: 800;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
}

.nav-toggle:before {
  content: "☰";
  font-size: 1.2em;
  line-height: 1;
}

.site-main {
  min-height: 62vh;
}

.entry-content {
  padding: 0 0 4.5rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.page-heading {
  background: radial-gradient(circle at 20% 10%, rgba(20, 168, 72, 0.18), transparent 28%), linear-gradient(135deg, var(--ch-blue-deep), var(--ch-blue-dark));
  color: var(--ch-white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-heading:after {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  content: "";
  height: 320px;
  position: absolute;
  right: -90px;
  top: -130px;
  width: 320px;
}

.page-heading h1,
.page-heading p {
  color: var(--ch-white);
  max-width: 850px;
  position: relative;
  z-index: 1;
}

.page-heading p {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  margin: 0;
}

.ch-hero {
  background: radial-gradient(circle at 15% 15%, rgba(20, 168, 72, 0.18), transparent 24%), radial-gradient(circle at 82% 28%, rgba(170, 43, 25, 0.14), transparent 26%), linear-gradient(135deg, #f4feff 0%, #ffffff 50%, #edf9fa 100%);
  border: 1px solid var(--ch-border);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 24px 60px rgba(3, 63, 74, 0.08);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  margin: 0 0 4rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}

.ch-hero:before {
  background: repeating-linear-gradient(135deg, rgba(7,151,155,0.08) 0 2px, transparent 2px 14px);
  content: "";
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.ch-hero > * {
  position: relative;
  z-index: 1;
}

.ch-eyebrow {
  color: var(--ch-red);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.ch-lead {
  color: var(--ch-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 760px;
}

.ch-button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.ch-button,
.wp-block-button__link {
  align-items: center;
  background: var(--ch-blue-dark);
  border: 2px solid var(--ch-blue-dark);
  border-radius: 999px;
  color: var(--ch-white) !important;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.18rem;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ch-button:hover,
.ch-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--ch-red);
  border-color: var(--ch-red);
  box-shadow: 0 14px 26px rgba(169, 43, 25, 0.18);
  color: var(--ch-white) !important;
  transform: translateY(-2px);
}

.ch-button.is-secondary {
  background: var(--ch-white);
  color: var(--ch-blue-dark) !important;
}

.ch-button.is-secondary:hover,
.ch-button.is-secondary:focus {
  background: var(--ch-ice);
  border-color: var(--ch-blue);
  color: var(--ch-blue-deep) !important;
}

.ch-button.is-red {
  background: var(--ch-red);
  border-color: var(--ch-red);
}

.ch-hero-panel {
  align-self: stretch;
  background: linear-gradient(160deg, rgba(255,255,255,0.88), rgba(238,251,252,0.94));
  border: 1px solid rgba(7, 151, 155, 0.16);
  border-radius: var(--ch-radius);
  box-shadow: var(--ch-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 370px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.ch-hero-panel:before {
  background: conic-gradient(from 90deg, var(--ch-blue), var(--ch-green), var(--ch-red), var(--ch-blue));
  border-radius: 50%;
  content: "";
  filter: blur(28px);
  height: 210px;
  opacity: 0.22;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 210px;
}

.ch-hero-stat {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 18px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.ch-hero-stat strong {
  color: var(--ch-blue-deep);
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.ch-hero-stat span {
  color: var(--ch-muted);
  display: block;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.ch-section {
  margin: 0 auto 4rem;
  width: min(var(--ch-container), 100%);
}

.ch-section.is-narrow {
  max-width: 880px;
}

.ch-section-header {
  margin-bottom: 1.8rem;
  max-width: 820px;
}

.ch-section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.ch-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.ch-card {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  box-shadow: 0 14px 38px rgba(3, 63, 74, 0.08);
  overflow: hidden;
  padding: clamp(1.2rem, 2vw, 1.65rem);
}

.ch-card.highlight {
  background: linear-gradient(150deg, var(--ch-blue-deep), var(--ch-blue-dark));
  color: rgba(255,255,255,0.88);
}

.ch-card.highlight h3,
.ch-card.highlight h2,
.ch-card.highlight p,
.ch-card.highlight li {
  color: var(--ch-white);
}

.ch-card .ch-icon {
  align-items: center;
  background: var(--ch-ice);
  border-radius: 16px;
  color: var(--ch-blue-dark);
  display: inline-flex;
  font-size: 1.75rem;
  height: 56px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 56px;
}

.ch-products-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.ch-product-card {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(3, 63, 74, 0.06);
  color: var(--ch-blue-deep);
  font-weight: 800;
  min-height: 94px;
  padding: 1rem;
  position: relative;
}

.ch-product-card:before {
  background: var(--ch-blue);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 1rem;
  position: absolute;
  top: 1rem;
  width: 38px;
}

.ch-product-card span {
  display: block;
  padding-top: 1.1rem;
}

.ch-product-card.is-ice:before {
  background: var(--ch-green);
}

.ch-list-check {
  list-style: none;
  margin-left: 0;
}

.ch-list-check li {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  margin: 0.55rem 0;
  padding: 0.62rem 0.95rem 0.62rem 2.45rem;
  position: relative;
}

.ch-list-check li:before {
  color: var(--ch-green);
  content: "✓";
  font-weight: 900;
  left: 1rem;
  position: absolute;
}

.ch-cta-panel {
  background: radial-gradient(circle at 92% 20%, rgba(20, 168, 72, 0.24), transparent 23%), linear-gradient(135deg, var(--ch-blue-deep), var(--ch-blue-dark));
  border-radius: 32px;
  box-shadow: 0 22px 56px rgba(3, 63, 74, 0.16);
  color: var(--ch-white);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto 4rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  width: min(var(--ch-container), 100%);
}

.ch-cta-panel h2,
.ch-cta-panel p {
  color: var(--ch-white);
}

.ch-cta-panel p {
  color: rgba(255,255,255,0.84);
  margin-bottom: 0;
}

.ch-contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ch-contact-card {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(3, 63, 74, 0.06);
  padding: 1.25rem;
}

.ch-contact-card strong {
  color: var(--ch-blue-deep);
  display: block;
  margin-bottom: 0.25rem;
}

.ch-contact-card a {
  font-weight: 800;
  text-decoration: none;
}

.ch-process {
  counter-reset: process;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ch-process-step {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 20px;
  padding: 1.25rem;
  position: relative;
}

.ch-process-step:before {
  align-items: center;
  background: var(--ch-red);
  border-radius: 50%;
  color: var(--ch-white);
  content: counter(process);
  counter-increment: process;
  display: flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 42px;
}

.ch-badge-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ch-badge {
  background: var(--ch-ice);
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  color: var(--ch-blue-deep);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 850;
  padding: 0.42rem 0.75rem;
}

.site-footer {
  background: #032f38;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2rem;
}

.footer-cta {
  background: linear-gradient(135deg, var(--ch-red), #cc4b30);
  color: var(--ch-white);
  padding: 2rem 0;
}

.footer-cta .ch-container {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.footer-cta h2,
.footer-cta p {
  color: var(--ch-white);
  margin-bottom: 0;
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.25fr 0.85fr 1fr;
}

.footer-brand img {
  background: var(--ch-white);
  border-radius: 18px;
  display: block;
  margin-bottom: 1rem;
  max-height: 90px;
  padding: 0.35rem;
  width: auto;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--ch-white);
}

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

.footer-menu li {
  margin: 0 0 0.35rem;
}

.site-footer a {
  color: var(--ch-white);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #c3fbff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  padding: 1rem 0;
}

.footer-bottom .ch-container {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.blog-wrap,
.archive-wrap,
.single-wrap,
.not-found-wrap {
  padding: 4rem 0;
}

.post-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card,
.single-post-card,
.comment-respond,
.comments-area {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  box-shadow: 0 14px 36px rgba(3,63,74,0.07);
  padding: 1.5rem;
}

.post-card .entry-title {
  font-size: 1.35rem;
}

.post-card .entry-title a {
  color: var(--ch-blue-deep);
  text-decoration: none;
}

.entry-meta,
.entry-footer {
  color: var(--ch-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.entry-meta a,
.entry-footer a {
  color: var(--ch-muted);
}

.read-more {
  color: var(--ch-blue-dark);
  font-weight: 850;
  text-decoration: none;
}

.navigation.posts-navigation,
.post-navigation {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.nav-links a {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  color: var(--ch-blue-deep);
  display: inline-flex;
  font-weight: 800;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.single-post-card .entry-title {
  margin-bottom: 0.35rem;
}

.single-post-card .entry-content {
  padding-bottom: 0;
}

.alignwide,
.alignfull {
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.wp-block-image,
.wp-block-gallery,
.wp-block-table,
.wp-block-quote {
  margin-bottom: 1.75rem;
}

.wp-block-quote {
  border-left: 5px solid var(--ch-blue);
  color: var(--ch-blue-deep);
  padding-left: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 12px;
  color: var(--ch-ink);
  padding: 0.8rem 0.9rem;
  width: 100%;
}

textarea {
  min-height: 140px;
}

input[type="submit"],
button[type="submit"] {
  background: var(--ch-blue-dark);
  border: 0;
  border-radius: 999px;
  color: var(--ch-white);
  cursor: pointer;
  font-weight: 850;
  padding: 0.8rem 1.2rem;
}

@media (max-width: 980px) {
  .ch-hero,
  .ch-grid,
  .ch-grid.two,
  .ch-cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ch-products-grid,
  .ch-process,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ch-contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta .ch-container,
  .footer-bottom .ch-container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .ch-topbar .ch-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .site-branding img {
    max-height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    background: var(--ch-white);
    border-bottom: 1px solid var(--ch-border);
    box-shadow: var(--ch-shadow);
    display: none;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    align-items: stretch;
    display: grid;
    gap: 0.25rem;
    justify-content: stretch;
  }

  .primary-navigation a {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .ch-hero {
    border-radius: 0 0 28px 28px;
    margin-bottom: 3rem;
  }

  .ch-hero-panel {
    min-height: 0;
  }

  .ch-products-grid,
  .ch-process,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .ch-button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ch-button {
    width: 100%;
  }

  .page-heading {
    padding: 3.5rem 0 3rem;
  }
}
