/* =========================================
   base.css — Variables, reset, tipografía, layout
   RAQUEL & CHUS · Boda 2026
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

@font-face {
  font-family: 'Amsterdam Four';
  src: url('../fonts/amsterdam-four.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Droid Serif';
  src: url('../fonts/DroidSerif.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* --- Paleta oficial de la boda --- */
:root {
  /* Principales */
  /* rojo vino */
  --garnacha: #6B1F2B;
  /* verde olivo claro */
  --olivo: #778B6F;


  /* Secundarios */
  /* púrpura atardecer */
  --berrueco: #4B2C5D;
  /* verde viñedo intenso */
  --parra: #4F6B4A;
  /* dorado sol */
  --majorero: #D4AF37;
  /* beige arena cálido */
  --arena: #F6F2EB;

  /* Utilidades */
  --text: #252b39;
  /* arena con transparencia */
  --card-bg: rgba(246, 242, 235, 0.84);
  /* garnacha muy suave */
  --border: rgba(107, 31, 43, 0.15);

  --max-width: 1000px;
  --max-width-inner: 800px;
  --section-gap: clamp(48px, 8vw, 80px);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Body + fondo --- */
body {
  font-family: 'Droid Serif', serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* fallback */
  background-color: var(--arena);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Places the image behind your text/content */

  background-image: url('../images/backgrounds/web-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Optional: Prevents modern iOS elastic scrolling bounce from breaking it */
  will-change: transform;
}

/* --- Tipografía --- */

h4 {
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 300;
}

a {
  color: var(--garnacha);
}

/* --- Layout principal --- */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 16px 60px;
  padding-bottom: 0;
}

/* --- Tarjeta de sección --- */
section {
  width: 100%;
  max-width: var(--max-width-inner);
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
}

section div p {
  width: 100%;
  max-width: var(--max-width);
  padding: 10px;
  /* margin: 20px 0; */
  /* margin-bottom: 0; */
  text-align: center;
}

/* Etiqueta de sección */
.section-label {
  display: block;
  font-family: 'Droid Serif', serif;
  font-size: 0.75rem;
  /* font-style: italic; */
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olivo);
  margin-bottom: 14px;
}

.section-label--strong {
  font-weight: bold;
  font-size: 0.95rem;
}



.site-footer {
  position: static;
  bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 16px;
  line-height: 0;
}

/* --- Music button --- */
.music-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1.5px solid var(--garnacha);
  background: var(--arena);
  color: var(--garnacha);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
  opacity: 0.85;
}

.music-btn:hover {
  background: var(--garnacha);
  color: var(--arena);
  transform: scale(1.08);
  opacity: 1;
}