:root {
  --bg: #f4fbfc;
  --surface: #ffffff;
  --surface-soft: #ecf8ff;
  --text: #143047;
  --muted: #50708a;
  --primary: #11926b;
  --primary-2: #17b98a;
  --accent: #1da8dd;
  --border: #d8e7f0;
  --shadow: 0 20px 50px rgba(17, 146, 107, 0.15);
}

body.dark {
  --bg: #10202b;
  --surface: #1a2f3d;
  --surface-soft: #20394b;
  --text: #e6f3fb;
  --muted: #b6cfdf;
  --primary: #34d8a8;
  --primary-2: #2bc9d9;
  --accent: #5dd7ff;
  --border: #335469;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 10% 10%, rgba(29, 168, 221, 0.1), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(23, 185, 138, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: "Lato", sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.97rem;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
}

.search-wrap i {
  color: var(--muted);
}

.search-wrap input {
  width: 165px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.theme-toggle,
.cart,
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--text);
}

.theme-toggle,
.menu-toggle {
  cursor: pointer;
}
/* Moving text   */

.banner-container{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.banner {
  width: 92%;
  overflow: hidden;
  background: #2ecc71;
  padding: 12px 0;
  border-radius: 8px;

}

.moving-text {
  display: inline-block;
  white-space: nowrap;
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding-left: 100%;
  animation: moveText 12s linear infinite;
}

.moving-text i {
  margin: 0 20px;
}

@keyframes moveText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


.cart {
  text-decoration: none;
  position: relative;
}

.cart span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
}

.hero {
  padding-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow span {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: #79f5b743;
  padding: 8px 14px;
  border-radius: 15px;

  animation: glowBlink 1.5s infinite; /* 👈 moved here */
}

.eyebrow i {
  color: #2ecc71; /* only color, no animation */
}

@keyframes glowBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 3px #2ecc71, 0 0 6px #2ecc71;
  }
  50% {
    opacity: 0.5;
    box-shadow: none;
  }
}

.hero h1,
.section-head h2,
.owner-card h2,
.contact-card h2,
.welcome-card h2 {
  font-family: "Poppins", sans-serif;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.2;
  margin: 0.6rem 0 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 52ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  margin-top: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(17, 146, 107, 0.25);
}

.btn-soft {
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.carousel {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease;
}

.slide {
  min-width: 100%;
  height: 330px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  padding: 0.9rem;
  background: var(--surface);
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #9cb5c7;
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--primary);
  transform: scale(1.2);
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-head p {
  color: var(--muted);
}

.product-grid,
.service-grid,
.welcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.service-grid article,
.owner-card,
.welcome-card,
.contact-card,
.map-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.product-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, #fff), color-mix(in srgb, var(--accent) 20%, #fff));
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.product-card h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.35rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.7rem;
}

.search-status {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.services .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#local-seo-component {
  position: relative;
  padding: 2.1rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 96% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 24%),
    radial-gradient(circle at 5% 90%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 22%),
    var(--surface);
  overflow: hidden;
}

#local-seo-component::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

#local-seo-component h1,
#local-seo-component h2,
#local-seo-component h3 {
  font-family: "Poppins", sans-serif;
  line-height: 1.28;
}

#local-seo-component h1 {
  font-size: clamp(1.45rem, 2.9vw, 2.2rem);
  margin-bottom: 1rem;
  color: var(--text);
}

#local-seo-component h2 {
  font-size: clamp(1.16rem, 2.3vw, 1.5rem);
  margin-top: 1.35rem;
  margin-bottom: 0.55rem;
  color: color-mix(in srgb, var(--primary) 72%, var(--text));
}

#local-seo-component h3 {
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  color: color-mix(in srgb, var(--accent) 55%, var(--text));
}

#local-seo-component p {
  color: var(--muted);
  max-width: 78ch;
  margin-bottom: 0.75rem;
}

