/* ========================================
   OCEAN GROUP CONSTRUCTION — MAIN STYLESHEET
   ======================================== */

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

:root {
  --navy: #1a2332;
  --navy-light: #243145;
  --orange: #e8720c;
  --orange-dark: #c45f08;
  --white: #ffffff;
  --gray-light: #f4f6f9;
  --gray: #6b7280;
  --text: #1f2937;
  --border: #e5e7eb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
p { color: #4b5563; line-height: 1.75; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* ---- LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark p { color: #94a3b8; }
.section-gray { background: var(--gray-light); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,114,12,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-logo span { color: var(--orange); }
.nav-logo small { display: block; font-size: 0.65rem; font-weight: 400; color: #94a3b8; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: #cbd5e1; font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--orange); color: var(--white) !important; padding: 8px 20px; border-radius: 5px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--orange-dark); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243145 50%, #1a3050 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(232,114,12,0.08));
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,114,12,0.15);
  border: 1px solid rgba(232,114,12,0.3);
  color: #fba94c;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 16px;
  max-width: 560px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.hero-tag {
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--white); }
.hero-stat-num span { color: var(--orange); }
.hero-stat-label { font-size: 0.8rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--orange); padding: 16px 0; }
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-item { color: var(--white); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.trust-item .icon { font-size: 1rem; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; }

/* ---- CERTS ---- */
.certs-section { background: var(--navy); }
.certs-intro { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.certs-intro h2 { color: var(--white); }
.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.cert-group h4 { color: var(--orange); margin-bottom: 20px; font-size: 0.75rem; letter-spacing: 0.1em; }
.cert-list { display: flex; flex-direction: column; gap: 12px; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
}
.cert-item .dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
.license-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-align: center;
}
.license-item { color: #94a3b8; font-size: 0.85rem; }
.license-item strong { color: var(--white); display: block; margin-bottom: 2px; }

/* ---- SOCIAL PROOF / WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.why-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
}
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h3 { margin-bottom: 10px; }

/* ---- CTA STRIP ---- */
.cta-strip {
  background: linear-gradient(135deg, var(--orange) 0%, #c45f08 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-outline { border-color: rgba(255,255,255,0.6); }

/* ---- CONTACT FORM ---- */
.contact-section { background: var(--gray-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; margin-top: 48px; }
.contact-info h3 { margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail .icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); font-weight: 600; }
.contact-detail .value { font-weight: 600; color: var(--text); margin-top: 2px; font-size: 1rem; }
.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,114,12,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ---- FOOTER ---- */
.footer { background: #111827; color: #9ca3af; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand .footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; color: #9ca3af; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; font-size: 0.8rem; }
.footer-licenses { color: #6b7280; font-size: 0.75rem; }

/* ---- GC PAGE SPECIFIC ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #243145);
  color: var(--white);
  padding: 80px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: #94a3b8; font-size: 1.1rem; max-width: 600px; }
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.capability-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.capability-dot { width: 10px; height: 10px; background: var(--orange); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.capability-item h3 { font-size: 1rem; margin-bottom: 6px; }
.capability-item p { font-size: 0.875rem; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.diff-card {
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-align: center;
}
.diff-card h3 { color: var(--white); margin-bottom: 12px; }
.bid-form-section { background: var(--gray-light); }
.bid-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  margin: 40px auto 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0 48px; }
  .hero-stats { gap: 24px; }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .diff-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .trust-bar-inner { gap: 20px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

/* ---- HERO IMAGE OVERLAY ---- */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

/* ---- PROJECT GALLERY ---- */
.gallery-section { background: var(--navy); padding: 80px 0; }
.gallery-section h2 { color: var(--white); text-align: center; margin-bottom: 12px; }
.gallery-section .gallery-sub { color: #94a3b8; text-align: center; margin-bottom: 48px; font-size: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #243145;
}
.gallery-item.large { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  min-height: 220px;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-cta { text-align: center; margin-top: 40px; }
.gallery-note { color: #64748b; font-size: 0.8rem; margin-top: 12px; }

/* ---- HERO VISUAL SECTION ---- */
.hero-visual {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,35,50,0.6), rgba(26,35,50,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-text {
  text-align: center;
  color: white;
  padding: 0 24px;
}
.hero-visual-text h2 { color: white; font-size: clamp(1.5rem, 4vw, 2.5rem); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-visual-text p { color: rgba(255,255,255,0.85); margin-top: 12px; font-size: 1.1rem; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-row: span 1; }
  .hero-visual { height: 280px; }
}
