/*
  Style sheet for Nova Digitale – a modern, responsive landing page for landscaping professionals.
  This CSS defines general resets, typography, layout containers, responsive navigation,
  hero sections, grids, cards, call‑to‑action components and footer styling.
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: #004d40;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.navigation a {
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease;
}

.navigation a:hover {
  color: #00695c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #f0f8f7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: 0.5rem;
  text-align: center;
}

.btn-primary {
  background-color: #00695c;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #004d40;
}

.btn-secondary {
  background-color: #004d40;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #002e27;
}

/* Why Section */
.why {
  padding: 4rem 0;
  background-color: #f7f9fa;
}

.why h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.why-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.why-item {
  text-align: center;
  padding: 1rem;
}

.why-item .icon {
  font-size: 2.5rem;
  color: #00695c;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.95rem;
  color: #555;
}

/* Examples Section */
.examples-preview {
  padding: 4rem 0;
}

.examples-preview h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.example-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.example-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.example-item:hover img {
  transform: scale(1.05);
}

.cta {
  text-align: center;
}

/* Reviews Section */
.reviews {
  background-color: #f7f9fa;
  padding: 4rem 0;
}

.reviews h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.google-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.google-stars {
  color: #fdd835; /* golden star color */
}

.google-link {
  color: #00695c;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.review-card .stars {
  color: #fdd835;
  margin-bottom: 0.5rem;
}

.review-card p {
  font-style: italic;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.review-card strong {
  font-weight: 600;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-contact {
  padding: 4rem 0;
  background-color: #ffffff;
  text-align: center;
}

.cta-container h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Footer */
.site-footer {
  background-color: #004d40;
  color: #ffffff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-col p, .footer-col li, .footer-col a {
  font-size: 0.9rem;
  color: #e0f2f1;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  text-decoration: none;
  color: #b2dfdb;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #80cbc4;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .navigation ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .navigation ul.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
    color: #004d40;
  }
}

/* Generic Section Styles */
h1, h2, h3, h4 {
  color: #004d40;
}

p {
  color: #555;
}

/* Override hero text colors to ensure readability on dark overlay */
.hero-content h1, .hero-content p {
  color: #ffffff;
}