@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Classic Gold and Navy */
  --background-color: #1A1A2E; /* Dark Navy */
  --text-color: #F8D49D; /* Light Gold */
  --button-background: #E8B76B; /* Golden Bronze */
  --button-hover: #C4974A; /* Darker Gold */
}

body {
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
  background-color: var(--background-color);
  color: var(--text-color);
}


.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--background-color);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #b08e6e;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar{
    display: flex;
    justify-content: end;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--background-color);
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    padding: 10px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}


/* Carousel */
.carousel {

  overflow: hidden;
  width: 100%;
  height: 100vh;
}

/* Track for scrolling */
.carousel-track {
  display: flex;
  width: calc(33.33vw * 20); /* 10 original + 10 duplicate = 20 */
  animation: scroll 120s linear infinite;
}

.carousel-track img {
  width: 33.33vw; /* Adjusted to full width */
  height: 100vh;
  object-fit: cover;
  flex-shrink: 0;
}

/* Infinite horizontal scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Centered Title and RSVP Button */

.centered-content {
  position: absolute; /* Position it absolutely */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for element size */
  text-align: center; /* Center text */
  color: #fff; /* Change text color to white for better visibility */
  z-index: 500; /* Ensure it appears above other content */
}

.centered-content h1 {
  font-family: "Merriweather", serif;
  font-size: 4rem; /* Adjust size as needed */
  margin-bottom: 20px; /* Space below the heading */
  color: var(--text-color);
}

.rsvp-button {
  padding: 15px 30px; /* Button padding */
  font-size: 1.5rem; /* Button font size */
  color: #fff; /* Button text color */
  background-color: var(--button-background);
  border: none; /* Remove border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s; /* Smooth background color transition */
}

.rsvp-button:hover {
  background-color: var(--button-hover);
}

/* special message */

