/* ============================================
   VARIÁVEIS E CORES
   ============================================ */
:root {
  --primary-color: #c59da8;
  --secondary-color: #a57d88;
  --light-bg: #f8f5f2;
  --text-dark: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 2rem 1rem;
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  padding-bottom: 3rem;
}

.hero-card {
  background: rgba(197, 157, 168, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.couple-names {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* Countdown */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.75rem;
  min-width: 75px;
  text-align: center;
}

.countdown-number {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  font-family: "Playfair Display", serif;
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  color: var(--white);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-description {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Telas grandes - Hero maior, contador menor e à esquerda */
@media (min-width: 992px) {
  .hero-section {
    min-height: 95vh;
    align-items: center; /* Centraliza verticalmente */
  }

  .hero-content {
    display: flex;
    justify-content: flex-start; /* Alinha à esquerda */
    padding-bottom: 0;
    padding-left: 3rem;
  }

  .hero-card {
    max-width: 480px;
    padding: 1.75rem 2rem;
    margin: 0; /* Remove centralização */
  }

  .couple-names {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
  }

  .countdown-item {
    min-width: 70px;
    padding: 0.65rem;
  }

  .countdown-number {
    font-size: 1.6rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }
}

/* Telas extra grandes - Hero ainda maior */
@media (min-width: 1400px) {
  .hero-section {
    min-height: 90vh;
  }

  .hero-content {
    padding-left: 5rem;
  }

  .hero-card {
    max-width: 450px;
  }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: 5rem 0;
}

.content-section.bg-light {
  background-color: var(--light-bg);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.content-section img {
  transition: transform 0.3s ease;
}

.content-section img:hover {
  transform: scale(1.02);
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-color);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  background: var(--secondary-color);
  transform: rotate(360deg);
}

.info-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* ============================================
   QUOTES SECTION
   ============================================ */
.quotes-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.quote-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  height: 100%;
  border-left: 4px solid var(--primary-color);
}

.quote-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.quote-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  padding: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ============================================
   MESSAGE SECTION
   ============================================ */
.message-section {
  padding: 5rem 0;
}

.message-section .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.message-section .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(197, 157, 168, 0.25);
}

.message-section .btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.message-section .btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.message-content {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
}

.message-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ============================================
   RESPONSIVIDADE MOBILE
   ============================================ */
@media (max-width: 991px) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-card {
    max-width: 550px;
    padding: 2rem 1.5rem;
  }

  .couple-names {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .countdown-wrapper {
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .countdown-item {
    min-width: 80px;
    padding: 0.75rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    align-items: flex-end;
  }

  .hero-card {
    padding: 2rem 1.5rem;
    max-width: 95%;
    margin: 0 auto 1rem;
  }

  .couple-names {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .countdown-wrapper {
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: 70px;
    padding: 0.75rem 0.5rem;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .info-card {
    padding: 1.5rem 1rem;
  }

  .info-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .info-card h4 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-card {
    padding: 1.5rem 1rem;
  }

  .couple-names {
    font-size: 1.75rem;
  }

  .countdown-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .countdown-item {
    min-width: unset;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  animation: fadeIn 0.8s ease-out;
}

.content-section > * {
  animation: fadeIn 0.8s ease-out;
}

/* ============================================
   MODAL CUSTOMIZATION
   ============================================ */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 15px 15px 0 0;
  border-bottom: none;
}

.modal-body {
  padding: 2rem;
}

.modal-body iframe {
  border-radius: 10px;
}
