/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo h1 {
  font-size: 28px;
  color: #2c3e50;
}

/* Positioning the social icons */
.social-links {
  display: flex;
  gap: 15px;
}

/* Styling the individual links */
.social-links a {
  color: #3498db; /* You can adjust the color */
  font-size: 24px; /* Font size of the icons */
  transition: transform 0.3s ease; /* Smooth transition for scaling */
}

/* Hover effect for scaling the icons */
.social-links a:hover {
  transform: scale(1.2); /* Increase size by 20% on hover */
}

.main-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #2c3e50;
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #2c3e50;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-control:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

/* Footer Styles */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 50px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px; /* Space between columns using gap */
  padding: 0 20px;
}

.footer-column {
  display: flex;
  flex-direction: column; /* Stack the content vertically */
  gap: 10px; /* Add spacing between the elements inside each column */
}

.footer-column h3 {
  font-size: 20px;
  color: #ecf0f1;
}

.footer-column a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ecf0f1;
}

.footer-column p {
  color: #bdc3c7;
}

.map-container {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

/* Contact Link Underline Effect */
.contact-link {
  color: inherit; /* Inherit text color */
  text-decoration: none; /* Remove underline by default */
  transition: all 0.3s ease; /* Smooth transition for color and underline */
  position: relative; /* Position relative for the pseudo-element */
}

/* Contact Link Underline Effect */
.contact-link {
  color: inherit; /* Inherit text color */
  text-decoration: none; /* Remove underline by default */
  transition: all 0.3s ease; /* Smooth transition for color and underline */
  position: relative; /* Position relative for the pseudo-element */
}

/* Underline effect on hover */
.contact-link::after {
  content: ""; /* Create an empty content */
  display: block; /* Make it a block element */
  width: 0; /* Start with no underline */
  height: 2px; /* Set the height of the underline */
  background: var(
    --accent,
    #3498db
  ); /* Use the accent color or default to blue */
  transition: width 0.3s ease; /* Animate the width of the underline */
  position: absolute; /* Position the underline below the text */
  bottom: -2px; /* Place it just below the text */
  left: 0; /* Align it to the left */
}

/* On hover, set different lengths for the underline */
.contact-link:hover::after {
  width: 100%; /* Full width underline on hover */
}

/* Specific length for telephone on hover */
.contact-link.phone:hover::after {
  width: 75%; /* Adjust width to fit half of the link (shorter for phone number) */
}

/* Specific length for email on hover */
.contact-link.email:hover::after {
  width: 101%; /* Full width underline for email */
}

/* Hover effect for the contact link */
.contact-link:hover {
  color: var(--accent, #3498db); /* Change text color on hover */
}

/* Media Queries */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* Stack columns vertically on small screens */
    gap: 20px; /* Adjust gap when stacked */
  }

  .carousel {
    max-width: 100%;
  }

  .carousel-inner {
    height: 350px;
  }
}

.celebration-info {
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.celebration-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2c3e50;
  text-align: center;
}

.celebration-info p {
  margin-top: -10px;
  margin-bottom: 20px;
  text-align: center;
}

.celebration-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.celebration-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #555;
  transition: transform 0.3s ease;
  text-align: center;
  flex: 1 0 21%;
  max-width: 23%;
}

.celebration-feature i {
  font-size: 32px;
  color: #3498db;
  transition: color 0.3s ease, transform 0.3s ease;
}

.celebration-feature span {
  font-size: 16px;
  padding: 0 10px;
}

/* Hover effects */
.celebration-feature:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.celebration-feature:hover i {
  transform: scale(1.2);
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
  .celebration-feature {
    flex: 1 0 45%;
    max-width: 45%;
  }
}

@media (max-width: 480px) {
  .celebration-feature {
    flex: 1 0 100%;
    max-width: 100%;
  }

  .celebration-feature span {
    font-size: 14px;
  }
}

a {
  text-decoration: none;
}

@keyframes pulsing {
  to {
    box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
  }
}

.contact_icon {
  background-color: #42db87;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 30px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translatey(0px);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 #42db87;
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  font-weight: normal;
  font-family: sans-serif;
  text-decoration: none !important;
  transition: all 300ms ease-in-out;
}

.text_icon {
  margin-top: 8px;
  color: #707070;
  font-size: 13px;
}

.floating_btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_icon i {
  font-size: 28px;
}

.text_icon {
  display: none; /* Optional: hide text on mobile */
}

.gallery-section {
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
}

.gallery-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(260px, 1fr)
  ); /* Increased from 220px to 250px */
  gap: 16px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.gallery-item img:hover {
  transform: scale(1.05); /* Slightly increased scale for hover effect */
}

/* Overlay style */
/* Overlay Style */
.overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.overlay-content {
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

#overlay-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  margin: auto;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.close-btn,
.nav-arrow {
  position: absolute;
  color: white;
  font-size: 30px;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.close-btn {
  top: 10px;
  right: 20px;
}

.nav-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}
