/* Oceanic / Bahari Seafood CSS Tokens */
:root {
    --c-primary: #104153;
    --c-primary-dark: #0a2d3b;
    --c-primary-light: #e0f2fe;
    --c-secondary: #f97316;
    --c-dark: #0f172a;
    --c-text: #334155;
    --c-text-muted: #64748b;
    --c-border: #e2e8f0;
    --c-surface: #f0f7fa;
    --c-white: #ffffff;
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    --container-max: 1200px;
    --container-px: 24px;
    --section-py: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(16, 65, 83, 0.08);
    --shadow-md: 0 8px 24px rgba(16, 65, 83, 0.12);
    --shadow-lg: 0 16px 48px rgba(16, 65, 83, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--c-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
}

.section--surface {
    background: var(--c-surface);
}

.section--dark {
    background: var(--c-primary);
    color: var(--c-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: var(--c-white);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    background: var(--c-primary-light);
    color: var(--c-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--c-text-muted);
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.btn-primary:hover {
    background: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--c-secondary);
    color: #fff;
    border-color: var(--c-secondary);
}

.btn-secondary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--c-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-weight: 500;
    color: var(--c-text);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--c-primary);
    background: var(--c-surface);
}

/* Hero */
.section-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        var(--c-primary-dark) 0%,
        var(--c-primary) 100%
    );
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

.hero-badge span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card__img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--c-surface);
    overflow: hidden;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card__img-wrap img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--c-secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-card__name {
    font-size: 1.1rem;
    margin-bottom: 8px;
    flex: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}

/* CTA */
.section-cta {
    background: linear-gradient(
        135deg,
        var(--c-primary-dark) 0%,
        var(--c-primary) 100%
    );
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: var(--c-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 0.9rem;
    text-align: center;
}

/* Gallery lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(10, 20, 25, 0.94);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.active {
    display: flex;
}
.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
}
.lightbox__img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: fixed;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--c-secondary);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Nav-link/button labels must never wrap (see TEMPLATE-FIX-CHECKLIST.md item 12) */
.nav-link,
.btn {
    white-space: nowrap;
}

/* Floating cart trigger (shop/product pages only, see TEMPLATE-FIX-CHECKLIST.md item 12) */
.cart-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 950;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-secondary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.cart-fab:hover {
    transform: translateY(-3px);
}
.cart-fab[hidden] {
    display: none !important;
}
.cart-fab__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--c-dark);
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
