/* 
Design Philosophy: Modern Elegance with Warmth
- Typography: Playfair Display for headlines (elegance) + Inter for body (readability)
- Color: Warm neutrals with sophisticated sage green accents
- Layout: Generous whitespace, asymmetric grid elements
- Texture: Subtle shadows, soft gradients, gentle transitions
*/

:root {
  --color-primary: #5a7a5f;
  --color-primary-dark: #3d5240;
  --color-secondary: #d4b896;
  --color-accent: #8b9d83;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-bg: #fafaf8;
  --color-bg-alt: #f5f4f0;
  --color-white: #ffffff;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--color-primary-dark);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://files.manuscdn.com/user_upload_by_module/session_file/310519663336521170/aSPXBHwRFEBfCtWI.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(90, 122, 95, 0.85) 0%, rgba(61, 82, 64, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  color: var(--color-white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  color: var(--color-white);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: var(--color-secondary);
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: #c5a77d;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  color: var(--color-text);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section {
  padding: 6rem 0;
  background-color: var(--color-white);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: -1.5rem auto 3rem;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.about-content p {
  margin-bottom: 1.5rem;
}

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

.service-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(0.3);
}

.service-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-item {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.feature-item p {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Form */
.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

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

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.9rem 1.2rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
}

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

.submit-button {
  grid-column: 1 / -1;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.success-message {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease-out;
}

.success-message h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.contact-info {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item strong {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item a {
  color: var(--color-text);
  font-size: 1.1rem;
}

.info-item a:hover {
  color: var(--color-primary);
}

.info-item span {
  color: var(--color-text);
  font-size: 1.1rem;
}

/* Map Section */
.map-section {
  padding: 4rem 0 0;
  background-color: var(--color-white);
}

.map-container {
  width: 100%;
  height: 450px;
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.footer-section h4 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.footer-section a {
  color: var(--color-white);
  transition: var(--transition);
}

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

.owner-name {
  font-style: italic;
  color: var(--color-secondary);
  font-weight: 500;
}

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

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    min-height: 500px;
  }

  .section {
    padding: 4rem 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1.5rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}

/* Animation for elements on scroll */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .feature-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .service-card:nth-child(1),
  .feature-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .service-card:nth-child(2),
  .feature-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .service-card:nth-child(3),
  .feature-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .service-card:nth-child(4),
  .feature-item:nth-child(4) {
    animation-delay: 0.4s;
  }
}
