/* Global Styles */
:root {
  --primary-color: #4a7c59;
  --secondary-color: #8cb369;
  --accent-color: #f4e285;
  --text-color: #333;
  --light-color: #f5f5f5;
  --dark-color: #2c3e50;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo-container h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-weight: 600;
  color: var(--dark-color);
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, rgba(74, 124, 89, 0.8), rgba(44, 62, 80, 0.8)), url('hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 1rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

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

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Section Styling */
section {
  padding: 5rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* News Section */
.news-section {
  background-color: white;
  padding: 5rem 1rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-item {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.news-content p {
  color: #666;
  margin-bottom: 1rem;
}

.news-content a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.news-content a:hover {
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 1rem;
}

footer img {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-info {
  text-align: left;
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

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

.footer-bottom a {
  color: rgba(255,255,255,0.8);
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* About Section */
.about-section {
  background-color: var(--light-color);
  padding: 5rem 1rem;
}

/* Services Section */
.services-section {
  padding: 5rem 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

/* Portfolio Section */
.portfolio-section {
  background-color: white;
  padding: 5rem 1rem;
  text-align: center;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-color);
  padding: 5rem 1rem;
  text-align: center;
}

.contact-info {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo-container {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
    margin-left: 0;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-info, .footer-links {
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}
