:root {
  --color-primary: #0056b3;
  --color-accent: #007bff;
  --color-text: #333333;
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --hero-min-height: 100vh;
  --hero-overlay-alpha: 0.45;
  --hero-focus: center;
  --animation-reveal-duration: 600ms;
  --animation-card-lift: -4px;
  --animation-image-scale: 1.05;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.8em;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-top: 1.5em;
}
h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 1.2em;
}
p {
  margin-bottom: 1em;
}
a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
section {
  padding: 4rem 0;
}
.site-header {
  background-color: var(--color-surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.5rem 0;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
.nav-links {
  list-style: none;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
.nav-links.is-open {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}
.nav-links li {
  margin: 0.5rem 0;
  width: 100%;
  text-align: center;
}
.nav-links a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--color-accent);
  background-color: var(--color-bg);
  border-radius: 4px;
  text-decoration: none;
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
  }
  .nav-links li {
    margin: 0 1rem;
    width: auto;
  }
  .nav-links a {
    padding: 0.5rem 0;
    background-color: transparent;
  }
}
.hero {
  min-height: var(--hero-min-height);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, center);
  z-index: 0;
}
.hero__overlay {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(0, 0, 0, var(--hero-overlay-alpha, 0.45));
  color: #fff;
  border-radius: 12px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: #eee;
}
.button, a.cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: filter 150ms;
}
.button:hover, a.cta:hover {
  filter: brightness(1.1);
}
.about, .services, .contact {
  text-align: center;
}
.about p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background-color: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.card h3 {
  margin: 1.2rem 1.5rem 0.5rem;
  color: var(--color-primary);
  font-size: 1.3rem;
}
.card p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.contact-info {
  margin-top: 2rem;
  font-size: 1.1rem;
}
.contact-info p {
  margin-bottom: 0.5rem;
}
.map-container {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  vertical-align: middle;
}
.site-footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a {
  color: #fff;
  text-decoration: underline;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .reveal {
    opacity: 0;
    will-change: transform, opacity;
  }
  .reveal.is-visible {
    animation: fadeInUp var(--animation-reveal-duration, 600ms) ease-out forwards;
  }
  @media (hover: hover) {
    .card {
      transition: transform 200ms, box-shadow 200ms;
    }
    .card: hover {
      transform: translateY(var(--animation-card-lift, -4px));
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
    .gallery img, [class*="gallery"] img {
      transition: transform 300ms;
    }
    .gallery img: hover {
      transform: scale(var(--animation-image-scale, 1.05));
    }
    .button, a.cta {
      transition: filter 150ms;
    }
    .button: hover, a.cta:hover {
      filter: brightness(1.1);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    animation: none;
  }
}
