/* ========================================
   Waterolc — Shared Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* === CSS Variables === */
:root {
  --navy:       #1a2f4e;
  --navy-dark:  #112038;
  --blue:       #2b6cb0;
  --blue-light: #4299e1;
  --accent:     #38a169;
  --text:       #2d3748;
  --text-muted: #718096;
  --bg:         #ffffff;
  --bg-light:   #f7fafc;
  --bg-blue:    #ebf4ff;
  --border:     #e2e8f0;
  --white:      #ffffff;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  line-height: 1.3;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }

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

/* === Navigation === */
nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(17, 32, 56, 0.55);
  backdrop-filter: blur(6px);
}

.nav-logo {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* === Hero === */
.hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* === Section Base === */
section { padding: 5rem 2rem; }

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* === Feature Banner (Home intro) === */
.feature-banner {
  background: linear-gradient(135deg, #2b6cb0 0%, #1a2f4e 100%);
  padding: 3.5rem 2rem;
}

.feature-banner .container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.feature-text h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.feature-text .highlight {
  color: #63b3ed;
  font-size: 1.9rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* === Service Cards === */
.services { background: var(--bg); }

.service-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child { border-bottom: none; }

.service-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.service-item h3 {
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-item p { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.95rem; }

.service-item ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-item ul li {
  color: var(--text);
  font-size: 0.93rem;
  margin-bottom: 0.3rem;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, #ebf4ff 0%, #bee3f8 100%);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* === Projects === */
.project-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.project-item:last-child { border-bottom: none; }

.project-item h3 {
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.project-item p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }

.project-item ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-item ul li {
  color: var(--text);
  font-size: 0.93rem;
  margin-bottom: 0.3rem;
}

/* === Approach Section === */
.approach { background: var(--bg-light); text-align: center; }

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.approach-step { padding: 1rem; }

.step-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(43,108,176,0.3);
}

.approach-step h4 {
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.approach-step p { color: var(--text-muted); font-size: 0.9rem; }

/* === Contact Form === */
.connect-section { background: var(--bg); }

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.connect-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.connect-info p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  background: var(--bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 1rem;
}

.form-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 0.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,108,176,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* === Footer === */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.6);
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* === Responsive === */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }

  .feature-banner .container,
  .service-item,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .approach-steps { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero { height: 300px; }
}
