/* =========================
   PALETA VERDE OLIVA
=========================

   Verde oliva principal: #6B705C
   Verde oliva escuro:     #4F5544
   Verde suave:            #A5A58D
   Bege:                   #F6F3EA
   Creme:                  #FFFDF8
   Dourado suave:          #B8A46A

========================= */

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;

  color: #4f5544;

  background: #fffdf8;

  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   CONTAINER
========================= */

.container {
  width: min(1100px, 90%);

  margin: auto;
}

/* =========================
   MENU
========================= */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: rgba(255, 253, 248, 0.96);

  backdrop-filter: blur(10px);

  box-shadow: 0 2px 15px rgba(79, 85, 68, 0.08);
}

.navbar {
  max-width: 1200px;

  width: 90%;

  margin: auto;

  min-height: 75px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.logo {
  font-family: "Great Vibes", cursive;

  font-size: 38px;

  color: #6b705c;
}

.nav-menu {
  list-style: none;

  display: flex;

  align-items: center;

  gap: 30px;
}

.nav-menu a {
  font-size: 13px;

  text-transform: uppercase;

  letter-spacing: 1px;

  color: #4f5544;

  transition: 0.3s;
}

.nav-menu a:hover {
  color: #8a8f73;
}

.menu-toggle {
  display: none;

  border: none;

  background: none;

  color: #6b705c;

  font-size: 28px;

  cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  background: url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1800&q=90")
    center / cover;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(rgba(55, 61, 47, 0.45), rgba(55, 61, 47, 0.55));
}

.hero-content {
  position: relative;

  z-index: 1;

  color: white;

  padding: 30px;
}

.small-title {
  text-transform: uppercase;

  letter-spacing: 5px;

  font-size: 14px;

  margin-bottom: 15px;
}

.hero h1 {
  font-family: "Great Vibes", cursive;

  font-size: clamp(70px, 12vw, 130px);

  font-weight: 400;

  line-height: 1;
}

.hero h1 span {
  font-size: 70%;
}

.date {
  margin-top: 20px;

  letter-spacing: 5px;

  font-size: 17px;
}

.hero-text {
  margin: 20px auto 30px;

  max-width: 600px;

  font-size: 17px;
}

/* =========================
   BOTÕES
========================= */

.button {
  display: inline-block;

  padding: 13px 28px;

  background: #6b705c;

  color: white;

  border-radius: 30px;

  font-size: 13px;

  letter-spacing: 1px;

  border: none;

  cursor: pointer;

  transition: 0.3s;
}

.button:hover {
  background: #4f5544;

  transform: translateY(-2px);
}

/* =========================
   CONTADOR
========================= */

.countdown-section {
  text-align: center;

  padding: 90px 20px;

  background: #f1f0e7;
}

.section-subtitle {
  color: #7a8069;

  text-transform: uppercase;

  letter-spacing: 3px;

  font-size: 12px;

  margin-bottom: 10px;
}

.countdown-section h2,
.section-title {
  font-family: "Great Vibes", cursive;

  font-size: 55px;

  font-weight: 400;

  color: #4f5544;
}

.countdown {
  display: flex;

  justify-content: center;

  gap: 20px;

  margin-top: 35px;
}

.time-box {
  width: 110px;

  height: 110px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  background: #fffdf8;

  border-radius: 50%;

  box-shadow: 0 5px 20px rgba(79, 85, 68, 0.1);
}

.time-box span {
  font-size: 28px;

  font-weight: 600;

  color: #6b705c;
}

.time-box small {
  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 1px;

  color: #6b705c;
}

/* =========================
   FRASE
========================= */

.quote {
  padding: 100px 20px;

  text-align: center;

  background: #fffdf8;
}

.heart {
  color: #8a8f73;

  font-size: 30px;

  margin-bottom: 15px;
}

.quote p {
  max-width: 700px;

  margin: auto;

  font-family: "Great Vibes", cursive;

  font-size: 40px;

  line-height: 1.4;

  color: #5a604e;
}

/* =========================
   SEÇÕES
========================= */

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;

  margin-bottom: 50px;
}

/* =========================
   HISTÓRIA
========================= */