.special-message {
  display: flex;
  justify-content: center;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.message-content {
  width: 70%;
  display: flex; /* Use flexbox to align image and text */
  align-items: center; /* Align items at the start */
  gap: 2rem;
}

.couple-image {
    width: 250px; /* Set a fixed width for the image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: round the corners */
    margin-right: 20px; /* Space between image and text */
}

.text-content {
    flex: 1; /* Allow text to take up remaining space */
}

.special-message h2 {
    font-family: 'Playfair Display', serif; /* Elegant font for headings */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.special-message p {
    font-family: 'Lora', serif; /* Elegant font for body text */
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 10px 0;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .message-content {
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center align items */
    width: 90%; /* Use more width on smaller screens */
  }

  .couple-image {
    width: 100%; /* Set image to full width */
    max-width: 300px; /* Optional: limit max width */
    margin-right: 0; /* Remove margin for mobile */
    margin-bottom: 20px; /* Add space below image */
  }

  .special-message h2 {
    font-size: 2rem; /* Smaller heading size */
  }

  .special-message p {
    font-size: 1rem; /* Smaller paragraph size */
  }
}


/*Countdown */

.countdown {
          display: flex;
          flex-direction: column;
          justify-content: center;
          margin-top: 20px;
          gap: 2rem;
          text-align: center;
      }

      .countdown h2{
        font-family: "Great Vibes", cursive;
        font-size: 3rem;
      }

      .countdown-timer {
          display: flex;
          justify-content: center;
          gap: 15px; /* Space between countdown items */
      }

       .countdown-item {
          text-align: center;
      }

      .countdown-value {
          font-size: 4rem; /* Size for countdown numbers */
          font-weight: bold;
      }

      .countdown-label {
          font-size: 1rem; /* Size for countdown labels */
      }


/* Lovestory */

.love-story {
      padding: 3rem;
      background-image: url('images/love-story.jpg'); /* Replace with your texture path */
      background-size: cover; /* Ensure it covers the entire background */
      background-repeat: no-repeat; /* Repeat the texture if necessary */
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 40px 0;
    }

.love-story img {
      width: 300px; /* Set image width */
      height: auto; /* Maintain aspect ratio */
      border-radius: 10px; /* Rounded corners */
      transition: transform 0.3s; /* Smooth hover effect */
    }

.left-image {
      transform: rotate(5deg); /* Angle for left images */
    }

.right-image {
      transform: rotate(5deg); /* Angle for right images */
    }

.love-story img:hover {
      transform: scale(1.05); /* Slightly enlarge on hover */
    }

.story-text {
      max-width: 700px; /* Limit text width */
      margin: 2rem 20px; /* Space between images and text */
      text-align: justify; /* Justify text for better readability */
      line-height: 1.6; /* Increase line height for elegance */
      color: var(--background-color) /* Darker text for better readability */
    }

.story-text h2{
  font-size: 3rem;
}

.left-image {
      transform: rotate(-5deg); /* Angle for left image */
      margin-right: 10px; /* Space between image and text */
    }

.right-image {
      transform: rotate(5deg); /* Angle for right image */
      margin-left: 10px; /* Space between image and text */
    }

.read-more {
      display: none; /* Hide the extended text initially */
      margin-top: 20px; /* Space above the read more text */
    }

.read-more-button {
      background-color: var(--button-background); /* Button color */
      color: white; /* Button text color */
      border: none; /* Remove border */
      padding: 10px 15px; /* Padding for button */
      border-radius: 5px; /* Rounded corners */
      cursor: pointer; /* Pointer cursor on hover */
      font-size: 1rem; /* Button text size */
      margin-top: 10px; /* Space above the button */
      display: block; /* Center the button */
      width: 120px; /* Fixed width for button */
      text-align: center; /* Center text inside button */
      margin-left: auto; /* Center the button horizontally */
      margin-right: auto; /* Center the button horizontally */
    }

.read-more-button:hover {
      background-color: var(--button-hover); /* Darker color on hover */
    }

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .love-story {
        flex-direction: column; /* Stack images and text vertically */
        align-items: center; /* Center align items */
        padding: 1.5rem; /* Reduce padding on mobile */
    }

    .love-story img {
        width: 50%; /* Set image to 90% width on mobile */
        max-width: 300px; /* Optional: limit max width */
        margin: 0 0 20px 0; /* Remove side margins and add bottom margin */
    }

    .story-text {
        margin: 1rem 0; /* Adjust margin for text */
        max-width: 100%; /* Allow text to take full width */
    }

    .story-text h2 {
        font-size: 2rem; /* Smaller heading size */
    }

    .read-more-button {
        width: 100%; /* Full width button on mobile */
    }

}

/* Venue Section */

.venue-section {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.venue-section h2{
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
}

.welcome {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.content1 {
    display: flex; /* Use flexbox to align items side by side */
    align-items: flex-start; /* Align items at the start */
    gap: 20px; /* Space between image and content */
}

.content2 {
    display: flex; /* Use flexbox to align items side by side */
    align-items: flex-start; /* Align items at the start */
    gap: 20px; /* Space between image and content */
}

.venue-image {
    width: 50%; /* Adjust width as needed */
    height: auto;
    border-radius: 8px; /* Rounded corners */
}

.venue-description {
    flex: 1; /* Allow the description to take the remaining space */
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.venue-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-family: "Great Vibes", cursive;
}

.details h4 {
    font-size: 1.7rem;
    color: var(--text-color);
    margin: 10px 0 5px;
    font-family: "Great Vibes", cursive;
    font-weight: 100;

}

.details p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--button-background);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--button-hover);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .content1 {
        flex-direction: column; /* Stack image and description vertically */
        align-items: center; /* Center align items */
    }

    .venue-image {
        width: 100%; /* Full width on mobile */
        max-width: 300px; /* Optional: limit max width */
        margin-bottom: 20px; /* Space below the image */
    }


    .content2{
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
    }

    .venue-description {
        padding: 10px; /* Reduce padding on mobile */
        width: 100%; /* Allow description to take full width */
    }

    .venue-title {
        font-size: 1.8rem; /* Smaller heading size */
    }

    .details h4 {
        font-size: 1.5rem; /* Smaller subheading size */
    }

    .welcome {
        font-size: 16px; /* Smaller welcome text size */
    }

    .button {
        width: 100%; /* Full width button on mobile */
        padding: 12px; /* Increase padding for easier tapping */
    }
}


/*Dress Code */

.dress-code-section {
  background: #fdf9f6;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 15px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.text-content {
  flex: 1;
  text-align: center;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  max-width: 100%;
  border-radius: 12px;
  background-color: transparent;
}

.intro {
  font-style: italic;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.attire-details ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.attire-details li {
  margin: 10px 0;
}

.color-palette {
  margin: 30px 0;
}

.swatches {
  display: flex;
  gap: 25px;
  margin-top: 10px;
  justify-content: center;
}

.swatches span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ccc;
}

blockquote {
  margin-top: 30px;
  font-size: 1rem;
  font-style: italic;
  color: #6a6a6a;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}


/* Wedding Party */

.wedding-party-section {
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
  text-align: center;
}

.wedding-party-section h2 {
  font-size: 2.5rem;
  color: #b48f6c;
  margin-bottom: 10px;
}

.wedding-party-section .intro {
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1.2rem;
  color: #6a6a6a;
}

.party-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.party-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.party-member {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.party-member:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.party-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.party-member h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
}

.party-member .role {
  font-weight: bold;
  color: #b48f6c;
  margin: 5px 0;
}

.party-member .bio {
  font-size: 0.95rem;
  color: #666;
}


/* Wedding List */

.wedding-party-list {
  background: url('images/weddinglist.jpg') center center / cover no-repeat;
  min-height: 100vh; /* full screen height */
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #444;
  text-align: center;
  background-attachment: fixed;
}



.wedding-party-list .container {
  max-width: 900px;
  margin: auto;
}

.wedding-party-list h2 {
  font-size: 2.5rem;
  color: #b48f6c;
  margin-bottom: 10px;
}

.wedding-party-list .intro {
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #666;
}

.group {
  margin-bottom: 40px;
}

.group h3 {
  font-size: 1.5rem;
  color: #8a6741;
  margin-bottom: 10px;
}

.group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.group ul li {
  margin: 5px 0;
  font-size: 1rem;
}

.group p {
  font-size: 1rem;
  margin: 5px 0;
}

.sponsor-columns {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sponsor-columns ul {
  flex: 1;
  min-width: 200px;
}


/* Gallery*/

.prenup-gallery {
  background: url('images/paper-texture.jpg') center center / cover no-repeat;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
}

.prenup-gallery h2 {
  font-size: 2.5rem;
  color: #b48f6c;
  margin-bottom: 10px;
}

.prenup-gallery .intro {
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #bbb;
}



/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile */
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on very small screens */
  }
}


