/*
Theme Name: FishConnect
Theme URI: https://fishconnect.so
Author: FishConnect
Author URI: https://fishconnect.so
Description: The FishConnect Marine Solutions fisheries and blue-economy theme. Pixel-matched to the approved homepage design: hero banner, stats bar, six solution cards, an eight-step value chain, five impact cards, featured projects, a photo gallery, news, events, a success story, partner logos and a call-to-action. Set your logo under Appearance -> Customize -> Site Identity.
Version: 1.0.2
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fishconnect
Tags: business, blue, custom-logo, custom-menu, featured-images, one-column
*/

:root{
  --navy:#0b2e59; --navy-dark:#0a2748; --footer:#08213f;
  --blue:#1a6bb8; --blue-2:#2f80c9; --accent:#1a5b9c;
  --surface:#f4f8fc; --line:#e6edf4; --text:#51607a; --muted:#8a97a8;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:"Inter",'Segoe UI',Tahoma,sans-serif;color:#2b3a4f;background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{display:block;max-width:100%}
.container{width:92%;max-width:1240px;margin:0 auto}
.eyebrow{color:var(--blue);font-weight:700;text-transform:uppercase;font-size:.72rem;letter-spacing:1.5px}
.sec-title{font-size:2rem;color:var(--navy);margin-top:8px;font-weight:800}
.btn{display:inline-block;padding:12px 26px;border-radius:5px;font-weight:600;font-size:.9rem;cursor:pointer;border:2px solid transparent;transition:.25s}
.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn-primary:hover{background:#155a9e;border-color:#155a9e}
.btn-out{background:transparent;color:var(--navy);border-color:#cdd8e4}
.btn-out:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.85)}
.btn-ghost:hover{background:#fff;color:var(--navy)}
.btn-sm{padding:9px 18px;font-size:.8rem}

/* TOP BAR */
.topbar{background:var(--navy);color:#dbe6f2;font-size:.82rem}
.topbar .container{display:flex;align-items:center;justify-content:space-between;height:38px;gap:14px}
.tb-left{display:flex;gap:22px;flex-wrap:wrap}
.tb-left i,.tb-mid i{color:#8fb4dc;margin-right:6px}
.tb-right{display:flex;align-items:center;gap:16px}
.tb-social a{color:#cdddee;margin-left:11px;transition:.2s}
.tb-social a:hover{color:#fff}
.tb-lang{border-left:1px solid rgba(255,255,255,.2);padding-left:14px}

/* NAV */
.site-nav{background:#fff;box-shadow:0 2px 14px rgba(10,40,80,.07);position:sticky;top:0;z-index:1000}
.site-nav .container{display:flex;align-items:center;justify-content:space-between;height:78px;gap:20px}
.brand{display:flex;align-items:center;gap:12px}
.brand .mark{width:46px;height:46px;flex:0 0 auto}
.brand img.custom-logo,.brand .custom-logo-link img,.custom-logo{max-height:54px!important;width:auto!important;max-width:220px!important;object-fit:contain}
.brand .word b{font-size:1.45rem;font-weight:800;letter-spacing:.5px;white-space:nowrap;line-height:1}
.brand .word b .a{color:var(--navy)} .brand .word b .b{color:var(--blue)}
.brand .word .sub{display:block;font-size:.6rem;letter-spacing:3px;color:var(--muted);margin-top:3px;font-weight:600}
.menu{display:flex;align-items:center;gap:26px}
.menu>li>a{font-size:.82rem;font-weight:700;letter-spacing:.4px;color:#33435a;padding:6px 0;display:inline-flex;align-items:center;gap:6px;transition:.2s}
.menu>li>a .caret{font-size:.6rem;color:var(--muted)}
.menu>li>a:hover{color:var(--blue)}
.menu>li.active>a{color:var(--blue);position:relative}
.menu>li.active>a::after{content:"";position:absolute;left:0;right:0;bottom:-26px;height:3px;background:var(--blue);border-radius:2px}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-right .search{background:none;border:none;color:#33435a;font-size:1rem;cursor:pointer}
.burger{display:none;background:none;border:none;font-size:1.4rem;color:var(--navy);cursor:pointer}

/* HERO SLIDER */
.hero-slider{position:relative;min-height:560px;overflow:hidden;background-color:#dcebf7}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;display:flex;align-items:center;background-size:cover;background-position:center right;background-repeat:no-repeat}
.hero-slide.active{opacity:1;z-index:1}
.hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,248,252,.96) 0%,rgba(244,248,252,.8) 32%,rgba(244,248,252,.28) 55%,rgba(244,248,252,0) 74%)}
.hero-slide .container{position:relative;z-index:2}
.hero-box{max-width:560px}
.hero-box h1{font-size:3.1rem;line-height:1.12;color:var(--navy);font-weight:800;margin-bottom:20px}
.hero-box p{font-size:1.05rem;color:#3f5169;margin-bottom:28px;max-width:480px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border-radius:50%;border:none;background:rgba(11,46,89,.5);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.25s}
.hero-arrow:hover{background:rgba(11,46,89,.85)}
.hero-arrow.prev{left:18px}.hero-arrow.next{right:18px}
.hero-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:9px}
.hero-dots button{width:11px;height:11px;border-radius:50%;border:none;background:rgba(11,46,89,.35);cursor:pointer;padding:0;transition:.25s}
.hero-dots button.active{background:var(--blue);transform:scale(1.2)}

/* STATS */
.stats{background:var(--navy);color:#fff}
.stats .container{display:grid;grid-template-columns:repeat(6,1fr)}
.stat{padding:30px 14px;text-align:center;position:relative}
.stat:not(:last-child)::after{content:"";position:absolute;right:0;top:22%;height:56%;width:1px;background:rgba(255,255,255,.16)}
.stat i{font-size:1.7rem;color:#8fb4dc;margin-bottom:12px}
.stat h3{font-size:1.7rem;font-weight:800;margin-bottom:6px}
.stat p{font-size:.76rem;opacity:.82;line-height:1.4}

/* SECTION SHELL */
.section{padding:72px 0}
.section.surface{background:var(--surface)}

/* SOLUTIONS */
.sol-wrap{display:grid;grid-template-columns:.9fr 2.2fr;gap:40px;align-items:start}
.sol-intro p{color:var(--text);margin:16px 0 24px;font-size:.95rem}
.sol-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.sol-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:.25s;box-shadow:0 6px 18px rgba(10,40,80,.04)}
.sol-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(10,40,80,.1)}
.sol-card .thumb{height:120px;overflow:hidden}
.sol-card .thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
.sol-card:hover .thumb img{transform:scale(1.06)}
.sol-body{padding:16px;display:flex;gap:12px;align-items:flex-start}
.sol-ic{width:34px;height:34px;flex:0 0 auto;border-radius:8px;background:#e8f1fb;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:.95rem}
.sol-txt{flex:1}
.sol-txt h4{font-size:1rem;color:var(--navy);margin-bottom:5px}
.sol-txt p{font-size:.8rem;color:var(--text);line-height:1.5}
.sol-card .arrow{color:var(--muted);align-self:center;font-size:.8rem}

/* VALUE CHAIN */
.chain-head{text-align:center;margin-bottom:34px}
.chain-row{display:flex;align-items:flex-start;gap:6px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.chain-row::-webkit-scrollbar{display:none}
.chain-step{flex:1 1 0;min-width:110px;text-align:center}
.chain-step .ci{border-radius:8px;overflow:hidden;height:84px}
.chain-step .ci img{width:100%;height:100%;object-fit:cover}
.chain-step p{margin-top:9px;font-size:.78rem;font-weight:700;color:var(--navy)}
.chain-arrow{align-self:center;color:#b9c6d6;font-size:.9rem;margin-top:30px;flex:0 0 auto}

/* IMPACT (baked-text image cards) */
.impact-wrap{display:grid;grid-template-columns:.95fr 2.4fr;gap:40px;align-items:start}
.impact-intro p{color:var(--text);margin:16px 0 24px;font-size:.95rem}
.impact-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.impact-card{position:relative;border-radius:10px;overflow:hidden;min-height:290px;display:flex;align-items:flex-end;background-size:cover;background-position:center;box-shadow:0 6px 18px rgba(10,40,80,.08)}
.impact-card::before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(6,20,40,.92),rgba(6,20,40,.15) 66%,transparent)}
.impact-card .ov{position:relative;z-index:2;padding:16px 14px;color:#fff}
.impact-card h4{font-size:.92rem;margin-bottom:6px;font-weight:700}
.impact-card p{font-size:.72rem;line-height:1.42;opacity:.92}

/* PROJECTS */
.proj-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:16px;margin-bottom:34px}
.proj-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.proj-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 6px 18px rgba(10,40,80,.05)}
.proj-card .thumb{height:150px;overflow:hidden}
.proj-card .thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
.proj-card:hover .thumb img{transform:scale(1.05)}
.proj-body{padding:18px}
.proj-body h4{font-size:1rem;color:var(--navy);margin-bottom:8px;line-height:1.3}
.proj-body p{font-size:.8rem;color:var(--text);line-height:1.5;margin-bottom:12px}
.proj-meta{font-size:.75rem;color:var(--muted);display:flex;align-items:center;gap:6px;margin-bottom:4px}
.proj-meta i{color:var(--blue)}
.proj-date{font-size:.75rem;color:var(--muted);font-weight:600}

/* GALLERY */
.gal-head{text-align:center;margin-bottom:26px}
.gal-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.gal-grid .g{border-radius:8px;overflow:hidden;height:120px}
.gal-grid img{width:100%;height:100%;object-fit:cover;transition:.4s}
.gal-grid .g:hover img{transform:scale(1.1)}

/* NEWS / EVENTS / STORY */
.trio{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:38px}
.col-h{font-size:.72rem;letter-spacing:1.4px;font-weight:800;color:var(--blue);text-transform:uppercase;padding-bottom:12px;margin-bottom:18px;border-bottom:2px solid var(--line)}
.news-i{display:flex;gap:13px;margin-bottom:18px}
.news-i img{width:74px;height:60px;object-fit:cover;border-radius:6px;flex:0 0 auto}
.news-i h5{font-size:.9rem;color:var(--navy);line-height:1.35;margin-bottom:5px}
.news-i .d{font-size:.72rem;color:var(--muted)}
.event-i{display:flex;gap:14px;margin-bottom:18px;align-items:flex-start}
.ev-date{background:#eef4fb;border-radius:8px;text-align:center;padding:8px 6px;min-width:52px}
.ev-date strong{display:block;color:var(--blue);font-size:1.05rem;line-height:1}
.ev-date span{font-size:.68rem;color:var(--muted);letter-spacing:1px}
.event-i h5{font-size:.9rem;color:var(--navy);margin-bottom:3px}
.event-i p{font-size:.78rem;color:var(--muted)}
.story{display:flex;gap:18px;align-items:flex-start}
.story-txt{flex:1}
.story-txt h4{font-size:1.25rem;color:var(--navy);margin-bottom:12px}
.story-txt p{font-size:.85rem;color:var(--text);line-height:1.6;margin-bottom:16px}
.story img{width:170px;height:190px;object-fit:cover;border-radius:8px;flex:0 0 auto}

/* PARTNERS */
.partners{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;background:#fff}
.part-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:22px}
.part-row img{height:42px;width:auto;object-fit:contain;filter:saturate(1)}

/* CTA (live text over background photo) */
.cta{position:relative;background-size:cover;background-position:center;background-color:var(--navy);color:#fff}
.cta::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,40,80,.95) 0%,rgba(10,40,80,.8) 45%,rgba(10,40,80,.45) 100%)}
.cta .container{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap;padding:46px 0}
.cta h2{font-size:1.8rem;font-weight:800;margin-bottom:8px}
.cta p{max-width:620px;opacity:.9;font-size:.95rem}

/* FOOTER */
.footer{background:var(--footer);color:#a9bad0;padding:60px 0 0}
.f-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1.3fr;gap:34px;padding-bottom:40px}
.f-brand .word b{font-size:1.3rem;font-weight:800}
.f-brand .word b .a{color:#fff}.f-brand .word b .b{color:var(--blue-2)}
.f-brand .word .sub{font-size:.58rem;letter-spacing:3px;color:#7f93ad;display:block;margin-top:3px}
.f-brand p{font-size:.82rem;line-height:1.6;margin:16px 0 18px;color:#94a6bd}
.f-social a{display:inline-flex;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.08);align-items:center;justify-content:center;margin-right:8px;color:#c2d2e6;transition:.2s}
.f-social a:hover{background:var(--blue)}
.footer h4{color:#fff;font-size:.82rem;letter-spacing:1px;margin-bottom:18px;text-transform:uppercase}
.footer li{margin-bottom:10px}
.footer li a{font-size:.83rem;color:#a9bad0;transition:.2s}
.footer li a:hover{color:#fff}
.f-contact li{display:flex;gap:10px;font-size:.83rem;line-height:1.5}
.f-contact i{color:var(--blue-2);margin-top:3px}
.f-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:.78rem;color:#8598b0}
.f-bottom a{color:#8598b0}.f-bottom a:hover{color:#fff}

/* BLOG FALLBACK */
.blog-wrap{width:min(820px,92%);margin:60px auto}
.blog-wrap article{margin-bottom:40px;padding-bottom:30px;border-bottom:1px solid var(--line)}
.blog-wrap h2{color:var(--navy);margin-bottom:8px}
.blog-wrap .meta{color:var(--muted);font-size:.85rem;margin-bottom:14px}
.blog-wrap img{border-radius:10px;margin-bottom:14px}

/* RESPONSIVE */
@media(max-width:1024px){
  .menu{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 12px 20px rgba(0,0,0,.08);padding:8px 0}
  .menu.open{display:flex}
  .menu>li>a{padding:13px 6%;border-bottom:1px solid #f0f4f8}
  .menu>li.active>a::after{display:none}
  .burger{display:block}
  .stats .container{grid-template-columns:repeat(3,1fr)}
  .stat:nth-child(3)::after{display:none}
  .sol-wrap,.impact-wrap{grid-template-columns:1fr;gap:30px}
  .impact-grid{grid-template-columns:repeat(3,1fr)}
  .proj-grid{grid-template-columns:repeat(2,1fr)}
  .trio{grid-template-columns:1fr}
  .gal-grid{grid-template-columns:repeat(3,1fr)}
  .f-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .topbar .tb-mid,.tb-lang{display:none}
  .stats .container{grid-template-columns:repeat(2,1fr)}
  .stat::after{display:none}
  .sol-grid{grid-template-columns:1fr}
  .impact-grid{grid-template-columns:1fr 1fr}
  .chain-step{min-width:120px}
  .proj-grid{grid-template-columns:1fr}
  .gal-grid{grid-template-columns:repeat(2,1fr)}
  .f-grid{grid-template-columns:1fr}
  .story{flex-direction:column}.story img{width:100%;height:200px}
  .part-row{justify-content:center;gap:26px}
  .part-row img{height:34px}
  .sec-title{font-size:1.6rem}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* icon polish */
.tb-social a i{font-size:.82rem}
.f-social a i{font-size:.85rem}
.sol-ic i{font-size:.95rem}

/* slider responsive + misc */
@media(max-width:640px){
  .hero-slider{min-height:520px}
  .hero-box h1{font-size:2.1rem}
  .hero-arrow{width:36px;height:36px}
}
a.news-i{color:inherit}
a.news-i:hover h5{color:var(--blue)}

/* footer uploaded logo */
.f-logo-img{max-height:64px;width:auto;margin-bottom:14px;display:block}
