#cookie-admin-container,
.cookie-admin-banner,
.cookie-admin-popup {
    display: none !important;
}


@media (max-width: 768px) {
    #metaslider-180, 
    #metaslider-180 .metaslider, 
    #metaslider-180 .slides, 
    #metaslider-180 img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

.hero-section {
  position: relative;
  height: 100vh;
  background-image: url('http://emansahrawedding.online/wp-content/uploads/2025/09/REY_3727-scaled.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay */
  z-index: 1;
}

/* Content above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  animation: fadeUp 1s ease-out;
  padding: 0 20px; /* padding for small screens */
}

/* Title */
.hero-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Scroll Icon */
.hero-scroll {
  font-size: 2rem;
  color: #fff;
  animation: bounceDown 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem; /* smaller title on mobile */
  }
  .hero-subtitle {
    font-size: 1rem; /* smaller subtitle */
  }
  .hero-section {
    background-position: center top; /* adjust image focus on mobile */
  }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
  0%,20%,50%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

.bride-groom-section {
  background-color: #fffaf9;
}
.section-title {
  font-size: 2.5rem;
  color: #c79a7b;
}
.profile-card {
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.profile-card:hover {
  transform: translateY(-5px);
}
.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 5px solid #e7cfc1;
}
.profile-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}
.profile-role {
  color: #b48b7c;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.profile-desc {
  font-size: 1rem;
  color: #555;
}
.animate-fade {
  animation: fadeInUp 1.2s ease both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wedding-details-section {
  background-color: #fdf9f7;
}
.detail-card {
  padding: 30px 20px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.detail-card:hover {
  transform: translateY(-5px);
}
.detail-icon {
  font-size: 2.5rem;
  color: #c79a7b;
  margin-bottom: 1rem;
}
.detail-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4b3832;
}
.detail-text {
  font-size: 1rem;
  color: #666;
}

.wedding-border-box {
  border: 8px double #e0bfb8; /* romantic light rose-gold tone */
  border-radius: 30px;
  padding: 20px;
  background: #fffaf9;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Optional floral corners with emojis or images */
.wedding-border-box::before,
.wedding-border-box::after {
  content: "💐";
  position: absolute;
  font-size: 24px;
  color: #c89f9c;
}
.wedding-border-box::before {
  top: -10px;
  left: -10px;
}
.wedding-border-box::after {
  bottom: -10px;
  right: -10px;
}

/* Existing map/qr styles */
.map-container {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border: 2px solid #ccc;
  border-radius: 15px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.qr-container {
  display: inline-block;
  padding: 15px;
  border: 2px solid #ccc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-image {
  width: 200px;
  height: 200px;
}

.wedding-border-box h5 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.75rem;
  color: #b87d7b;
}

.countdown-section {
  background: #fff7f2;
}

.count-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.count-box span {
  font-size: 2rem;
  color: #c79a7b;
  font-weight: bold;
  display: block;
}

.count-box small {
  font-size: 0.85rem;
  color: #555;
}

.love-story-section {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa; /* Light background as in original HTML */
    color: #333; /* Revert text color for light background */
    box-shadow: none; /* Remove any overlay */
}

.section-title {
    font-family: 'Playfair Display', serif; /* A classic, elegant font */
    color: #333; /* Revert to dark color */
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e799a4; /* A soft, romantic pink */
    border-radius: 5px;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
}

/* The actual timeline (vertical line) */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e7e7e7; /* Revert to light grey line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 0;
}

/* Individual timeline items */
.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above the line */
}

/* Containers on the left side */
.timeline-item.left {
    left: 0;
    padding-right: 60px; /* Space for the circle and line */
}

/* Containers on the right side */
.timeline-item.right {
    left: 50%;
    padding-left: 60px; /* Space for the circle and line */
}

/* The circle marker for each timeline item */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #e799a4; /* Matching pink for the circles */
    border: 4px solid #fff; /* White border for pop */
    top: 30px; /* Adjust vertical position */
    border-radius: 50%;
    z-index: 2; /* Bring circle to front */
    box-shadow: 0 0 0 3px rgba(231, 153, 164, 0.4); /* Soft glow */
}

/* Place the circle to the left of the right-aligned items */
.timeline-item.right::after {
    left: -12.5px; /* Half of width to center on line */
}

/* Place the circle to the right of the left-aligned items */
.timeline-item.left::after {
    right: -12.5px; /* Half of width to center on line */
}

/* Content box styles */
.timeline-item .content {
    padding: 25px 30px;
    background-color: #fff; /* Revert to solid white */
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Revert to lighter shadow */
    transition: all 0.3s ease;
}

.timeline-item .content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* NEW: Styles for images within timeline content boxes */
.timeline-img {
    max-width: 100%; /* Ensure image doesn't overflow its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 6px; /* Slightly rounded corners for the images */
    margin-bottom: 15px; /* Space between image and text */
    display: block; /* Ensures margin-bottom works consistently */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}


.timeline-item .content h4 {
    font-family: 'Montserrat', sans-serif; /* A clean, modern sans-serif */
    color: #555; /* Revert to dark color */
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-item .content .date {
    font-family: 'Roboto', sans-serif;
    color: #e799a4;
    font-size: 1rem;
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-item .content p {
    font-family: 'Open Sans', sans-serif;
    color: #777; /* Revert to dark color */
    font-size: 1rem;
    line-height: 1.6;
}

/* Arrows for the content boxes */
.timeline-item.left .content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px;
    width: 0;
    z-index: 1;
    right: -20px; /* Position next to the box */
    border: medium solid white; /* Revert to solid white */
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-item.right .content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px;
    width: 0;
    z-index: 1;
    left: -20px; /* Position next to the box */
    border: medium solid white; /* Revert to solid white */
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}


/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 30px; /* Move timeline line to the left */
        margin-left: 0; /* Remove margin */
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px; /* All items become left-aligned visually */
        padding-right: 15px;
    }

    .timeline-item.right {
        left: 0%; /* Reset right items to left */
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 17.5px; /* Center circle on the new line position */
        right: auto; /* Reset right property */
    }

    .timeline-item.left .content::before,
    .timeline-item.right .content::before {
        left: 40px; /* Adjust arrow position for mobile */
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

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

@media screen and (max-width: 480px) {
    .timeline-item .content {
        padding: 20px;
    }

    .timeline-item .content h4 {
        font-size: 1.4rem;
    }

    .timeline-item .content p {
        font-size: 0.9rem;
    }

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

.gallery-section {
  background-color: #fdf9f8;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.03);
}

.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

.schedule-section {
  background-color: #fff7f5;
}

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid #f2c7c0;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-time {
  font-weight: bold;
  color: #c17b7b;
  position: absolute;
  left: -80px;
  top: 5px;
  width: 70px;
  text-align: right;
}

.timeline-content {
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
}
