/* =========================================
   Custom Properties & Reset
   ========================================= */
:root {
  --color-white: #FFFFFF;
  --color-black: #0B0B0B;
  --color-black-hover: #262626;
  --color-green-panel: #72BF44;
  --color-text-dark: #141414;
  --color-text-muted: #8C8C8C;
  --color-border-card: #E6E6E6;

  --font-hero: 'all-round-gothic', Helvetica, serif;
  --font-sans: Roboto, Helvetica, Arial, sans-serif;

  --container-max: 1120px;
  --radius-card: 12px;
  --radius-panel: 14px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: #82B3D9;
  background-image: url('img/src-header.jpg?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(133, 182, 219, 0.96) 0%,
    rgba(147, 192, 226, 0.85) 38%,
    rgba(147, 192, 226, 0.15) 75%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-title {
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: clamp(2.85rem, 6vw, 4.35rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(24, 58, 86, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 34px;
  transition: all var(--transition);
}

.btn-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-black-hover);
  transform: translateY(-1px);
}

.btn-green {
  background: linear-gradient(145deg, #74c365, #a6d89c)!important;
  color: white;
  padding: 8px 35px;
}

.btn-green:hover {
  background: linear-gradient(145deg, #74c365, #4d9e3e)!important;
}

/* =========================================
   Deals Section
   ========================================= */
.deals-section {
  padding: 52px 0 40px;
}

.section-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

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

.deal-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.deal-banner {
  position: relative;
  height: 156px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}

.deal-banner--coral {
  background-image: url('img/src-vegas.jpg?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}

.deal-banner--gold {
  background-image: url('img/src-east.jpg?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}

.deal-banner--green {
  background-image: url('img/src-north.jpg?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}

.deal-banner--pahrump {
  background-image: url('img/src-pahrumba.jpg?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}

.deal-banner--water {
  background-image: url('img/src-water.jpg?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}

.deal-promo-text {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.promo-big {
  display: block;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.promo-big small {
  font-size: 1.35rem;
  vertical-align: top;
}

.promo-big .promo-for {
  font-size: 0.95rem;
  font-weight: 700;
  vertical-align: middle;
  margin: 0 2px;
}

.promo-big sup {
  font-size: 1.25rem;
  top: -0.45em;
}

.promo-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-top: 6px;
}

.deal-meta {
  padding: 16px 18px 28px;
  text-align: center;
}

.deal-type {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 3px;
}

.deal-title {
  font-size: 0.845rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

/* =========================================
   Ways to Shop Green Panel
   ========================================= */
.ways-section {
  padding: 12px 0 68px;
}

.ways-panel {
  background-color: var(--color-green-panel);
  border-radius: var(--radius-panel);
  padding: 36px 28px 34px;
}

.ways-heading {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--color-white);
  text-align: center;
  margin-bottom: 26px;
  letter-spacing: 0.01em;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.way-card {
  position: relative;
  height: 176px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #D95F4E 0%, #E7866D 55%, #C94D3C 100%);
  transition: transform var(--transition), box-shadow var(--transition);
}

.way-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.way-card:hover .way-img {
  transform: scale(1.05);
}

.way-card.in-store {
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
    linear-gradient(135deg, #F5B800 0%, #FFD633 55%, #E6A400 100%);
}

.way-card.curbside {
  background: radial-gradient(circle at 30% 25%, rgba(168, 224, 99, 0.35), transparent 50%), linear-gradient(135deg, #4B7F1E 0%, #6FA832 55%, #3D6A15 100%);
}

.way-card.delivery {
  background: radial-gradient(circle at 30% 25%, rgba(168, 224, 99, 0.35), transparent 50%), linear-gradient(135deg, #1E488F 0%, #1E488F 55%, #1E488F 100%);
}

.way-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.way-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.way-label {
  position: relative;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-transform: uppercase;
  text-align: center;
}

/* =========================================
   Footer Locations Bar
   ========================================= */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 36px 0 42px;
}

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

.footer-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-locations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  max-width: 780px;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.location-btn {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  padding: 4px 0;
}

.location-btn:hover {
  color: var(--color-green-panel);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================
   Toast Notification
   ========================================= */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-black);
  color: var(--color-white);
  border: 1px solid rgba(114, 191, 68, 0.45);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.84rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 920px) {
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 340px;
  }

  .deals-grid,
  .ways-grid {
    grid-template-columns: 1fr;
  }

  .ways-panel {
    padding: 28px 18px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-locations {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}