/* =================================
   WEDDING PAGE - GENERAL STYLES
   ================================= */
body {
  /* Overriding main background for this page */
  background-color: #fdf6e3;
}

.font-playfair {
  font-family: "Playfair Display", serif;
}

.wedding-section {
  padding: 6rem 0;
}

.wedding-section .section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.wedding-section .section-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #555;
}

.text-center {
  text-align: center;
}

/* Light and Dark Theme Helpers */
.bg-light {
  background-color: #fdf6e3; /* Light Cream */
}

.bg-dark {
  background-color: #2d2a26; /* Dark Charcoal */
}

.bg-dark .section-title {
  color: #fff;
}

/* =================================
   WEDDING HERO SECTION
   ================================= */
.hero-wedding {
  height: 100vh; /* FIXED: Changed from 90vh to 100vh to fill the screen */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

/* This rule is now updated to target the video element */
.hero-image-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes the video cover the area without distortion */
  display: block; /* This is the fix that removes the space below the video */
}

.hero-wedding::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-wedding .hero-content h1 {
  font-size: 5rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-wedding .hero-content p {
  font-size: 1.5rem;
  margin-top: 1rem;
}
/* =================================
   WEDDING PHILOSOPHY SECTION
   ================================= */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-item {
  text-align: center;
}

.philosophy-icon {
  margin-bottom: 1.5rem;
}

.philosophy-icon i {
  font-size: 3rem;
  color: #b98d4b; /* Using the gold accent color from the new theme */
}

.philosophy-item h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.philosophy-item p {
  color: #555;
  line-height: 1.7;
}
/* =================================
   FEATURED WEDDINGS SECTION
   ================================= */
.featured-weddings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .featured-weddings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-wedding-card {
  background: #fff; /* Light background for the card itself */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-wedding-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image-top {
  height: 250px;
}

.card-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100px;
}

.card-image-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  padding: 1.5rem;
  text-align: left;
}

.card-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: var(--color-text-dark); /* Dark text for light card */
  margin-bottom: 0.5rem;
}

.card-info p {
  color: #777;
  font-size: 0.9rem;
}

.card-info i {
  margin-right: 0.5rem;
  color: var(--color-primary);
}

/* =================================
   OUR SERVICES SECTION
   ================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.service-item i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.service-item h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* =================================
   GALLERY SECTION
   ================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

@media (min-width: 768px) {
  .gallery-item.tall {
    grid-row: span 2;
    grid-column: span 2;
  }
}

/* =================================
   WEDDING TESTIMONIAL SECTION
   ================================= */
.wedding-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wedding-testimonial blockquote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 2rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 1.5rem;
}

.wedding-testimonial cite {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--color-primary);
}
