/* =========================================================
   Ocean Capital — base stylesheet
   ========================================================= */

:root {
    --color-primary: #1a3a6f;
    --color-primary-dark: #12294f;
    --color-accent: #92959a;
    --color-text: #333333;
    --color-text-light: #6b6b6b;
    --color-bg-light: #f4f6f9;
    --color-border: #e5e9ee;
    --color-white: #ffffff;
    --font-heading: 'Poppins', Arial, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;
    --container-width: 1170px;
    --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px;
}

p { margin: 0 0 16px; color: #444; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.sec-padd { padding: 70px 0; }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 13px 32px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 2px solid var(--color-primary);
    border-radius: 2px;
    cursor: pointer;
    transition: all .25s ease;
}
.btn:hover { background: transparent; color: var(--color-primary); }
.btn-grey { background: var(--color-accent); border-color: var(--color-accent); }
.btn-grey:hover { background: transparent; color: var(--color-accent); }

.section-title { margin-bottom: 20px; }
.section-title.center { text-align: center; }
.section-title h2 { font-size: 30px; }
.separator { display: block; margin: 0 auto 30px; height: 14px; width: auto; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 500; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.logo img { height: 48px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
    display: block;
    padding: 10px 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    border-bottom: 2px solid transparent;
}
.main-nav > ul > li.active > a,
.main-nav > ul > li > a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 10;
}
.main-nav .has-children:hover .sub-menu { display: block; }
.main-nav .sub-menu a { padding: 10px 20px; font-weight: 500; border-bottom: none; }
.main-nav .sub-menu a:hover { background: var(--color-bg-light); }

.lang-switcher { display: flex; align-items: center; margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--color-border); }
.lang-switcher select {
    appearance: none; -webkit-appearance: none;
    padding: 8px 30px 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-primary);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231a3a6f'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
}
.lang-switcher select:hover, .lang-switcher select:focus { border-color: var(--color-accent); outline: none; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2px; width: 26px; background: var(--color-primary); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Inner banner
   ========================================================= */
.inner-banner { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); padding: 46px 0; color: #fff; }
.inner-banner h1 { color: #fff; margin: 0 0 8px; font-size: 30px; }
.inner-banner .breadcrumb { display: flex; justify-content: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.inner-banner .breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: rgba(255,255,255,.5); }
.inner-banner .breadcrumb a { color: rgba(255,255,255,.85); }
.inner-banner .breadcrumb a:hover { color: #fff; }

/* =========================================================
   Hero slider (homepage)
   ========================================================= */
.hero-slider { position: relative; height: 560px; overflow: hidden; background: var(--color-primary-dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease; background-size: cover; background-position: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-dots { position: absolute; z-index: 3; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.is-active { background: #fff; }

/* =========================================================
   Two-column feature boxes (home)
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.feature-card { position: relative; border-radius: 6px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.feature-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,41,79,.15) 0%, rgba(18,41,79,.92) 100%); z-index: 1; }
.feature-card .feature-content { position: relative; z-index: 2; padding: 26px 28px; color: #fff; }
.feature-card h4 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 0; }

/* =========================================================
   Product cards strip (home) & category grids
   ========================================================= */
.product-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.product-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(18,41,79,.05);
    transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { box-shadow: 0 14px 28px rgba(18,41,79,.14); transform: translateY(-3px); }
.product-card .img-box { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--color-bg-light); }
.product-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .img-box img { transform: scale(1.06); }
.product-card .cat-tag {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    padding: 4px 10px; border-radius: 30px;
    font-family: var(--font-heading); font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em; color: #fff;
    background: var(--color-primary); box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.product-card .cat-tag--pelagic { background: var(--color-primary); }
.product-card .cat-tag--cephalopod { background: var(--color-accent); }
.product-card .content { padding: 18px 20px 22px; }
.product-card h4 { font-size: 17px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--color-text-light); margin-bottom: 14px; }
.product-card .read-more { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--color-primary); }
.product-card .read-more:hover { color: var(--color-accent); }

/* =========================================================
   Products overview page (category intro rows)
   ========================================================= */
.category-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; margin: 20px 0 40px; }
.category-intro img { border-radius: 6px; }
.category-intro h3 { font-size: 24px; }
.mini-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.mini-product { text-align: center; }
.mini-product .img-box { border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; margin: 0 auto 16px; max-width: 220px; border: 4px solid var(--color-bg-light); }
.mini-product .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mini-product:hover .img-box img { transform: scale(1.08); }
.mini-product h4 { font-size: 17px; }

/* =========================================================
   Product detail page
   ========================================================= */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-detail .media { border-radius: 6px; overflow: hidden; }
.product-detail .media img { width: 100%; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table th { text-align: left; padding: 12px 0; width: 40%; font-family: var(--font-heading); font-size: 13px; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.spec-table td { padding: 12px 0; color: #444; }

/* =========================================================
   World map / certifications
   ========================================================= */
.worldmap-section img { max-width: 900px; margin: 0 auto; }
.two-col-blurb { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.two-col-blurb h4 { font-size: 18px; }

.cert-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 50px; margin-top: 30px; }
.cert-strip img { max-height: 75px; width: auto; }

/* =========================================================
   Quality process steps
   ========================================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; text-align: center; }
.step { position: relative; padding: 0 10px; }
.step .step-icon { position: relative; width: 90px; height: 90px; margin: 0 auto 18px; }
.step .step-icon img { width: 100%; height: 100%; object-fit: contain; }
.step .step-number {
    position: absolute; top: -6px; right: -6px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--color-primary); color: #fff;
    font-family: var(--font-heading); font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 17px; }
.step p { font-size: 14px; color: var(--color-text-light); }

/* =========================================================
   Entreprise page
   ========================================================= */
.entreprise-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.entreprise-hero-grid img { border-radius: 6px; }
.experience-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; margin-top: 20px; }
.experience-col + .experience-col { margin-top: 40px; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; margin-top: -70px; }
.contact-map iframe, .contact-map { width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact-info-band { background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.contact-info-band h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.75); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; padding: 50px 0 30px; align-items: start; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col p { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-product-list li { margin-bottom: 8px; }
.footer-product-list a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer-product-list a:hover { color: #fff; }
.footer-logo-col { display: flex; justify-content: center; align-items: flex-start; }
.footer-logo-col img { filter: brightness(0) invert(1); opacity: .9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,.5); text-align: center; }
