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

body {
  font-family: "inter-18pt", sans-serif;
  color: #333333;
  background-color: #ffffff;
}

/* Common Typography & Colors */
.highlight {
  color: #55b3d0;
}

.highlight-blue {
  color: #55b3d0;
}

/* Header */
.top-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a3c40;
}

.logo:hover {
  cursor: pointer;
}

.logo img {
  max-width: 200px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 4px;
}

/* Hero Section */
.hero-banner {
  display: flex;
  justify-content: center; /* Centers .hero-box within the full-width section */
  background: linear-gradient(100deg, #020b12 0%, #153c44 45%, #2a616d 75%, #3d8898 100%);
  color: #ffffff;
  min-height: 250px;
  padding: 0 20px; /* Reduced side padding since hero-box controls max-width */
  position: relative;
  overflow: hidden;
}

.hero-box {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center; /* Vertically aligns hero-content */
  position: relative; /* Context anchor for absolute positioning of .hero-graphic */
  min-height: inherit;
}

.hero-content h1 {
  font-weight: 300;
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2; /* Ensures text stays above background graphic */
}

.hero-content h1 .highlight {
  font-weight: 700;
}

.hero-graphic {
  position: absolute;
  right: 0;
  top: -20px;
  bottom: 0px;
  max-height: 300px;
  width: 60%;
  opacity: 1;
  background-image: url(img/hv-hero.png);
  background-repeat: no-repeat;
  background-size: 260px;
  background-position: 90% 100%;
  z-index: 1;
}

/* Store Locator Section */
.store-locator {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.store-locator h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a3c40;
  margin-bottom: 30px;
}

.stores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.store-card {
  background: #f7fbfd;
  border: 1px solid #78abb2;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.grid-3 .store-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 250px;
}

.grid-2 .store-card {
  flex: 0 1 calc(33.333% - 20px);
  min-width: 250px;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  color: #2e6c78;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-body .address {
  font-size: 0.82rem;
  color: #667e85;
  margin-bottom: 20px;
}

.card-body .hours {
  font-size: 0.8rem;
  color: #2e6c78;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn-shop {
  width: 100%;
  padding: 12px 0;
  background-color: #3b8898;
  color: #ffffff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-shop:hover {
  background-color: #2b6875;
}

/* Community Section */
.community-section {
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.community-card {
  background-color: #173d44;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  gap: 30px;
  color: #ffffff;
  align-items: center;
}

.community-info {
  flex: 1;
}

.brand-hearts {
  position: relative;
  margin-bottom: 25px;
}

.brand-hearts img {
  max-width: 230px;
}

.haven-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #33b2c8;
  letter-spacing: 6px;
  display: block;
}

.hearts-script {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 2.5rem;
  color: #f7a831;
  position: absolute;
  top: 12px;
  left: 20px;
}

.community-info p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d1e2e5;
}

.community-gallery {
  flex: 1;
  text-align: center;
}

.community-gallery img {
  max-width: 300px;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.image-grid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
}

/* Footer Section */
.bottom-footer {
  background-color: #1a3c40;
  padding: 20px 8%;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo img {
  max-width: 150px;
}

.logo.light {
  color: #ffffff;
}

.btn-shop-footer {
  background-color: #3b8898;
  color: #ffffff;
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-shop-footer:hover {
  background-color: #2b6875;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-banner h1 {
    font-size: 2rem;
  }

  .community-card {
    flex-direction: column;
  }

  .grid-3 .store-card,
  .grid-2 .store-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .grid-3 .store-card,
  .grid-2 .store-card {
    flex: 1 1 100%;
  }

  .hero-banner {
    min-height: 150px;
  }

  .hero-banner h1 {
    font-size: 1.6rem;
  }

  .hero-graphic {
    width: 100%;
  }

  .store-locator h2 {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    gap: 15px;
  }
}