@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap");

@font-face {
  font-family: "Frozen Tree";
  src:
    url("/assets/fonts/frozen-tree.woff2") format("woff2"),
    url("/assets/fonts/frozen-tree.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Michegar";
  src:
    url("/assets/fonts/michegar.woff2") format("woff2"),
    url("/assets/fonts/michegar.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Reset e Estilos Globais */
:root {
  --brand-main: #cb2771;
  /* Antiga principal */
  --brand-accent: #f79623;
  /* Antiga secondary (laranja) */
  --brand-highlight: #d9a404;
  /* Amarelo mostarda */
  --brand-contrast: #261c15;
  /* Marrom escuro */

  --bg-surface: #eee8da;
  /* Fundo da página */
  --text-primary: #333;
  /* Cor do texto principal */
  --text-on-dark: #fff;
  /* Branco para fundos escuros */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Unbounded", sans-serif;
  bg-surface: var(--bg-surface);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

h1,
h2 {
  font-family: "Unbounded", sans-serif;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
}

/* Header / Hero */
.hero {
  background: url("/assets/img/bg-principal.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 1rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bg-hero {
  left: -20px;
}

.legenda {
  font-family: "Unbounded", sans-serif;
  color: var(--brand-accent);
}

.hero h1 {
  font-size: 4rem;
  color: var(--brand-main);
  text-shadow: 2px 2px 0px rgb(0, 0, 0);
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
}

/* Seções */
section {
  background: var(--white);
  text-align: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

section:nth-of-type(even) {
  background: var(--bg-surface);
}

#o-que-levar {
  background: url("/assets/img/bg-oqlevar.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 42px;
}

section h2 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Seção: O que levar */
#o-que-levar .items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

#o-que-levar .item {
  background: var(--bg-surface);
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  border: 1px solid #ddd;
}

.container-spotify {
  max-width: 280px;
}

#playlist {
  background: url("/assets/img/bg-spotify.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-on-dark);
  text-align: center;
  position: relative;
}

#playlist::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/assets/img/bg-spotify.jpg);
  background-size: cover;
  filter: brightness(80%);
  z-index: 1;
}

/* Seção: Playlist */
#playlist form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
}

#playlist input {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#playlist button,
.button {
  bg-surface: var(--primary-color);
  color: var(--secondary-color);
  font-family: "Bebas Neue", cursive;
  font-size: 1.5rem;
  letter-spacing: 1px;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition:
    bg-surface 0.3s ease,
    transform 0.2s ease;
}

#playlist button:hover,
.button:hover {
  bg-surface: #c79403;
  transform: translateY(-2px);
}

#localizacao {
  background: url(/assets/img/bg-localizacao.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 42px;
}

/* Seção: Localização */
.map-placeholder {
  background: #e9e9e9;
  height: 250px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px dashed #ccc;
}

/* Estilo para o novo botão de confirmação */
#rsvp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 1.5rem 0;
  color: var(--brand-main);
}

.button-round {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--brand-main);
  color: var(--bg-surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    background-color 0.3s ease;
}

.rsvp-text {
  margin-top: 0.5rem;
  font-weight: bold;
}
/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #777;
}

/* Responsividade */

@media (min-width: 1024px) {
  #o-que-levar {
    background-image: url("/assets/img/bg-oqlevar-desktop.png"); /* Substitua pelo nome do seu arquivo */
  
  }
   #localizacao {
    background-image: url("/assets/img/bg-localizacao-desktop.png"); /* Substitua pelo nome do seu arquivo */
  
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
    line-height: 2.86rem;
  }

  section h2 {
    font-size: 2rem;
  }

  #o-que-levar .items {
    flex-direction: column;
    align-items: center;
  }

  .hero::after {
    width: 85%;
  }
}
