/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #1e3a5f;
}

/* Background layer */
.site-bg {
  position: fixed;
  inset: 0;
  background-image: url('/assets/images/garden_splash.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
}

/* Anchor offset for fixed navbar */
.about, .services, .contact { scroll-margin-top: 90px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c5aa0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2c5aa0;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: #2c5aa0;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: transparent;
  position: relative;
  color: white;
  text-align: center;
  padding: 140px 20px 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero { padding: 120px 16px 80px; min-height: 65vh; }
}
@media (max-width: 480px) {
  .hero { padding: 110px 14px 70px; min-height: 60vh; }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: #2c5aa0;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #1e3a5f;
}

/* Hero overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  z-index: 1;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

.about h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
  text-align: center;
}

.about h3 {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 400;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
  text-align: center;
}

.services h3 {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

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

.service-card h4 {
  font-size: 1.25rem;
  color: #2c5aa0;
  margin: 1rem;
  font-weight: 600;
}

.service-card p {
  margin: 0 1rem 1rem;
  color: #666;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: transparent;
}

.contact h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact > .container > p {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.98);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

.contact-form .form-title {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 2rem;
  color: #2c5aa0;
}

.contact-form .form-subtitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #666;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.submit-button {
  background: #2c5aa0;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

/* File upload */
.file-upload {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.file-input { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; }

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2c5aa0;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.02s ease;
  width: fit-content;
}

.file-label:hover,
.file-label:focus { background: #1e3a5f; color: #fff; }

.file-chosen { font-size: 0.95rem; color: #666; }

.submit-button:hover { background: #1e3a5f; }

/* Footer */
.footer {
  background: #2c5aa0;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-links { margin-bottom: 1rem; }
.footer-links a { color: white; text-decoration: none; margin: 0 1rem; transition: opacity 0.3s ease; }
.footer-links a:hover { opacity: 0.8; }
.web-design-credit { font-size: 0.9rem; opacity: 0.8; margin-top: 1rem; }

/* Mobile background optimizations */
@media (max-width: 768px) {
  .site-bg {
    background-position: center 20%;
    background-size: cover;
  }
}
@media (max-width: 480px) {
  .site-bg {
    background-position: center 15%;
    background-size: cover;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.1rem; }
  .about h2, .services h2, .contact h2 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #2c5aa0;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1001;
}

.skip-link:focus { top: 6px; }

/* Page Hero Sections */
.about-hero, .services-hero, .contact-hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero h1, .services-hero h1, .contact-hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.about-hero p, .services-hero p, .contact-hero p { font-size: 1.25rem; opacity: 0.9; }

/* About Page Styles */
.about-content { padding: 80px 0; background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2rem; color: #2c5aa0; margin-bottom: 1rem; }
.about-text h3 { font-size: 1.25rem; color: #2c5aa0; margin: 2rem 0 1rem; }
.about-text p { margin-bottom: 1rem; line-height: 1.8; }
.about-text ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.about-text li { margin-bottom: 0.5rem; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* Why Choose Us Section */
.why-choose-us { padding: 80px 0; background: #f8f9fa; }
.why-choose-us h2 { font-size: 2.5rem; color: #2c5aa0; text-align: center; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature { text-align: center; padding: 2rem; background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.25rem; color: #2c5aa0; margin-bottom: 1rem; }

/* Service Area Section */
.service-area { padding: 80px 0; background: white; }
.service-area h2 { font-size: 2.5rem; color: #2c5aa0; text-align: center; margin-bottom: 1rem; }
.service-area > .container > p { text-align: center; font-size: 1.1rem; margin-bottom: 3rem; color: #666; }
.area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.area-item { background: #f8f9fa; padding: 2rem; border-radius: 10px; text-align: center; }
.area-item h3 { font-size: 1.25rem; color: #2c5aa0; margin-bottom: 1rem; }
.area-item ul { list-style: none; padding: 0; }
.area-item li { padding: 0.5rem 0; border-bottom: 1px solid #ddd; }
.area-item li:last-child { border-bottom: none; }

/* Services Page Styles */
.services-detail { padding: 80px 0; background: white; }
.service-item { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.service-item.reverse { direction: rtl; }
.service-item.reverse .service-content { direction: ltr; }
.service-content h2 { font-size: 2rem; color: #2c5aa0; margin-bottom: 1rem; }
.service-content p { margin-bottom: 1.5rem; line-height: 1.8; }
.service-content ul { margin-left: 1.5rem; }
.service-content li { margin-bottom: 0.5rem; }
.service-image img { width: 100%; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* Contact Page Styles */
.contact-content { padding: 80px 0; background: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: 2rem; color: #2c5aa0; margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item h3 { font-size: 1.1rem; color: #2c5aa0; margin-bottom: 0.5rem; }
.contact-item p { margin-bottom: 0.25rem; }
.contact-item a { color: #2c5aa0; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-form-container h2 { font-size: 2rem; color: #2c5aa0; margin-bottom: 2rem; }

/* Service Area Map Section */
.service-area-map { padding: 80px 0; background: #f8f9fa; }
.service-area-map h2 { font-size: 2.5rem; color: #2c5aa0; text-align: center; margin-bottom: 1rem; }
.service-area-map > .container > p { text-align: center; font-size: 1.1rem; margin-bottom: 3rem; color: #666; }
.area-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.city-group { background: white; padding: 2rem; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.city-group h3 { font-size: 1.25rem; color: #2c5aa0; margin-bottom: 1rem; text-align: center; }
.city-group ul { list-style: none; padding: 0; }
.city-group li { padding: 0.5rem 0; text-align: center; border-bottom: 1px solid #eee; }
.city-group li:last-child { border-bottom: none; }

/* CTA Section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%); color: white; text-align: center; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; }

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-item { grid-template-columns: 1fr; gap: 2rem; }
  .service-item.reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr; }
  .area-list, .area-cities { grid-template-columns: 1fr; }
  .about-hero h1, .services-hero h1, .contact-hero h1 { font-size: 2rem; }
  .cta-section h2 { font-size: 2rem; }
} 