.story {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.story-image img {
  width: 100%;

  height: 500px;

  object-fit: cover;

  border-radius: 150px 150px 20px 20px;

  box-shadow: 0 10px 30px rgba(79, 85, 68, 0.12);
}

.story-text h3 {
  font-family: "Great Vibes", cursive;

  font-size: 45px;

  font-weight: 400;

  color: #6b705c;

  margin-bottom: 20px;
}

.story-text p {
  margin-bottom: 15px;
}

.signature {
  font-family: "Great Vibes", cursive;

  font-size: 40px;

  color: #6b705c;

  margin-top: 25px;
}

/* =========================
   CASAMENTO
========================= */

.wedding-section {
  padding: 100px 0;

  background: #f1f0e7;

  text-align: center;
}

.wedding-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.info-card {
  background: #fffdf8;

  padding: 40px 25px;

  border-radius: 10px;

  box-shadow: 0 5px 25px rgba(79, 85, 68, 0.08);

  border-top: 3px solid #a5a58d;
}

.icon {
  font-size: 35px;

  color: #8a8f73;

  margin-bottom: 15px;
}

.info-card h3 {
  font-family: "Great Vibes", cursive;

  font-size: 35px;

  font-weight: 400;

  color: #4f5544;

  margin-bottom: 15px;
}

.info-card p {
  margin-bottom: 7px;

  font-size: 14px;
}

.text-button {
  display: inline-block;

  margin-top: 15px;

  color: #6b705c;

  font-size: 13px;

  border-bottom: 1px solid #6b705c;
}

/* =========================
   TIMELINE
========================= */

.timeline {
  max-width: 750px;

  margin: auto;
}

.timeline-item {
  display: grid;

  grid-template-columns: 120px 1fr;

  gap: 30px;

  padding: 25px 0;

  border-bottom: 1px solid #dcdccf;
}

.timeline-time {
  color: #6b705c;

  font-weight: 600;

  font-size: 18px;
}

.timeline-item h3 {
  margin-bottom: 5px;

  font-size: 18px;

  color: #4f5544;
}

.timeline-item p {
  font-size: 14px;
}

/* =========================
   GALERIA
========================= */

.gallery-section {
  padding: 100px 0;

  background: #f1f0e7;
}

.gallery {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.gallery img {
  width: 100%;

  height: 300px;

  object-fit: cover;

  border-radius: 5px;

  cursor: pointer;

  transition: 0.4s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* =========================
   PRESENTES
========================= */

.gifts-section {
  text-align: center;
}

.center-text {
  max-width: 650px;

  margin: 0 auto 40px;
}

.gift-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;

  max-width: 800px;

  margin: auto;
}

.gift-card {
  padding: 40px;

  background: #fffdf8;

  border: 1px solid #dcdccf;

  border-radius: 10px;

  box-shadow: 0 5px 20px rgba(79, 85, 68, 0.05);
}

.gift-icon {
  font-size: 40px;

  margin-bottom: 15px;
}

.gift-card h3 {
  margin-bottom: 10px;

  color: #4f5544;
}

.gift-card p {
  margin-bottom: 20px;
}

/* =========================
   RSVP
========================= */

.rsvp-section {
  padding: 100px 20px;

  background: #f1f0e7;

  text-align: center;
}

.rsvp-form {
  max-width: 650px;

  margin: 40px auto 0;

  background: #fffdf8;

  padding: 40px;

  border-radius: 10px;

  text-align: left;

  box-shadow: 0 5px 25px rgba(79, 85, 68, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;

  margin-bottom: 8px;

  font-size: 14px;

  font-weight: 500;

  color: #4f5544;
}

input,
select,
textarea {
  width: 100%;

  padding: 13px;

  border: 1px solid #d2d3c5;

  border-radius: 5px;

  outline: none;

  font-family: inherit;

  background: #fcfbf5;

  color: #4f5544;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #6b705c;

  box-shadow: 0 0 0 2px rgba(107, 112, 92, 0.08);
}

.radio-group label {
  display: block;

  margin-bottom: 10px;

  font-weight: 400;
}

.radio-group input {
  width: auto;

  margin-right: 8px;
}

#formMessage {
  margin-top: 20px;

  color: #6b705c;

  font-weight: 600;

  text-align: center;
}

/* =========================
   RODAPÉ
========================= */

.footer {
  padding: 70px 20px;

  text-align: center;

  background: #4f5544;

  color: #fffdf8;
}

.footer .heart {
  color: #c5c7b5;

  font-size: 30px;
}

.footer h2 {
  font-family: "Great Vibes", cursive;

  font-size: 55px;

  font-weight: 400;

  color: #fffdf8;
}

.footer > p {
  color: #e8e9df;
}

.footer-line {
  width: 70px;

  height: 1px;

  background: #a5a58d;

  margin: 25px auto;
}

.copyright {
  font-size: 12px;

  margin-bottom: 5px;

  letter-spacing: 0.5px;
}

.developed {
  font-size: 13px;

  color: #d9dacf;
}

.developed strong {
  color: #fffdf8;

  font-weight: 600;
}

/* =========================
   VOLTAR AO TOPO
========================= */

.back-to-top {
  position: fixed;

  right: 20px;

  bottom: 20px;

  width: 45px;

  height: 45px;

  border: none;

  border-radius: 50%;

  background: #6b705c;

  color: white;

  font-size: 20px;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transition: 0.3s;

  box-shadow: 0 5px 15px rgba(79, 85, 68, 0.2);
}

.back-to-top:hover {
  background: #4f5544;
}

.back-to-top.show {
  opacity: 1;

  visibility: visible;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 800px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;

    top: 75px;

    left: 0;

    width: 100%;

    background: #fffdf8;

    flex-direction: column;

    padding: 25px;

    display: none;

    box-shadow: 0 10px 20px rgba(79, 85, 68, 0.08);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 75px;
  }

  .countdown {
    gap: 8px;
  }

  .time-box {
    width: 75px;

    height: 75px;
  }

  .time-box span {
    font-size: 20px;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-image img {
    height: 400px;
  }

  .wedding-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CELULAR
========================= */

@media (max-width: 500px) {
  .navbar {
    min-height: 68px;
  }

  .nav-menu {
    top: 68px;
  }

  .logo {
    font-size: 32px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 65px;
  }

  .small-title {
    font-size: 11px;

    letter-spacing: 3px;
  }

  .date {
    font-size: 13px;

    letter-spacing: 3px;
  }

  .hero-text {
    font-size: 14px;
  }

  .countdown-section h2,
  .section-title {
    font-size: 45px;
  }

  .quote p {
    font-size: 32px;
  }

  .countdown {
    flex-wrap: wrap;
  }

  .time-box {
    width: 70px;

    height: 70px;
  }

  .time-box span {
    font-size: 18px;
  }

  .time-box small {
    font-size: 9px;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;

    gap: 15px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 350px;
  }

  .rsvp-form {
    padding: 25px;
  }

  .footer h2 {
    font-size: 48px;
  }
}
