/* ===========================
   GEORGE & SONS MARINE SUPPLIERS
   Main Stylesheet
=========================== */

:root {
  --navy: #0a1f3c;
  --navy-mid: #0d2d56;
  --blue: #0076CE;
  --blue-light: #1e8fe0;
  --gold: #c8a84b;
  --gold-light: #e4c84b;
  --white: #ffffff;
  --off-white: #f5f8fc;
  --text: #2c3e50;
  --text-light: #5a6a7a;
  --border: #dde5ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; color: var(--text); background: var(--white); }

/* TOPBAR */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.topbar i { color: var(--gold); }
.cert-badge {
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold-light);
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* NAVBAR */
.main-nav {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0 0;
  transition: all 0.3s;
  z-index: 1000;
}
.main-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.brand-name span { color: var(--blue); }
.brand-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-link {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  color: var(--navy) !important;
  font-size: 0.9rem;
  padding: 1.2rem 0.8rem !important;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s;
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--blue) !important; }
.nav-link.active { color: var(--blue) !important; }
.nav-cta {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.4rem !important;
  border-radius: 4px;
}

/* HERO */
.hero-section {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3060 50%, #0a4a8c 100%),
    url('https://images.unsplash.com/photo-1558369983-e5b9b9b9b9b9?w=1600') center/cover no-repeat;
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,31,60,0.95) 0%, rgba(10,31,60,0.6) 60%, transparent 100%);
}
.ocean-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,64L48,58.7C96,53,192,43,288,42.7C384,43,480,53,576,53.3C672,53,768,43,864,42.7C960,43,1056,53,1152,53.3C1248,53,1344,43,1392,37.3L1440,32L1440,80L1392,80C1344,80,1248,80,1152,80C1056,80,960,80,864,80C768,80,672,80,576,80C480,80,384,80,288,80C192,80,96,80,48,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") bottom/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 0.9s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(200,168,75,0.2);
  border: 1px solid rgba(200,168,75,0.5);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-content h1 span {
  color: var(--gold-light);
  font-style: italic;
}
.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 580px;
}
.hero-btn { background: var(--blue); border: none; font-weight: 600; letter-spacing: 0.04em; }
.hero-btn:hover { background: var(--blue-light); }
.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat { display: flex; flex-direction: column; padding: 0 2rem 0 0; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); margin: 0 2rem 0 0; }

/* PORTS TICKER */
.ports-ticker {
  background: var(--blue);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 46px;
}
.ticker-label {
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 20px;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-content {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ticker-content i { color: rgba(255,255,255,0.5); font-size: 0.7rem; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTIONS */
.section-pad { padding: 90px 0; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.section-tag.light { color: var(--gold-light); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title span { color: var(--blue); }
.section-title.light { color: var(--white); }
.section-title.light span { color: var(--gold-light); }
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-text { color: var(--text-light); line-height: 1.8; margin-bottom: 0.8rem; }

/* ABOUT BLOCK */
.about-img-block { position: relative; }
.main-img { border-radius: 12px; overflow: hidden; }
.main-img img { width: 100%; height: 420px; object-fit: cover; }
.floating-card {
  position: absolute;
  top: 30px;
  right: -20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 20px 24px;
  text-align: center;
}
.experience-pill {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: var(--blue);
  color: white;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,118,206,0.35);
}
.exp-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}
.exp-label { font-size: 0.78rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9; }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.about-point i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }

/* SERVICES */
.services-bg { background: var(--off-white); }
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #e8f4fd, #c5e3f7);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: var(--blue);
  transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--blue); color: white; }
.service-card h5 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; letter-spacing: 0.02em; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1rem; }
.service-link { font-size: 0.85rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.service-card:hover .service-link { gap: 10px; }

/* WHY SECTION */
.why-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 90px 0; }
.why-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  background: rgba(0,118,206,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  font-size: 1rem;
}
.why-feature strong { color: white; font-size: 0.95rem; display: block; margin-bottom: 4px; }
.why-feature p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }
.why-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.why-stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-stat-card i { font-size: 1.8rem; color: var(--gold-light); margin-bottom: 0.8rem; display: block; }
.why-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.why-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* CLIENTS */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.client-chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s;
  cursor: default;
}
.client-chip:hover { background: var(--blue); color: white; border-color: var(--blue); transform: translateY(-2px); }

/* BRANDS */
.brands-section {
  background: var(--navy);
  padding: 28px 0;
}
.brands-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 14px;
  margin-top: 0;
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand-item {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.brand-sep { color: rgba(255,255,255,0.2); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #003875 0%, var(--blue) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: white;
  margin-bottom: 0.8rem;
}
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.cta-btn-light { color: var(--blue); font-weight: 600; }

/* FOOTER */
.main-footer { background: var(--navy); padding: 70px 0 0; }
.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}
.footer-brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; }
.footer-text { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.fcert-badge {
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.35);
  color: var(--gold-light);
  padding: 3px 12px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer-heading {
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 12px; color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 50px 0 24px; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.82rem; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0,118,206,0.12);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero h1 span { color: var(--gold-light); font-style: italic; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; }
.breadcrumb-item { color: rgba(255,255,255,0.5) !important; font-size: 0.85rem; }
.breadcrumb-item.active { color: var(--gold-light) !important; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3) !important; }

/* BUTTONS */
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: #005fa8; border-color: #005fa8; }
.btn-outline-primary { color: var(--blue); border-color: var(--blue); }
.btn-outline-primary:hover { background: var(--blue); border-color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .hero-section { min-height: auto; padding: 100px 0 120px; }
  .floating-card { display: none; }
  .experience-pill { position: static; margin-top: 20px; display: inline-flex; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .brands-row { flex-direction: column; align-items: center; }
  .brand-sep { display: none; }
}
