/* Coventry Gardens - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #f5f5f0;
}

a {
  color: #4a7c59;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2d5a3a;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2c2c2c;
  line-height: 1.3;
}

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #2c2c2c;
  font-weight: 400;
}

.nav-logo strong {
  color: #4a7c59;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-menu a {
  color: #555;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a7c59;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #4a7c59;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #e8e4dc;
  margin-top: 60px;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content h1 strong {
  color: #4a7c59;
}

.hero-content p {
  font-size: 1.15rem;
  color: #666;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  background: #4a7c59;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background: #3a6347;
  color: #fff;
  transform: translateY(-2px);
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ===== PAGE HERO (Internal pages) ===== */
.page-hero {
  background: #e8e4dc;
  padding: 8rem 2rem 4rem;
  text-align: center;
  margin-top: 60px;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 6rem 2rem;
  background: #fff;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4a7c59;
  margin-bottom: 1rem;
}

.about-content h2 strong {
  color: #4a7c59;
}

.about-content p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ===== SERVICES GRID ===== */
.services {
  padding: 6rem 2rem;
  background: #f5f5f0;
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-header h2 strong {
  color: #4a7c59;
}

.services-header p {
  color: #666;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.8rem;
}

.service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-card-body p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4a7c59;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ===== PAGE CONTENT (Internal pages) ===== */
.page-content {
  padding: 5rem 2rem;
  background: #fff;
}

.page-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-content-wrapper img.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.page-content-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.page-content-wrapper h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4a7c59;
  margin-bottom: 1rem;
}

.page-content-wrapper p {
  color: #555;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.page-content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.page-content-wrapper ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: #555;
}

.page-content-wrapper ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4a7c59;
  font-weight: 700;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 5rem 2rem;
  background: #fff;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  text-align: center;
}

.contact-wrapper h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4a7c59;
  margin: 0 auto 1rem;
}

.contact-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: #fafaf8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a7c59;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background: #4a7c59;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.form-submit:hover {
  background: #3a6347;
}

.contact-email {
  text-align: center;
  margin-top: 2rem;
  color: #666;
}

.contact-email a {
  font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #2c2c2c;
  color: #aaa;
  padding: 3rem 2rem;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-wrapper p {
  font-size: 0.9rem;
}

.footer-wrapper a {
  color: #8cb89c;
}

.footer-wrapper a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 1rem;
  }

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

  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    margin: 0 auto 2rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

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

  .page-content-wrapper ul {
    grid-template-columns: 1fr;
  }

  .footer-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
