/*
Theme Name: SeaSafe Marine - Visual & Slider Theme
Theme URI: https://www.seasafe.co.uk
Author: SeaSafe Systems Ltd
Description: Ultra-visual, slider-rich WordPress theme for SeaSafe Systems Ltd inspired by Ocean Safety and Spinlock.
Version: 3.0.0
Text Domain: seasafe
*/

:root {
  --color-navy-dark: #0B192C;
  --color-slate-dark: #0F172A;
  --color-ocean-blue: #0284C7;
  --color-tech-cyan: #0EA5E9;
  --color-safety-red: #E63946;
  --color-bg-light: #F8FAFC;
  --color-card-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.5;
}

/* Header & Announcement */
.top-bar {
  background: var(--color-navy-dark);
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-bar span { color: #FFFFFF; }

.site-header {
  background: var(--color-card-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-slate-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.site-logo span { color: var(--color-safety-red); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-slate-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-ocean-blue); }

/* Buttons */
.btn-red, .btn-navy, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-red { background-color: var(--color-safety-red); color: #FFFFFF; }
.btn-red:hover { background-color: #C52A36; }

.btn-navy { background-color: var(--color-slate-dark); color: #FFFFFF; }
.btn-navy:hover { background-color: var(--color-ocean-blue); }

.btn-outline { background: transparent; border: 2px solid #FFFFFF; color: #FFFFFF; }
.btn-outline:hover { background: #FFFFFF; color: var(--color-slate-dark); }

/* Swiper Hero Slider */
.hero-swiper {
  width: 100%;
  height: 80vh;
  min-height: 550px;
  background: var(--color-navy-dark);
}

.swiper-slide.hero-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(11, 25, 44, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  color: #FFFFFF;
}

.hero-slide-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 16px 0;
  max-width: 700px;
}

.hero-slide-content p {
  font-size: 1.25rem;
  color: #CBD5E1;
  max-width: 600px;
  margin-bottom: 32px;
}

/* Audience Gateways */
.audience-section {
  max-width: 1320px;
  margin: -60px auto 64px auto;
  padding: 0 24px;
  position: relative;
  z-index: 20;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
  .hero-slide-content h1 { font-size: 2.2rem; }
}

.audience-card {
  background: var(--color-card-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
  transition: transform 0.25s ease;
}

.audience-card:hover { transform: translateY(-6px); }

.audience-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.audience-card-body { padding: 24px; }

.audience-card-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

/* Product Swiper Carousel */
.product-swiper-container {
  padding: 40px 0;
}

.product-card {
  background: var(--color-card-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.product-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-slate-dark);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

.product-body { padding: 20px; }

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gallery-item {
  height: 220px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }