/*
 * Estilos principales para el sitio de diseño interior y exterior.
 * Inspirados en el flyer proporcionado con colores suaves y tipografía limpia.
 */

:root {
  --bg-color: #f8f3ed; /* tono crema del fondo */
  --text-color: #3d3a35; /* marrón oscuro suave para el texto */
  --accent-color: #d89a6b; /* color terracota para acentos y botones */
  --pack1: #fff9ea; /* amarillo pálido */
  --pack2: #faf1e8; /* melocotón pálido */
  --pack3: #e9f3ec; /* verde menta muy claro */
  --pack4: #e9f1f8; /* azul cielo muy claro */
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  font-size: 1.4rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 3rem 2rem;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 600;
}

.hero-text h2 {
  margin: 0.3rem 0;
  font-size: 2rem;
  font-weight: 500;
}

.hero-text h3 {
  margin: 0.3rem 0 1rem;
  font-size: 1.6rem;
  font-weight: 400;
}

.cta {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #c78554;
}

.hero-image {
  flex: 1 1 320px;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Packages section */
.packages {
  padding: 3rem 2rem;
  text-align: center;
}

.packages h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.pack-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pack-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.2s ease;
}

.pack-card:hover {
  transform: translateY(-4px);
}

.pack-card:nth-child(1) {
  background-color: var(--pack1);
}

.pack-card:nth-child(2) {
  background-color: var(--pack2);
}

.pack-card:nth-child(3) {
  background-color: var(--pack3);
}

.pack-card:nth-child(4) {
  background-color: var(--pack4);
}

.pack-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.pack-card .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.5rem 0 1rem;
}

.pack-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pack-card li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.pack-card li::before {
  content: '\2022';
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Tagline section */
.tagline-section {
  background-color: #f1ebe5;
  padding: 2rem 2rem;
  text-align: center;
}

.tagline-section .tagline {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

/* Contact section */
.contact-section {
  padding: 3rem 2rem;
  background-color: var(--pack2);
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 300px;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.contact-details i {
  margin-right: 0.6rem;
  color: var(--accent-color);
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-top: 1px solid #e2ddd7;
}

/* Footer contact list */
footer .footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  gap: 1.5rem;
}

/* Hacer que las tarjetas de pack sean clicables sin cambiar su aspecto */
.pack-card {
  cursor: pointer;
}
footer .footer-contact li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}
footer .footer-contact i {
  margin-right: 0.4rem;
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* Emoji icons in footer contact list */
footer .footer-contact .icon {
  margin-right: 0.4rem;
  font-size: 1.1rem;
  color: var(--accent-color);
}
footer .footer-contact a {
  color: inherit;
  text-decoration: none;
}

/* Responsive navigation */
nav .menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--bg-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    margin: 0;
  }
  nav ul.open {
    display: flex;
  }
  nav ul li {
    margin: 0.5rem 0;
    text-align: center;
  }
  nav .menu-toggle {
    display: block;
  }
}

/* About page specific styling: center all text and center lists */
.about-page .packages,
.about-page .working-section,
.about-page .additional-section,
.about-page .tagline-section,
.about-page .contact-section {
  text-align: center;
}

/* Center lists on about page while keeping bullets aligned */
/* Apply to lists within sections to avoid overriding footer layout */
.about-page section ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .hero {
    padding: 2rem 1rem;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text h2 {
    font-size: 1.5rem;
  }
  .hero-text h3 {
    font-size: 1.2rem;
  }
  .packages {
    padding: 2rem 1rem;
  }
  .contact-section {
    padding: 2rem 1rem;
  }
}