:root {
  --primary: #8c2f39;
  --secondary: #f6e7d8;
  --text: #1f2937;
  --light: #ffffff;
  --muted: #6b7280;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fffaf7;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.gallery-container {
  width: min(1320px, 97%);
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  color: var(--light);
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.hero-nav {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-nav a:hover {
  background: rgba(0, 0, 0, 0.5);
}

.site-logo {
  width: min(260px, 60vw);
  margin-bottom: 0.7rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem;
}

.tagline {
  margin: 0.8rem 0 1.8rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.45rem;
  font-weight: 600;
}

.btn:hover {
  opacity: 0.92;
}

.section {
  padding: 3.3rem 0;
}

.full-page-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section h2 {
  margin: 0 0 1.4rem;
  text-align: center;
  font-size: 2rem;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  margin-top: -0.5rem;
  margin-bottom: 1.3rem;
}

.alt {
  background: var(--secondary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
  border: 1px solid #f2d9c8;
  border-radius: 1rem;
  padding: 1.35rem 1.2rem;
  min-height: 170px;
  box-shadow: 0 10px 26px rgba(140, 47, 57, 0.12);
  text-align: left;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #8c2f39, #c39a5f);
}

.card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 154, 95, 0.28) 0%, rgba(195, 154, 95, 0) 72%);
}

.card.slide-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.card.slide-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(140, 47, 57, 0.18);
}

.services .card {
  font-weight: 500;
}

.card-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #4a1b22;
}

.card-desc {
  margin: 0;
  color: #5b6575;
  font-size: 0.98rem;
  line-height: 1.55;
}

.gallery-carousel {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 0.75rem;
}

.carousel-track {
  position: relative;
  min-height: 750px;
}

.gallery-item {
  position: absolute;
  inset: 0;
  height: 750px;
  margin: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  height: 46px;
  width: 46px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--light);
  font-size: 1.2rem;
  line-height: 1;
}

.carousel-btn:hover {
  opacity: 0.9;
}

.carousel-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
}

.dot.active {
  background: var(--primary);
}

.contact {
  text-align: center;
}

.contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.contact-form {
  max-width: 640px;
  margin: 1.4rem auto 0;
  text-align: left;
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.45rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
}

.form-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #06371b;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
}

.whatsapp-float:hover {
  filter: brightness(0.95);
}

footer {
  background: #111827;
  color: #e5e7eb;
  text-align: center;
  padding: 1.1rem 0;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    padding: 1.2rem 0.8rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .hero-nav {
    top: 0.6rem;
    width: 94%;
    gap: 0.45rem;
  }

  .hero-nav a {
    font-size: 0.82rem;
    padding: 0.38rem 0.62rem;
  }

  .tagline {
    font-size: 0.98rem;
    margin: 0.6rem 0 1.2rem;
  }

  .site-logo {
    width: min(210px, 72vw);
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .full-page-section {
    min-height: auto;
    display: block;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .gallery-carousel {
    grid-template-columns: 38px 1fr 38px;
  }

  .carousel-btn {
    height: 38px;
    width: 38px;
  }

  .gallery-item,
  .carousel-track {
    min-height: 320px;
    height: 320px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
  }
}
