@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

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

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #2f2440;
  overflow-x: hidden;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  padding: 2rem;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.85)
  );
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 10vw, 6rem);
  color: #5a3e7b;
}

.hero p {
  margin-top: 1rem;
  color: #6f5a86;
}

/* INTRO */

.intro-section {
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.intro-container {
  max-width: 900px;
  margin: auto;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #8d79a6;
}

.intro-container h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 1rem 0;
}

.intro-text {
  color: #5f5a68;
}

/* VALUES */

.values-section {
  padding: 2rem 2rem 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: auto;
}

.value-card {
  padding: 2.5rem;
  background: #f8f3fb;
  border-radius: 20px;
  text-align: center;
}

.value-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}

.value-card p {
  font-size: 1.1rem;
}

/* CAROUSEL (FIXED) */

.carousel-section {
  padding: 4rem 2rem 5rem;
  overflow: hidden;
}

.carousel-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.carousel-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  color: #4f366d;
}

.carousel-wrapper {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 280px;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  flex-shrink: 0;
  background: #f7f3fb;
  box-shadow: 0 8px 18px rgba(71, 46, 98, 0.08);
}

.carousel-track img:hover {
  transform: scale(1.04);
}

/* FLECHAS */

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  color: #5a3e7b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.carousel-btn-left {
  left: 8px;
}
.carousel-btn-right {
  right: 8px;
}

/* MODAL */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* QUOTE */

.quote-section {
  padding: 5rem 2rem;
  text-align: center;
}

.quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

/* FOOTER */

.footer {
  padding: 3rem;
  text-align: center;
  background: #f8f3fb;
}

.footer h2 {
  font-family: "Cormorant Garamond", serif;
}

.birthday {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
}

.disclaimer {
  text-align: center;
  font-size: 0.7rem;
  color: #aaa;
  padding: 1rem;
}

/* MOBILE */

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .carousel-section {
    padding: 3rem 0 4rem;
  }

  .carousel-track img {
    width: 200px;
    height: 280px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}
