/* Use Lora for body text, Bodoni Moda for headings, Pinyon Script for footer lines */

/* Base resets + default body text */
body {
  font-family: "Lora", serif;
  /* Body text */
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.7;
}

/* Button styles */
.btn {
  font-family: "Lora", serif;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
  background-color: #b48a6d;
  color: white;
}

.btn-primary:hover {
  background-color: #a0785a;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #efebe5;
  color: #333;
}

.btn-secondary:hover {
  background-color: #e0dcd7;
  transform: scale(1.05);
}

/* Headings (h1, h2, etc.) use Bodoni Moda */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bodoni Moda", serif;
  color: #2c2c2c;
}

/* Navbar brand text style (also a heading style) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Ensures it stays above other content */
}

.navbar-brand {
  font-family: "Bodoni Moda", serif;
  /* Change font to Bodoni Moda */
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(49, 63, 38); /* Change color to rgb(49, 63, 38) */
}

/* Navbar links */
.navbar-nav .nav-link {
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #b48a6d;
}

/* HERO SECTION - Full Screen */
.hero-section {
  position: relative;
  height: 100vh;
  /* Ensures full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Image Fills Background */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  /* Sends image behind the text */
}

/* Dark Overlay to Improve Text Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* HERO SECTION - Full-Screen Background */
.hero-section {
  position: relative;
  height: 100vh;
  /* Ensures full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Make Sure Image is Visible */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures image covers the area */
  z-index: -1;
  /* Sends the image behind the text */
  opacity: 1 !important;
  /* Make sure it's fully visible */
  display: block !important;
}

/* Dark Overlay for Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Semi-transparent black overlay */
  z-index: 0;
}

/* Ensure Text Stays on Top */
.hero-text-container {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 2;
  /* Ensures text is above everything */
}

/* Hero Text Styling */
.hero-text {
  font-family: "Bodoni Moda", serif;
  font-size: 4rem;
  color: white;
  margin: 0;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

/* Date Below Title */
.hero-date {
  font-family: "Lora", serif;
  font-size: 3rem;
  /* Smaller than title */
  color: white;
  margin-top: 1rem;
  /* Add spacing below the names */
  text-align: center;
}

/* Countdown Timer */
.hero-countdown {
  font-family: "Pinyon Script", cursive;
  font-size: 3rem;
  color: white;
  margin-top: 1rem;
  text-align: center;
  white-space: nowrap;
}

/* RSVP Button in Hero Section */
.btn-rsvp {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  padding: 12px 24px;
  background-color: #b48a6d;
  /* Soft brown (matches your theme) */
  color: white;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-rsvp:hover {
  background-color: #a0785a;
  /* Darker brown on hover */
  transform: scale(1.05);
}


/* Responsive Fix for Mobile */
@media (max-width: 768px) {
  .hero-text {
    font-size: 5rem;
  }

  .hero-date {
    font-size: 1.8rem;
  }

  .hero-countdown {
    font-size: 2rem;
  }
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card:hover {
  transform: scale(1.02);
}

.card-body {
  text-align: center;
}

/* RSVP Form */
.rsvp-step {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #b48a6d;
  box-shadow: 0 0 5px rgba(180, 138, 109, 0.5);
}

/* Footer using Pinyon Script for that final line */
footer {
  background: rgb(49, 63, 38); /* Change background color */
  color: white;
  padding: 20px 0;
  text-align: center;
  font-family: "Pinyon Script", cursive;
  font-size: 2rem;
}

/* Program Section */
.program-subtitle {
  text-align: left;
  /* Align left */
  font-family: "Pinyon Script", cursive;
  /* Use Pinyon Script */
  font-weight: 400;
  font-style: normal;
  color: rgb(49, 63, 38);
  font-kerning: none;
  text-decoration: none;
  font-size: 2rem;
}

.program-body {
  text-align: left;
  /* Align left */
  font-family: "Work Sans", sans-serif;
  /* Use Work Sans */
}

.program-card-title {
  font-family: "Pinyon Script", cursive;
  /* Use Pinyon Script */
  font-weight: 400;
  font-style: normal;
  color: rgb(49, 63, 38);
  font-kerning: none;
  text-decoration: none;
  font-size: 2rem;
}

.program-card-date {
  font-size: 1.5rem;
}

.program-card-location {
  font-size: 1rem;
  /* Smaller than date */
}

/* Title Styles */
.program-title,
.destination-title,
.qa-title,
.rsvp-title {
  font-weight: 400;
  font-style: normal;
  color: rgb(49, 63, 38);
  font-kerning: none;
  text-decoration: none;
  font-size: 4rem;
  /* Same size as other titles */
}

/* Q&A Title */
.qa-title {
  font-size: 4rem;
  /* Same size as other titles */
  color: #fff;
  /* White color */
}

/* Q&A Section */
.qa-question {
  font-family: "Pinyon Script", cursive;
  /* Use Pinyon Script */
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  /* White color */
}

.qa-answer {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  /* White color */
}

/* Centered text for destination section */
.destination-intro {
  text-align: center;
}

/* Add animation classes for sections */
#program,
#destination,
#qa,
#rsvp {
  opacity: 1;
  /* Set to 1 to ensure visibility */
  transition: opacity 0.5s ease-in-out;
}

#program.animate__animated,
#destination.animate__animated,
#qa.animate__animated,
#rsvp.animate__animated {
  opacity: 1;
}

.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.col-12 {
  width: 100% !important;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50% !important;
  }
}

/* Language Selector Styles */
#langSelect {
  font-size: 1.2rem;
  /* Increase font size */
  padding: 10px 15px;
  /* Increase padding for better readability */
  min-width: 150px;
  /* Ensure enough width for longer options */
  border-radius: 8px;
  /* Slightly rounded corners for aesthetics */
}

/* Ensure all program icons have the same height */
.program-icon {
  width: auto;
  /* Maintain aspect ratio */
  height: 80px;
  /* Set a fixed height */
  max-height: 80px;
  /* Prevent exceeding this height */
  object-fit: contain;
  /* Prevent distortion */
  display: block;
  margin: 0 auto;
  /* Center the icons */
}

.destination-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 383px; /* 15% smaller than 450px */
  height: auto;
  min-height: 213px; /* 15% smaller than 250px */
}

.destination-icon {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 213px; /* 15% smaller than 250px */
  object-fit: contain; /* Ensures no distortion */
}
