/*
 * Estilos para Brisa Mediterránea
 *
 * Este archivo utiliza una paleta inspirada en el mar y la tierra de la costa
 * mediterránea. Quicksand se usa para los títulos, mientras que Nunito da
 * ligereza y claridad al texto del cuerpo. Se hace énfasis en la
 * legibilidad, la simplicidad y la adaptabilidad.
 */

/* Variables de color y tipografía */
:root {
  --primary-color: #2e4a62; /* azul profundo */
  --secondary-color: #76b39d; /* verde mar */
  --accent-color: #e27d60; /* coral suave */
  --light-bg: #f2f2f2; /* fondo claro */
  --dark-bg: #0f1b2a; /* fondo oscuro para footer */
  --text-color: #2c3e50;
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--light-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links li a {
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.2s ease;
}
.nav-links li a:hover {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: var(--accent-color);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 2rem;
  background-color: var(--light-bg);
  gap: 2rem;
}
.hero-content {
  flex: 1 1 45%;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
}
.hero-image {
  flex: 1 1 45%;
  text-align: center;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  object-fit: cover;
}

/* Guide */
.guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 2rem;
  background-color: #ffffff;
  gap: 2rem;
}
.guide-photo {
  flex: 1 1 40%;
  text-align: center;
}
.guide-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
}
.guide-info {
  flex: 1 1 50%;
}
.guide-info h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.guide-info p {
  margin-bottom: 1rem;
  max-width: 600px;
}
.guide-info ul {
  list-style: disc inside;
  padding-left: 1rem;
}
.guide-info li {
  margin-bottom: 0.5rem;
}

/* Rituals */
.rituales {
  padding: 4rem 2rem;
  background-color: var(--light-bg);
  text-align: center;
}
.rituales h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.ritual-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.ritual-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.ritual-card p {
  font-size: 0.95rem;
}

/* Contact */
.contacto {
  padding: 4rem 2rem;
  background-color: #ffffff;
  text-align: center;
}
.contacto h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.contacto p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-form label {
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
}
.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.check input {
  width: auto;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding-top: 2rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding: 0 2rem 2rem;
}
.foot-col {
  flex: 1 1 30%;
  min-width: 200px;
}
.foot-col h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.foot-col p, .foot-col label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #e5e5e5;
}
.foot-col ul {
  list-style: none;
}
.foot-col li {
  margin-bottom: 0.5rem;
}
.foot-col a {
  color: #e5e5e5;
  font-size: 0.9rem;
}
.foot-col a:hover {
  color: var(--accent-color);
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.subscribe-form input {
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
}
.subscribe-form button {
  margin-top: 0.3rem;
}
.foot-bottom {
  text-align: center;
  background-color: #0a1522;
  padding: 1rem;
  font-size: 0.8rem;
  color: #8fa7ba;
}

/* Media queries */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content, .hero-image {
    flex: 1 1 100%;
  }
  .guide {
    flex-direction: column;
    text-align: center;
  }
  .guide-photo, .guide-info {
    flex: 1 1 100%;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot-col {
    flex: 1 1 100%;
  }
}