/* ===========================
   RevHomecare - Main Stylesheet
   =========================== */

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

body {
  font-family: Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: rgb(27, 27, 27);
}

/* ===========================
   Header
   =========================== */

header {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 16px;
}

header a {
  display: inline-block;
}

.logo {
  height: 160px;
  width: auto;
  display: block;
}

/* ===========================
   Navigation
   =========================== */

.main-nav {
  background-color: rgb(29, 163, 156);
  width: 100%;
}

.nav-inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
}

.nav-link {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 16px 24px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-bottom-color: #fff;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
  min-height: 500px;
  background-image: url("https://img1.wsimg.com/isteam/ip/d9c6bbec-64e0-4a8f-879b-4bfcd93bc553/blob-e00cb04.png/:/cr=t:0%25,l:0%25,w:100%25,h:100%25/rs=w:100%25");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   Hero Content Box
   =========================== */

.hero-content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px 48px;
  text-align: center;
  max-width: 480px;
}

.hero-content h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: rgb(27, 27, 27);
  margin-bottom: 12px;
}

.hero-content .subtitle {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: rgb(94, 94, 94);
  margin-bottom: 24px;
}

/* ===========================
   Button
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 40px;
  min-height: 48px;
  background-color: rgb(0, 103, 158);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 48px;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: rgb(0, 129, 196);
}

/* ===========================
   About Section
   =========================== */

.about {
  background-color: #fff;
  padding: 56px 24px;
  display: flex;
  justify-content: center;
}

.about p {
  max-width: 480px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgb(94, 94, 94);
}

/* ===========================
   Footer
   =========================== */

footer {
  background-color: rgb(29, 163, 156);
  color: #fff;
  text-align: center;
  padding: 40px 16px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* ===========================
   Page Hero (interior pages)
   =========================== */

.page-hero {
  background-color: #1d3461;
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}

.page-hero h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ===========================
   Contact Section
   =========================== */

.contact-section {
  background-color: #fff;
  padding: 72px 24px;
  display: flex;
  justify-content: center;
}

.contact-card {
  text-align: center;
  max-width: 480px;
}

.contact-card h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1d3461;
  margin-bottom: 16px;
}

.contact-card p {
  font-size: 0.95rem;
  color: rgb(94, 94, 94);
  margin-bottom: 12px;
}

.contact-email {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(0, 103, 158);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.contact-email:hover {
  color: rgb(29, 163, 156);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 600px) {
  .hero-content {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .logo {
    height: 120px;
  }
}
