/* =========================
   GLOBAL
========================= */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;

  /* Sticky footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Main grows to push footer down */
main {
  flex: 1;
  padding: 30px 20px;
  background: white;
}

/* Content width wrapper */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

.hero {
  background: #2e7d32;
  color: white;
  padding: 60px 20px;
  position: relative;
}

.hero-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.hero-logo {
  width: 140px;
  max-width: 50%;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 10px;
}

.hero-tagline {
  margin-bottom: 25px;
}

/* Top-left navigation buttons */
.hero-top {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
}

.cta-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* =========================
   BUTTONS
========================= */

.cta,
.gallery-button {
  display: inline-block;
  padding: 18px 35px;
  background: #ffffff;
  color: #2e7d32;
  font-weight: bold;
  font-size: 1.05rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta:hover,
.gallery-button:hover {
  background: #e8f5e9;
}

/* =========================
   PROMO
========================= */

.promo {
  text-align: center;
  margin-bottom: 30px;
}

.promo-main {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.promo-seasonal {
  color: #2e7d32;
  font-size: 1rem;
}

/* =========================
   HEADINGS
========================= */

section h2 {
  margin-bottom: 15px;
}

/* =========================
   SERVICES
========================= */

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
}

.services-list li {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-weight: 500;
}

/* =========================
   CAROUSEL
========================= */

.carousel-section {
  margin-top: 40px;
}

.carousel {
  position: relative;
  max-width: 1100px;
  margin: 20px auto;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 10px;
}

.carousel-image {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
  background: #f4f4f4;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* =========================
   GALLERY CTA
========================= */

.gallery-cta {
  text-align: center;
  margin: 30px 0;
}

/* =========================
   ABOUT
========================= */

.about {
  margin-top: 40px;
}

.about-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  margin: 0 auto;
}

/* =========================
   CONTACT PAGE
========================= */

.contact {
  max-width: 600px;
  margin: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2e7d32;
}

.contact-alt {
  margin-top: 30px;
  text-align: center;
}

/* =========================
   GALLERY PAGE
========================= */

.gallery {
  margin-top: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.gallery-item {
  background: #f4f4f4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  background: #f4f4f4;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer p {
  margin: 6px 0;
}

footer a {
  color: #8bc34a;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */

@media (max-width: 600px) {
  .hero-logo {
    width: 110px;
  }

  .carousel-image {
    height: 260px;
  }

  /* Fix oversized hero buttons on mobile */
  .hero-top {
    top: 12px;
    left: 12px;
  }

  .hero-top .cta,
  .hero-top .cta-small {
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
}
