* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    color: #2b2b2b;
}

/* HERO ESTILO INVITACIÓN */

.hero {
    position: relative;
    min-height: 100vh;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 230px;
    max-width: 90%;
    display: block;
    margin: 0 auto 40px auto;
}


.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 3px;
    font-weight: 400;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-top: 15px;
    font-weight: 300;
}

/* Formas decorativas */

.decor {
    position: absolute;
    background: #d8b892;
    opacity: 0.6;
    border-radius: 50%;
    z-index: 0;
}

.decor-top {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
}

.decor-side {
    width: 180px;
    height: 180px;
    bottom: 50px;
    left: -60px;
}

/* Contenido */

.divider {
    width: 80px;
    height: 2px;
    background: #b48a5a;
    margin: 30px auto;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #b48a5a;
}

.year {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: -10px;
    color: #b48a5a;
}

.date {
    margin-top: 30px;
    font-weight: 500;
    letter-spacing: 2px;
}

.invite {
    margin-top: 40px;
    font-style: italic;
    color: #b48a5a;
}

/* RESPONSIVE */

@media(max-width:768px){
    
    .hero-content {
        padding-top: 0px;
    }

    .hero-logo {
        width: 230px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .event-title {
        font-size: 2rem;
    }

    .year {
        font-size: 1.6rem;
    }

    .decor-top {
        width: 200px;
        height: 200px;
    }

    .decor-side {
        width: 120px;
        height: 120px;
    }
}



/* SECCIONES */
section {
    padding: 80px 10%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

/* NOTICIAS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 15px;
}

.card p {
    padding: 0 15px 20px 15px;
}

/* REGLAS */
.rules ul {
    list-style: none;
    max-width: 600px;
    margin: auto;
}

.rules li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* HORARIOS */
.schedule-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    margin: auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* BOTONES */
.actions {
    text-align: center;
}

.btn {
    display: inline-block;
    margin: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    background: #b48a5a;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    background: #8f6c44;
}

.social {
    background: #3b5998;
}

.whatsapp {
    background: #25D366;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #e0e0e0;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media(max-width: 768px){
    section {
        padding: 60px 5%;
    }
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}
.carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.carousel-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 3px;
    font-weight: 400;
}

.carousel-subtitle {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #b48a5a;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.carousel-btn:hover {
    color: #8f6c44;
    transform: translateY(-50%) scale(1.2);
}

.prev { left: 20px; }
.next { right: 20px; }

.top-align {
    object-position: top;
}

@media(max-width: 768px) {
    .carousel-title {
        font-size: 1.6rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }
}

.memory-book {
    background: #f8f6f2;
    padding: 100px 10%;
    text-align: center;
}

.memory-box {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: auto;
}

.memory-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #b48a5a;
}

.memory-box p {
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

/* -------- SECCIÓN CATÁLOGOS -------- */

.catalogos {
    background: #f8f6f2;
    padding: 100px 10%;
    text-align: center;
}

.catalogos-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.catalogo-card {
    width: 260px;
    height: 420px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #2b2b2b;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(180,138,90,0.2);
}

.catalogo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(180,138,90,0.2);
    border-color: #b48a5a;
}

.catalogo-img {
    height: 75%;
    overflow: hidden;
}

.catalogo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalogo-card:hover .catalogo-img img {
    transform: scale(1.05);
}

.catalogo-info {
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f6f2;
    border-top: 1px solid #eee;
}

.catalogo-info::before {
    content: "";
    width: 40px;
    height: 2px;
    background: #b48a5a;
    position: absolute;
    top: 10px;
}


.catalogo-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #b48a5a;
    letter-spacing: 1px;
}

/* -------- UBICACIÓN -------- */

.location {
  background: #f8f6f2;       /* igual que memory-book */
  padding: 100px 10%;
}

.location-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: stretch;

  max-width: 1100px;
  margin: 0 auto;

  background: white;
  border-radius: 20px;
  overflow: hidden;

  text-decoration: none;
  color: inherit;

  border: 1px solid rgba(180, 138, 90, 0.18);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.location-card:hover {
  transform: translateY(-8px);
  border-color: rgba(180, 138, 90, 0.55);
  box-shadow: 0 20px 55px rgba(180, 138, 90, 0.18);
}

.location-left {
  padding: 45px 40px;
}

.location-badge {
  display: inline-block;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(180, 138, 90, 0.12);
  color: #8f6c44;
  border: 1px solid rgba(180, 138, 90, 0.25);
  margin-bottom: 18px;
}

.location-left h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #b48a5a;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.location-address {
  color: #555;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 520px;
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.95rem;
  color: #555;
}

.location-right {
  position: relative;
  min-height: 260px;
}

.location-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: transform 0.6s ease;
}

.location-card:hover .location-right img {
  transform: scale(1.03);
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.28));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px 18px;
}

.location-overlay span {
  background: rgba(255,255,255,0.85);
  color: #2b2b2b;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.95rem;
  border: 1px solid rgba(180, 138, 90, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
  .location-card {
    grid-template-columns: 1fr;
  }

  .location-left {
    padding: 35px 28px;
  }

  .location-left h3 {
    font-size: 1.7rem;
  }

  .location-right {
    min-height: 220px;
  }
}