/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #c0392b;
  --dark: #93246F;
  --mid: #444;
  --light: #f5f5f5;
  --white: #fff;
  --border: #e0e0e0;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); line-height: 1.7; background: var(--white); }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.bg-light { background: var(--light); }

/* === Buttons === */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: .75rem 1.75rem;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-top: 1rem;
  transition: background .2s;
}
.btn:hover { background: #a93226; text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}
.btn-outline:hover { background: var(--red); color: var(--white); }

/* === Header / Nav === */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a { color: #ccc; font-size: .95rem; font-weight: 500; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--white); text-decoration: none; }
.site-nav a.active { border-bottom: 2px solid var(--red); padding-bottom: 2px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === Hero === */
.hero { background: var(--dark); }

.hero-logo {
  background: #fff;
  position: relative;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: left center;
}
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  padding: 1rem 1.5rem;
  text-align: center;
}
.hero-overlay h1 { font-size: 1rem; color: #93246F; font-weight: 700; margin-bottom: .25rem; }
.hero-overlay p { font-size: .85rem; color: #555; margin-bottom: .5rem; font-weight: 500; }
.hero-overlay .btn { margin-top: .25rem; background: #93246F; color: #fff; border: 2px solid #93246F; }
.hero-overlay .btn:hover { background: #fff; color: #93246F; }

/* === Services Grid === */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: .5rem auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  color: var(--dark);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-3px);
  text-decoration: none;
}
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; flex: 1; }
.card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--dark); }
.card-body p { font-size: .9rem; color: var(--mid); }

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.about-grid h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.about-grid p { margin-bottom: .75rem; color: var(--mid); }

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}
.contact-box h3 { font-size: 1.1rem; margin-bottom: .75rem; border-bottom: 2px solid var(--red); padding-bottom: .5rem; }
.contact-box p { margin-bottom: .5rem; font-size: .95rem; }

/* === Page Hero === */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 2.5rem 0;
}
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; }
.page-hero .page-subtitle { color: #bbb; margin-top: .5rem; }

/* === Page Content === */
.page-content p { margin-bottom: 1rem; color: var(--mid); }
.page-content h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; color: var(--dark); }
.page-content ul { list-style: disc; padding-left: 1.5rem; color: var(--mid); }
.page-content ul li { margin-bottom: .4rem; }
.page-content strong { color: var(--dark); }

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.gallery figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity .2s;
}
.gallery figure img:hover { opacity: .9; }

/* === Contact Page === */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.contact-info p { margin-bottom: .75rem; color: var(--mid); }
.contact-map iframe { border-radius: 6px; }

/* === Footer === */
.site-footer {
  background: var(--dark);
  color: #aaa;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid strong { color: var(--white); display: block; margin-bottom: .5rem; }
.footer-grid p, .footer-grid li { font-size: .9rem; margin-bottom: .35rem; }
.footer-grid a { color: #aaa; }
.footer-grid a:hover { color: var(--white); }
.footer-copy { font-size: .8rem; border-top: 1px solid #333; padding-top: 1rem; text-align: center; }

/* === Responsive === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 50px; left: 0; right: 0; background: #111; padding: 1rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .75rem; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Hero on mobile */
  .hero-logo { line-height: 0; }
  .hero-logo img { max-height: 120px; object-position: left center; }
  .hero-overlay { display: none; }
}
