/*
  Suave Energía
  Estilos para un sitio web calmado y mediterráneo.
  Paleta de colores: tonos verdes, coral y beige.
  Fuentes: Marcellus para los encabezados y Questrial para el contenido.
*/

:root {
  --primary: #698a7b;
  --secondary: #2a4858;
  --accent: #f4a261;
  --light: #faf3e0;
  --dark: #333333;
  --font-heading: 'Marcellus', serif;
  --font-body: 'Questrial', sans-serif;
}

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

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

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background-color: var(--light);
  border-bottom: 1px solid #e6dcc5;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--secondary);
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-list li a {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease-in-out;
}
.nav-list li a:hover {
  color: var(--accent);
}

/* Hero section */
.hero {
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 72, 88, 0.6);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}
.hero h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.btn-primary:hover {
  background-color: #e98b49;
}

/* Guía section */
.guia {
  padding: 6rem 0;
  background-color: var(--light);
}
.guia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.guia-img img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.guia-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.guia-text p {
  margin-bottom: 1rem;
}
.guia-text ul {
  list-style: none;
  padding-left: 0;
}
.guia-text li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}
.guia-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Rituales section */
.rituales {
  background-color: #fff;
  padding: 6rem 0;
}
.rituales h3 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 3rem;
}
.rituales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.ritual-card {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: center;
}
.ritual-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}
.ritual-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.ritual-card p {
  font-size: 0.95rem;
  color: var(--dark);
}

/* Contacto section */
.contacto {
  background-color: var(--light);
  padding: 6rem 0;
}
.contacto-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contacto-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.contacto-form .form-group {
  margin-bottom: 1rem;
}
.contacto-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
}
.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form input[type="tel"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contacto-form .checkbox {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}
.contacto-form .checkbox input {
  margin-right: 0.5rem;
}
.contacto-form button {
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: #fff;
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}
.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-col ul {
  list-style: none;
  padding-left: 0;
}
.footer-col a {
  color: #f5e9d3;
}
.footer-col a:hover {
  color: var(--accent);
}
.btn-secondary {
  background-color: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.btn-secondary:hover {
  background-color: #5c786c;
}
.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .guia-grid,
  .contacto-wrapper {
    grid-template-columns: 1fr;
  }
  .hero h2 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}