/* ===================================
   EVERYDAY SOLUTIONS LLC
   Visual Direction: Calm Harbor
   Palette: Deep teal, warm neutrals
   Fonts: Source Serif 4 (headings) + DM Sans (body)
   =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #2D2D2D;
  background-color: #F5F4F0;
  -webkit-font-smoothing: antialiased;
}

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

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


/* --- HERO --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 71, 77, 0.82) 0%,
    rgba(27, 71, 77, 0.70) 50%,
    rgba(27, 71, 77, 0.85) 100%
  );
}

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

.hero-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(17px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
  font-weight: 400;
}

.hero-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 36px;
}

.hero-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.hero-nav a:hover {
  color: #FFFFFF;
}


/* --- POINT OF VIEW --- */
.pov {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.pov .container {
  max-width: 740px;
  text-align: center;
}

.pov-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.65;
  color: #1B474D;
  font-weight: 400;
  margin-bottom: 24px;
}

.pov-text:last-child {
  margin-bottom: 0;
}


/* --- SECTION HEADINGS --- */
.section-heading {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 600;
  color: #1B474D;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}


/* --- SERVICES --- */
.services {
  padding: 100px 0;
  background-color: #F5F4F0;
}

.services .section-heading {
  text-align: center;
}

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

.service-card {
  background: #FFFFFF;
  padding: 40px 32px;
  border-radius: 8px;
  border: 1px solid #E8E7E3;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(27, 71, 77, 0.08);
  transform: translateY(-2px);
}

.service-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #1B474D;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}


/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.about-photo img {
  border-radius: 50%;
  width: 280px;
  height: 280px;
  object-fit: cover;
}

.about-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text a {
  color: #2A6B73;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.about-text a:hover {
  color: #1B474D;
}


/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background-color: #F5F4F0;
  text-align: center;
}

.contact-intro {
  font-size: 17px;
  color: #666;
  margin-bottom: 40px;
  margin-top: -24px;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1B474D;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #2D2D2D;
  background: #FFFFFF;
  border: 1px solid #D4D1CA;
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2A6B73;
  box-shadow: 0 0 0 3px rgba(42, 107, 115, 0.12);
}

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

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background-color: #1B474D;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #2A6B73;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  max-width: 520px;
  margin: 0 auto;
}

.form-success p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  color: #1B474D;
  line-height: 1.6;
  padding: 40px 0;
}


/* --- FOOTER --- */
.footer {
  padding: 40px 0;
  background-color: #1B474D;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 13px;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #FFFFFF;
}


/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
  }

  .about-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    min-height: 80vh;
  }

  .hero-nav {
    gap: 24px;
    bottom: 28px;
  }

  .hero-nav a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .pov {
    padding: 72px 0;
  }

  .services {
    padding: 72px 0;
  }

  .about {
    padding: 72px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .about-text {
    text-align: left;
  }

  .contact {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .container {
    padding: 0 20px;
  }

  .contact-form {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}