/* HandyMan Services CSS */
:root {
  --dark-walnut: #3c2e26;
  --slate-gray: #4a5568;
  --soft-gold: #d4af37;
  --light-gray: #f7fafc;
  --white: #ffffff;
  --text-dark: #2d3748;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Header Styles */
header {
  background-color: var(--dark-walnut);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--soft-gold);
}

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

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--soft-gold);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(60, 46, 38, 0.7), rgba(74, 85, 104, 0.7)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234a5568" width="1200" height="600"/><circle fill="%23d4af37" cx="300" cy="150" r="20" opacity="0.3"/><circle fill="%23d4af37" cx="900" cy="400" r="15" opacity="0.2"/></svg>');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-content .tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--soft-gold);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--soft-gold);
  color: var(--dark-walnut);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #b8941f;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--soft-gold);
  border: 2px solid var(--soft-gold);
}

.btn-secondary:hover {
  background-color: var(--soft-gold);
  color: var(--dark-walnut);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 0;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--dark-walnut);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--slate-gray);
}

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

.service-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

.service-icon {
  font-size: 3rem;
  color: var(--soft-gold);
  margin-bottom: 1rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text h3 {
  color: var(--dark-walnut);
  margin-bottom: 1rem;
}

.service-areas {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.service-areas h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
}

.areas-list li {
  background: var(--white);
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

/* Contact Form */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--slate-gray);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--soft-gold);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info .icon {
  color: var(--soft-gold);
  font-weight: bold;
}

/* Map Container */
.map-container {
  margin-top: 2rem;
  height: 300px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-gray);
  border: 1px solid #e2e8f0;
}

/* Footer */
footer {
  background-color: var(--dark-walnut);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Legal Page Styles */
.legal-section {
  margin-bottom: 3rem;
}

.legal-section h3 {
  text-align: left;
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 2rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .tagline {
    font-size: 1.1rem;
  }
  
  main {
    padding: 0 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .areas-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 2rem 0;
  }
}
