/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent; /* Make background transparent */
    backdrop-filter: none; /* Remove blur effect */
    height: 48px;
}

/* Logo Styling */
.logo {
    height: 41.18px; /* Increased by 20% from 34.32px */
    width: auto;
    display: block;
    filter: brightness(0.8) contrast(1.2); /* Attempt to make it bolder */
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 1001; /* Ensure it's above other elements */
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-menu span {
    width: 20px;
    height: 2px;
    background: black; /* Changed from white to black */
    transition: all 0.3s ease;
    border-radius: 1px;
    display: block; /* Ensure spans are displayed as blocks */
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    margin-top: 0;
    padding-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.0); /* Reduced scaling to show full image */
    transition: transform 0.1s ease-out;
}

/* Desktop-specific hero image adjustments */
@media (min-width: 769px) {
    .hero-image {
        object-fit: cover;
        object-position: center center;
        transform: scale(1.0); /* No scaling on desktop to show full image */
    }
}

/* Mobile hero image - keep some scaling for better mobile experience */
@media (max-width: 768px) {
    .hero-image {
        transform: scale(1.1);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInFromLeft 1.2s ease-out;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInFromRight 1.2s ease-out;
}

.save-date {
    margin-bottom: 60px;
    font-size: clamp(1.3rem, 3.25vw, 2rem); /* Increased from 1.05rem to 1.3rem (about 25% bigger) */
    animation: fadeIn 2s ease-out;
}

.crossed-out {
    text-decoration: line-through;
    color: white;
    margin-right: 10px;
}

.new-text {
    font-weight: 500;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 2.5s ease-out;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: #FAF3EB; /* Soft sandy-cream */
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #e8b4b8;
    margin: 0 auto 40px;
}

.story-text {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 40px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8b4b8;
}

.story-button {
    display: inline-block;
    background: #e8b4b8; /* Pinkish */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid #000; /* Fine black border */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.story-button:hover {
    background: #d4a0a4;
    transform: translateY(-3px);
}

/* Our Moments Section */
.moments-section {
    padding: 100px 0;
    background: #FDEFE4; /* Gradient terracotta */
    text-align: center;
}

.moments-section .section-title {
    color: black;
    margin-bottom: 80px;
}

/* 3D Photo Carousel */
.photo-gallery {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    margin-bottom: 80px;
    padding-bottom: 60px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.carousel-slide {
    position: absolute;
    width: 400px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide positions for 3D effect */
.carousel-slide.active {
    transform: translateX(0) translateZ(0) scale(1);
    z-index: 3;
    opacity: 1;
}

.carousel-slide.prev {
    transform: translateX(-200px) translateZ(-100px) scale(0.8);
    z-index: 2;
    opacity: 1;
}

.carousel-slide.next {
    transform: translateX(200px) translateZ(-100px) scale(0.8);
    z-index: 2;
    opacity: 1;
}

.carousel-slide.hidden {
    transform: translateX(0) translateZ(-200px) scale(0.6);
    z-index: 1;
    opacity: 1;
}

/* Navigation Dots - Positioned at bottom */
.carousel-dots {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3); /* Changed to black with opacity */
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: black; /* Changed to black */
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(0, 0, 0, 0.6); /* Changed to black with opacity */
}



.event-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.event-date,
.event-time,
.event-location {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 5px;
}
.direction-btn {
    display: inline-block;
    /* Liquid glass effect */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid #000; /* Fine black border */
    transition: all 0.3s ease;
}

.direction-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* First Dance Song Secret Section */
.dance-song-section {
    padding: 100px 0;
    background: #FDEFE4; /* Gradient terracotta */
    text-align: center;
}

.dance-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dance-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.dance-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.dance-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.dance-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.dance-instruction {
    font-size: 1rem;
    color: #999;
}

/* Pre-Wedding Shoot Section */
.prewedding-section {
    padding: 100px 0;
    background: #FAF3EB; /* Soft sandy-cream */
    text-align: center;
}

.prewedding-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: #ccc; /* Placeholder background */
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.loading-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.loading-dots span {
    width: 15px;
    height: 15px;
    background: #e8b4b8;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.loading-text {
    font-size: 1.5rem;
    color: #666;
}

.prewedding-caption {
    font-size: 1rem;
    color: #999;
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 0;
    background: #FDEFE4; /* Gradient terracotta */
    text-align: center;
}

.rsvp-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.rsvp-button {
    display: inline-block;
    background: #e8b4b8; /* Pinkish */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid #000; /* Fine black border */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.rsvp-button:hover {
    background: #d4a0a4;
    transform: translateY(-3px);
}

.rsvp-button-text {
    position: relative;
    z-index: 1;
}

.rsvp-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2); /* Light ripple effect */
    border-radius: 50%;
    transition: width 0.4s ease-out, height 0.4s ease-out, top 0.4s ease-out, left 0.4s ease-out;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.rsvp-button:active::before {
    width: 200%;
    height: 200%;
    top: 0;
    left: 0;
    border-radius: 0; /* Make it fill the button */
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    backdrop-filter: blur(5px); /* Blur effect */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideInFromTop 0.4s ease-out;
    height: 80vh; /* Adjust height for iframe */
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
}

.modal-body {
    flex-grow: 1; /* Allow body to take remaining space */
    overflow: hidden; /* Hide overflow from iframe */
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #FDF8F3; /* Light cream */
    text-align: center;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
}

.faq-question {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #e8b4b8;
    transition: transform 0.3s ease;
}

/* FAQ Modal Styles */
.faq-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.faq-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.faq-modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-right: 30px;
}

