/* Isabelle e Renato - reconstruído a partir do arquivo salvo do iCasei
   Cores e proporções extraídas do HTML/CSS original e dos screenshots */

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

@font-face {
  font-family: 'PlayfairDisplay';
  src: local('Playfair Display'), local('Georgia');
}

html, body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #4a4a4a;
  background: #e8e5dd url("img/bg-texture.svg") repeat;
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- HEADER ---------- */
.header {
  background: #2b2a28;
  color: #f5f2e9;
  height: 220px;
  position: relative;
  border-bottom: 4px double #4a4a4a;
}
.header-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 30px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: 20px;
}
.header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 48px;
  color: #f5f2e9;
  letter-spacing: 0.5px;
  font-style: italic;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.date-badge {
  text-align: center;
  margin-top: 15px;
}
.date-line {
  font-size: 26px;
  color: #f5f2e9;
  letter-spacing: 3px;
  position: relative;
  padding: 0 40px;
  font-family: Georgia, serif;
}
.date-line::before, .date-line::after {
  content: "—";
  position: absolute;
  color: #7a7770;
  font-size: 20px;
  top: 8px;
}
.date-line::before { left: 0; }
.date-line::after { right: 0; }

.days-ribbon {
  background: #f5f2e9;
  color: #2b2a28;
  padding: 8px 40px;
  font-size: 18px;
  margin-top: 8px;
  position: relative;
  font-style: italic;
  white-space: nowrap;
}
.days-ribbon::before, .days-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-top: 18px solid #f5f2e9;
  border-bottom: 18px solid #f5f2e9;
}
.days-ribbon::before {
  left: -12px;
  border-left: 12px solid transparent;
}
.days-ribbon::after {
  right: -12px;
  border-right: 12px solid transparent;
}

/* Fita CASADOS diagonal */
.casados-ribbon {
  position: absolute;
  top: 0;
  right: 60px;
  width: 34px;
  background: #b03030;
  color: #fff;
  padding: 60px 0 25px;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}
.casados-ribbon::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 17px solid #b03030;
  border-right: 17px solid #b03030;
  border-bottom: 12px solid transparent;
}

/* ---------- CONTAINER ---------- */
.wrapper {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 60px 60px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
}

/* ---------- MENU ---------- */
.menu {
  color: #4a4a4a;
}
.menu-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #2b2a28;
  margin-bottom: 12px;
  padding-bottom: 4px;
}
.menu ul {
  list-style: none;
  margin-bottom: 25px;
}
.menu li a {
  display: block;
  padding: 5px 0;
  color: #5a5852;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.menu li a:hover, .menu li a.active {
  color: #2b2a28;
  text-decoration: underline;
}
.social-icons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.social-icons a {
  width: 30px;
  height: 30px;
  background: #2b2a28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f2e9;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}
.social-icons a:hover { background: #b03030; }

/* ---------- CONTENT ---------- */
.content {
  min-height: 400px;
}
.content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: #2b2a28;
  margin-bottom: 20px;
}
.content h3 {
  font-family: Georgia, serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: #4a4a4a;
  text-transform: uppercase;
  margin-top: 15px;
}
.content p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 8px 0 15px;
  border-bottom: 1px solid #cfccc4;
  padding-bottom: 20px;
}
.content .no-border { border: none; }

.venue-photo, .keys-photo {
  display: block;
  margin: 10px 0 20px;
  max-width: 100%;
  border: 5px solid #f8f6ef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.keys-photo { max-width: 340px; }

.world-block img {
  display: block;
  margin: 15px 0;
  max-width: 200px;
}
.world-link {
  color: #6a6862;
  font-size: 13px;
  text-decoration: underline;
  word-break: break-all;
}

/* ---------- SLIDESHOW ---------- */
.slideshow {
  width: 540px;
  margin: 20px auto 0;
  position: relative;
  background: #f8f6ef;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
}
.slideshow-inner {
  position: relative;
  width: 530px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f2e9;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  object-fit: contain;
  background: #f5f2e9;
}
.slide.active { opacity: 1; }
.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}
.slide-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.3s;
}
.slide-dots span.active { background: #fff; }

/* ---------- LISTA VIRTUAL ---------- */
.virtual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.filter-bar {
  display: flex;
  gap: 8px;
  background: #f5f2e9;
  padding: 10px;
  border: 1px solid #cfccc4;
  border-radius: 3px;
  margin-bottom: 30px;
  align-items: center;
  font-size: 13px;
  color: #6a6862;
}
.filter-bar label { padding-right: 8px; }
.filter-bar .pill {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #cfccc4;
  border-radius: 3px;
  color: #8a8880;
}
.filter-bar select {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #cfccc4;
  border-radius: 3px;
  background: #fff;
  color: #6a6862;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #2b2a28;
  margin: 30px 0 15px;
}
.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gift-card {
  background: #fff;
  border: 1px solid #e0dcd0;
  padding: 15px;
  text-align: center;
  font-size: 12px;
  color: #4a4a4a;
  position: relative;
}
.gift-card.bought { opacity: 0.5; }
.gift-thumb {
  width: 100%;
  height: 100px;
  background: #f5f2e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8b5ad;
  font-size: 11px;
  margin-bottom: 10px;
}
.gift-name {
  min-height: 40px;
  color: #6a6862;
}
.gift-price {
  font-size: 14px;
  color: #2b2a28;
  margin: 10px 0;
}
.gift-btn {
  display: inline-block;
  background: #2b2a28;
  color: #fff;
  padding: 6px 20px;
  font-size: 12px;
  border-radius: 3px;
  text-decoration: none;
}
.gift-btn.done {
  background: transparent;
  color: #6a9e3f;
  border: 1px solid #6a9e3f;
  cursor: default;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #2b2a28;
  color: #b8b5ad;
  padding: 15px 60px;
  font-size: 12px;
  text-align: center;
}
.footer .footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer em {
  color: #7a7770;
  font-style: italic;
}
.footer .brand {
  color: #b8b5ad;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    gap: 15px;
  }
  .header h1 { font-size: 40px; text-align: center; }
  .casados-ribbon { right: 15px; }
  .wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 30px;
  }
  .slideshow, .slideshow-inner {
    width: 100%;
    max-width: 530px;
    height: auto;
    aspect-ratio: 530 / 310;
  }
  .slideshow { padding: 5px; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 8px; }
}
