:root {
  --cor-primaria: #150549;
  --cor-tres: #d63384;
  --cor-secundaria: #ffc657;
  --cor-fundo: #fff0f5;
  --cor-texto: #333;
  --cor-texto-claro: #fff;
  --cor-borda: #ccc;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  background-color: #fff0f5;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
  min-height: 100vh;
}

header {
  background:
    url('/images/background.webp') no-repeat center center / cover,
    var(--cor-primaria);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 1rem;
  color: #fff;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

.img-save-the-date {
  width: 100%;
  max-width: 800px;
  height: 100%;
  margin: 1rem auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

section {
  margin-top: 2rem;
  padding: 2rem 1rem;
}

form input, form button {
  padding: 0.5rem;
  margin: 0.5rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

form button {
  background-color: var(--cor-primaria);
  border: none;
  color: white;
  cursor: pointer;
}

footer {
  background-color: var(--cor-primaria);
  padding: 1rem;
  margin-top: auto;
  color: #fff;
  font-weight: bold;
}

.menu-topo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.menu-logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--cor-primaria);
}

.menu-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-links li a.ativo {
  color: #d63384;
  font-weight: bold;
  border-bottom: 2px solid #d63384;
}


.menu-links li a:hover {
  color: #d63384;
}

#sobre-gabi {
  background-color: #fffafc;
  padding: 2rem 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#sobre-gabi h2 {
  color: var(--cor-primaria);
  margin-bottom: 1rem;
}

#sobre-gabi p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

#sobre-local {
  background-color: #fffafc;
  padding: 2rem 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#sobre-local h2 {
  color: var(--cor-primaria);
  margin-bottom: 1rem;
}

#sobre-local p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.galeria-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 1rem;
}

.galeria-container img {
  height: 350px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeria-container img:hover {
  transform: scale(1.05);
}

.formulario-container {
  max-width: 800px;
  margin: 2rem auto;
}

.formulario-google {
  width: 100%;
  height: 160vh;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#contador-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #e1c5d0;
}

#contador {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.mapa-container {
  margin-top: 1rem;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.iframe-mapa {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
}

.iframe-formulario-google {
  background-color: #e1c5d0;
}

#presentes {
  text-align: center;
}

.presente-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0.5rem auto;
  background-color: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  gap: 1rem;
}

.presente-item > * {
  flex: 1;
  text-align: center;
}

.presente-item span {
  text-align: left;
}

.presente-item .btn-presentear,
.presente-item .btn-pix {
  flex: none;
}

.presente-item strong {
  text-transform: capitalize;
}

.btn-presentear {
  padding: 0.4rem 1rem;
  border: none;
  background-color: var(--cor-primaria);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn-presentear:hover {
  background-color: #d63384;
}

.btn-presentear:disabled {
  background-color: gray;
  cursor: not-allowed;
}

.btn-pix {
  padding: 0.4rem 1rem;
  border: none;
  background-color: var(--cor-primaria);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn-pix:hover {
  background-color: #d63384;
}

.btn-pix:disabled {
  background-color: gray;
  cursor: not-allowed;
}

.status {
  font-weight: normal;
  color: green;
  text-transform: capitalize;
}

.link-item {
  color: var(--cor-primaria);
  font-weight: normal;
  text-decoration: underline;
  margin-left: 10px;
}

.link-item:hover {
  color: #d63384;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #fff;
  padding: 2rem 2rem 2.5rem;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: #d63384;
}

.modal-content input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border 0.2s ease;
}

.modal-content input:focus {
  outline: none;
  border-color: #d63384;
}

.modal-content button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  margin: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-confirmar {
  text-align: center;
  margin: 2rem 0;
}

.botao-confirmar {
  display: inline-block;
  background-color: var(--cor-primaria);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.botao-confirmar:hover {
  background-color: #b82b6e;
  transform: scale(1.05);
}

#btn-confirmar {
  background-color: #d63384;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#btn-confirmar:hover {
  background-color: #b82b6e;
  transform: scale(1.05);
}

.modal-content button:not(#btn-confirmar) {
  background-color: #eee;
  color: #444;
}

.modal-content button:not(#btn-confirmar):hover {
  background-color: #ddd;
  transform: scale(1.03);
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.erro-senha {
  color: red;
}

.admin a {
	color: #b82b6e !important;
}

.conteudo {
  display: none;
}

.mensagem-sucesso {
  display: none;
  color: green;
  font-weight: bold;
  margin-top: 1rem;
}

button {
  font-size: 1.2em;
  padding: 0.6em 0.8em;
  border-radius: 0.5em;
  border: none;
  background-color: var(--cor-primaria);
  color: #fff;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000b4;
  z-index: 1;
  position: relative;
}

.container {
  display: inline-block;
  padding: 3px;
  background: linear-gradient(90deg, var(--cor-tres), var(--cor-secundaria));
  border-radius: 1em;
  transition: all 0.4s ease;
  position: relative;
  margin-bottom: 2em;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.9em;
  z-index: -1;
  filter: blur(0);
  transition: filter 0.4s ease;
}

.container:hover::before {
  background: linear-gradient(90deg,var(--cor-tres), var(--cor-secundaria));
  filter: blur(1.2em);
}

.container:active::before {
  filter: blur(0.2em);
}

.galeria-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  .menu-logo {
    display: none;
  }

  .galeria-container {
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    position: relative;
  }

  .galeria-container img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: center;
    object-fit: cover;
  }

  .galeria-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
  }

  .galeria-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 5px 10px;
    cursor: pointer;
    pointer-events: all;
  }
}

/* Aviso acima da lista (lado direito) */
.aviso-presentes {
  font-size: 12px;
  color: #555;
  padding: 10px 100px;
  margin-left: auto;
  max-width: 450px;
  text-align: right;
  line-height: 1.35;
}
.aviso-presentes a {
  color: #208BAA;
  text-decoration: underline;
}
/* opcional: melhora em telas pequenas */
@media (max-width: 480px) {
  .aviso-presentes {
    max-width: none;
    text-align: left;
    margin: 0 0 12px 0;
  }
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 20px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid #eee;
  border-radius: 999px;
  background: #fff;
  color: #b82b6e; /* cor do seu tema */
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  transition: background .2s, border-color .2s, transform .05s;
}

.map-link:hover { background: #ffe3f0; border-color: #ffc2da; }
.map-link:active { transform: translateY(1px); }
.map-link .icon { font-size: 1.1rem; line-height: 1; }

/* Se quiser diferenciar por marca, dá pra trocar só a borda/hover */
.map-link.waze:hover  { border-color: #33ccff; }
.map-link.gmaps:hover { border-color: #34a853; }
.map-link.amap:hover  { border-color: #999; }

.map-link .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  object-fit: contain;
}