.faq-modal-answer {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.faq-modal-answer p {
    margin-bottom: 15px;
}

.faq-modal-answer p:last-child {
    margin-bottom: 0;
}

.faq-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    border: 1px solid #000; /* Fine black border */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: color 0.3s ease;
}

.faq-close-button:hover {
    color: #333;
}

/* Important Details Section */
.important-details-section {
    padding: 100px 0;
    background: #FDEFE4; /* Gradient terracotta */
    text-align: center;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-person {
    text-align: center;
}

.contact-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.contact-phone {
    font-size: 1.2rem;
    color: #666;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 10px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .save-date {
        font-size: 1.5rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .story-section,
    .moments-section,
    .events-section,
    .dance-song-section,
    .prewedding-section,
    .rsvp-section,
    .faq-section,
    .important-details-section {
        padding: 60px 0;
    }

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

    .story-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .photo-gallery {
        height: 400px;
    }

    .carousel-slide {
        width: 300px;
        height: 225px;
    }

    .carousel-slide.prev {
        transform: translateX(-150px) translateZ(-75px) scale(0.8);
    }

    .carousel-slide.next {
        transform: translateX(150px) translateZ(-75px) scale(0.8);
    }

    .event-card {
        height: 350px;
    }

    .event-title {
        font-size: 2rem;
    }

    .event-date,
    .event-time,
    .event-location {
        font-size: 1.1rem;
    }

    .direction-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .dance-card {
        padding: 30px;
    }

    .dance-emoji {
        font-size: 2.5rem;
    }

    .dance-title {
        font-size: 2rem;
    }

    .dance-subtitle {
        font-size: 1.1rem;
    }

    .dance-text {
        font-size: 1rem;
    }

    .video-placeholder {
        height: 300px;
    }

    .loading-text {
        font-size: 1.2rem;
    }

    .rsvp-subtitle {
        font-size: 1.1rem;
    }

    .rsvp-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
        height: 90vh;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .close {
        font-size: 24px;
    }

    .faq-subtitle {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 1.3rem;
    }

    .faq-answer {
        font-size: 1rem;
    }

    .contact-card {
        padding: 30px;
    }

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

    .contact-name {
        font-size: 1.3rem;
    }

    .contact-phone {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px;
    }

    .logo {
        height: 22px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .save-date {
        font-size: 1.2rem;
    }

    .countdown {
        gap: 20px;
        margin-top: 30vh; /* Move countdown timer 30% down on mobile within hero section */
    }

    .countdown-item {
        min-width: 50px;
    }

    .countdown-number {
        font-size: 2rem;
    }

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

    .story-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .photo-gallery {
        height: 300px;
    }

    .carousel-slide {
        width: 250px;
        height: 187.5px;
    }

    .carousel-slide.prev {
        transform: translateX(-125px) translateZ(-60px) scale(0.8);
    }

    .carousel-slide.next {
        transform: translateX(125px) translateZ(-60px) scale(0.8);
    }

    .event-card {
        height: 300px;
    }

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

    .event-date,
    .event-time,
    .event-location {
        font-size: 1rem;
    }

    .direction-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .dance-card {
        padding: 20px;
    }

    .dance-emoji {
        font-size: 2rem;
    }

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

    .dance-subtitle {
        font-size: 1rem;
    }

    .video-placeholder {
        height: 200px;
    }

    .loading-text {
        font-size: 1rem;
    }

    .rsvp-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .modal-content {
        margin: 2% auto;
        width: 98%;
        height: 96vh;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .close {
        font-size: 20px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .contact-section-title {
        font-size: 1.5rem;
    }

    .contact-name {
        font-size: 1.1rem;
    }

    .contact-phone {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional styles for the hamburger menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Dark overlay */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000; /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.4s ease-in-out;
}

.nav-menu.open {
    transform: translateX(0); /* Slide in */
}

.nav-content {
    text-align: center;
}

.nav-content a {
    display: block;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    padding: 15px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-content a:hover {
    color: #e8b4b8; /* Pinkish hover */
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.close-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.close-menu span:first-child {
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

/* Ensure hamburger button is visible on mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex; /* Show hamburger on mobile */
    }
}

@media (min-width: 769px) {
    .hamburger-menu {
        display: flex; /* Show hamburger on desktop */
    }
    
    /* Keep the full-screen overlay for desktop hamburger menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-content {
        text-align: center;
    }
    
    .nav-content a {
        display: block;
        color: white;
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        padding: 15px 0;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .nav-content a:hover {
        color: #e8b4b8;
    }
    
    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 10001;
    }
}

/* RSVP Popup Mobile Adjustments */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 2.5% auto; /* Adjust margin for smaller screens */
        height: 95vh; /* Take up more vertical space */
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .close {
        font-size: 22px;
    }
}

/* Footer height adjustment */
.footer {
    padding: 15px 0; /* Reduced padding for shorter height */
}

/* Pre-Wedding Shoot 



/* Events Section */
.events-section {
    padding: 100px 0;
    background: #FAF3EB; /* Soft sandy-cream */
    text-align: center;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Light black sheer layer */
    z-index: 1;
}

/* Specific event card background images */
.event-card:nth-child(1) {
    background-image: url("event_1.PNG");
}

.event-card:nth-child(2) {
    background-image: url("event_2.PNG");
}

.event-card:nth-child(3) {
    background-image: url("event_3.PNG");
}

.event-card:nth-child(4) {
    background-image: url("event_4.PNG");
}

.event-card:nth-child(5) {
    background-image: url("event_5.PNG");
}






/* Add light black overlay to hero section */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* Very light black overlay (15% opacity) */
    z-index: 0; /* Above the background image but below the content */
}



/* RSVP Section */
.rsvp-section {
    padding: 100px 0;
    background: #FDF8F3;
    text-align: center;
}

.rsvp-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.rsvp-button {
    background-color: #e8b4b8;
    color: white;
    padding: 15px 30px;
    border: 1px solid #000; /* Fine black border */
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rsvp-button:hover {
    background-color: #d1a0a4;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    height: 90%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    position: relative;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1001;
    border: 1px solid #000; /* Fine black border */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Hide Made with Manus button in storybook iframe */
#storybookModal iframe {
    position: relative;
}

/* Add overlay to cover the bottom right corner where the button appears */
#storybookModal .modal-body {
    position: relative;
    overflow: hidden;
}

#storybookModal .modal-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 100px;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    pointer-events: none;
    border-radius: 15px 0 0 15px;
    box-shadow: -5px -5px 15px rgba(0, 0, 0, 0.1);
}

/* Alternative approach for different screen sizes */
@media (max-width: 768px) {
    #storybookModal .modal-body::after {
        width: 200px;
        height: 80px;
    }
}

/* Hide any element that might contain 'Made with Manus' text */
iframe[src*="kmwooubb.manus.space"] {
    position: relative;
}


/* Event buttons container */
.event-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Schedule button with same liquid glass style as direction button */
.schedule-btn {
    display: inline-block;
    /* Liquid glass effect */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #000; /* Fine black border */
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.schedule-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* Schedule modal styling */
.schedule-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
}

.schedule-message h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 300;
}

.schedule-message p {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Responsive adjustments for event buttons */
@media (max-width: 768px) {
    .event-buttons {
        gap: 10px;
    }
    
    .schedule-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .schedule-message h2 {
        font-size: 2rem;
    }
    
    .schedule-message p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .event-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .schedule-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .schedule-message h2 {
        font-size: 1.5rem;
    }
}