/* RSVP */

.rsvp-section {
  background: url('images/paper-texture.jpg') center center / cover no-repeat;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
  text-align: center;
}

.rsvp-section h2 {
  font-size: 2.5rem;
  color: #b48f6c;
  margin-bottom: 10px;
}

.rsvp-section .intro {
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #666;
}

.rsvp-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rsvp-form .form-group input,
.rsvp-form .form-group select,
.rsvp-form .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'Georgia', serif;
  font-size: 1rem;
}

.rsvp-form .submit-btn {
  background-color: #b48f6c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.rsvp-form .submit-btn:hover {
  background-color: #a57755;
}

/* FAQ */

.faq-section {
  background: #fffefb;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  color: #b48f6c;
  margin-bottom: 10px;
}

.faq-section .intro {
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #666;
}

.faq-item {
  margin: 20px auto;
  max-width: 700px;
  text-align: left;
  border-bottom: 1px solid #e2dcd2;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #8a6741;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 15px 0;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #b48f6c;
}

.faq-answer {
  display: none;
  padding-bottom: 15px;
  font-size: 1rem;
  color: #555;
}

.faq-category {
  font-size: 1.5rem;
  color: #8a6741;
  margin: 40px 0 10px;
  text-align: left;
  border-bottom: 2px solid #e2dcd2;
  padding-bottom: 5px;
}

/* Gift Registry */

.gift-registry {
  background: url('images/paper-texture.jpg') center center / cover no-repeat;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
  text-align: center;
}

.gift-registry h2 {
  font-size: 2.5rem;
  color: #b48f6c;
  margin-bottom: 15px;
}

.gift-registry .intro {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 25px;
  color: #666;
}

.gift-registry .message {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.gift-button {
  display: inline-block;
  margin: 30px auto 20px;
  padding: 12px 24px;
  font-size: 1rem;
  color: white;
  background-color: #b48f6c;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.gift-button:hover {
  background-color: #a57755;
}

.gift-registry .thankyou {
  margin-top: 30px;
  font-style: italic;
  color: #666;
}

.gift-registry .couple-names {
  font-weight: bold;
  color: #8a6741;
  margin-top: 5px;
}


.gift-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 60px;
}

.modal-content {
  background-color: #fffefb;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 700px;
  position: relative;
  text-align: center;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: #555;
}

.gift-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 20px;
}

.gift-images img {
  max-width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gift-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  text-align: center;
  font-size: 0.95rem;
  color: #444;
}

.gift-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/*Tag Us */

.tag-us-section {
  background: url('images/paper-texture.jpg') center center / cover no-repeat;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
  text-align: center;
}

.tag-us-section h2 {
  font-size: 2.3rem;
  color: #b48f6c;
  margin-bottom: 10px;
}

.tag-us-section .intro {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #555;
}

.tag-us-section .hashtag {
  font-size: 1.8rem;
  color: #8a6741;
  margin: 10px 0 20px;
  font-weight: bold;
}

.tag-us-section .message {
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #666;
  line-height: 1.6;
}

.upload-btn {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #b48f6c;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.upload-btn:hover {
  background-color: #a57755;
}


/*Time Capsule*/
.time-capsule-section {
  background: url('images/paper-texture.jpg') center center / cover no-repeat;
  padding: 60px 20px;
  font-family: 'Georgia', serif;
  color: #4a4a4a;
  text-align: center;
}

.time-capsule-section h2 {
  font-size: 2.3rem;
  color: #b48f6c;
  margin-bottom: 15px;
}

.time-capsule-section .intro {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.time-capsule-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.time-capsule-form input,
.time-capsule-form textarea {
  padding: 12px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fffef9;
}

.time-capsule-form button {
  padding: 12px;
  font-size: 1rem;
  background-color: #b48f6c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.time-capsule-form button:hover {
  background-color: #a57755;
}


/*final message*/
.final-message-section {
  background: url('images/p.jpg') center center / cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-message-section .overlay {
  background: rgba(0, 0, 0, 0.45); /* soft dark overlay for text readability */
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.final-message-section h2 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
}
/* Footer */

.footer {
  color: white;
  text-align: center;
  padding: 1.5rem;
}

.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

.lightbox-caption {
  margin-top: 10px;
  color: white;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}