#local-seo-component p:last-child {
  margin-top: 0.35rem;
  margin-bottom: 0;
  border: 1px dashed color-mix(in srgb, var(--primary) 36%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
  padding: 0.75rem 0.9rem;
  color: color-mix(in srgb, var(--primary) 58%, var(--text));
  font-weight: 700;
}

.service-grid article {
  padding: 1.2rem;
}

.service-grid i {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.service-grid h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.35rem;
}

.service-grid p {
  color: var(--muted);
}

.service-link {
  margin-top: 0.7rem;
}

.owner-card {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.1rem;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 44%),
    var(--surface);
}

.owner-card img {
  width: 220px;
  height: 220px;
  object-fit:cover;
  border-radius: 16px;
}

.owner-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.owner-card p {
  color: var(--muted);
}

.owner-profile-link {
  margin-top: 0.9rem;
  margin-left: 10px;
}

.welcome-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.welcome-card {
  padding: 1.2rem;
}

.welcome-card.highlight {
  background: linear-gradient(125deg, color-mix(in srgb, var(--primary) 22%, #fff), color-mix(in srgb, var(--accent) 15%, #fff));
}

.welcome-card ul {
  list-style: none;
  margin-top: 0.5rem;
  display: grid;
  gap: 0.4rem;
}

.welcome-card li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-section {
  padding: 1rem 0 4.2rem;
}

.reviews-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 32%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.reviews-note {
  color: var(--muted);
  margin-top: 0.25rem;
  margin-bottom: 0.9rem;
}

.reviews-actions {
  display: block;
}

.reviews-actions .btn {
  display: inline-flex;
  margin-right: 0.6rem;
  margin-bottom: 0.5rem;
}

.review-write-btn {
  padding: 0.9rem 0.9rem;
  font-size: 0.9rem;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card,
.map-card {
  padding: 1.2rem;
}

.contact-card p {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.contact-card i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
}

.footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
}

.footer-row {
  min-height: 74px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 0.6rem;
  z-index: 2000;
}

.toast {
  min-width: 240px;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 0.8rem 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  animation: toast-in 0.35s ease forwards;
}

.toast.success {
  border-left: 5px solid #1caf7f;
}

.toast.error {
  border-left: 5px solid #da4e4e;
}

@keyframes toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: min(1120px, 92vw);
    margin-inline: auto;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .owner-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .slide {
    height: 290px;
  }

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

  .service-grid,
  .welcome-grid {
    grid-template-columns: 1fr;
  }

  #local-seo-component {
    padding: 1.45rem;
  }

  #local-seo-component h1 {
    font-size: clamp(1.3rem, 4.8vw, 1.75rem);
  }

  .owner-card img {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
    height: 260px;
  }

  .services .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .navbar {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "actions actions";
    row-gap: 0.65rem;
    padding: 0.7rem 0;
  }

  .brand {
    grid-area: brand;
    font-size: 0.95rem;
  }

  .menu-toggle {
    grid-area: toggle;
    justify-self: end;
  }

  .nav-actions {
    grid-area: actions;
    width: 100%;
    justify-content: space-between;
  }

  .search-wrap {
    flex: 1;
  }

  .search-wrap input {
    width: 100%;
  }

  .section {
    padding: 3.6rem 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .slide {
    height: 220px;
  }

  .owner-card {
    padding: 0.95rem;
  }

  .reviews-card {
    padding: 1rem;
  }

  .welcome-card,
  .product-card,
  .service-grid article,
  .contact-card,
  .map-card {
    padding: 1rem;
  }

  #local-seo-component {
    padding: 1rem;
    border-radius: 16px;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1120px, 94vw);
  }

  .brand span {
    font-size: 0.84rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .search-wrap {
    min-width: 0;
    padding: 0.52rem 0.72rem;
  }

  .search-wrap input {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 2.6rem;
    gap: 1.2rem;
  }
}