body{
    margin:0;
    font-family:Arial, sans-serif;
}

.hero {

    min-height:100vh;

    display:flex;

}


/* Left image */

/* .photo-side {

    width: 50%;

} */

.photo-side {

    width: 50%;

    min-height: 100vh;

    background-image: url("../images/couple1.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}

.side-menu {

    position: fixed;

    top: 25px;

    left: 25px;

    z-index: 1000;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}

.menu-toggle {
    border: none;
    border-radius: 999px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    margin-bottom: 10px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #444;
    border-radius: 2px;
}

.menu-items {

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 8px 20px rgba(0,0,0,.15);

}

.menu-items a {

    display: block;

    padding: 14px 25px;

    text-decoration: none;

    color: #444;

    font-size: 17px;

    transition: all 0.3s ease;

}

.menu-items a:hover {

    background: rgba(255, 255, 255, 0.25);

    color: #010101;

}

.menu-toggle {
    display: inline-flex;
}

.menu-items {
    display: none;
    flex-direction: column;
}

.menu-items.active {
    display: flex;
}

@media (min-width: 769px) {
    .menu-items {
        display: none;
    }

    .menu-items.active {
        display: flex;
    }
}


/* Story Popup */

.modal{

    display:none;

    position:fixed;

    z-index:2000;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,0.6);

}


/* .modal-content{

    background:#fffdfb;

    width:70%;

    max-width:700px;

    margin:8% auto;

    padding:40px;

    border-radius:20px;

    text-align:center;

    position:relative;

    box-shadow:0 15px 40px rgba(0,0,0,.3);

} */


.modal-content{

    background: rgba(255,255,255,0.96);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    width: 70%;

    max-width: 650px;

    border-radius: 30px;

    padding: 40px;

    margin: 10% auto;

    position: relative;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0,0,0,.25);

    animation: popupFade .4s ease;

    max-height: 85vh;

    overflow-y: auto;

}

@keyframes popupFade{

    from{

        opacity:0;

        transform:translateY(30px) scale(.95);

    }

    to{

        opacity:1;

        transform:translateY(0) scale(1);

    }

}

.modal-content h2{

    font-family:'Playfair Display', serif;

    font-size:48px;

    font-weight:400;

    color:#000000;

    margin-bottom:10px;

}


.modal-content p{

    font-size:20px;

      font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;


    line-height:1.8;

    color:#555;

}


.close{

    position:absolute;

    right:25px;

    top:15px;

    font-size:35px;

    cursor:pointer;

}

.couple-photo {

    width: 100%;

    height: 100%;

    min-height: 100vh;

    object-fit: cover;

    object-position: center;

    display: block;

}





.details-side {

    width: 50%;

    background: #fcfaf7;

    display: flex;

    flex-direction: column;

    /* justify-content: center; */
    justify-content: flex-start;

    align-items: center;

    text-align: center;

    padding: 40px;

    box-sizing: border-box;

    

}


.leaf-top,
.leaf-bottom {

    width: 500px;

    max-width: 90%;

    height: auto;

    display: block;

    margin: 30px auto;

}

.leaf-top{

    margin-bottom:40px;

}

.leaf-bottom{

    margin-top:40px;

}

.details-side h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 70px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #333;
    margin: 0;
}


.ampersand {

    font-family:'Playfair Display', serif;

    font-size:40px;

    font-style:italic;

    margin:10px;

}


.tagline {

    font-family:'Playfair Display', serif;

    font-style:italic;

    font-size:22px;

    color:#777;

}

h1{

    font-size:60px;

    color:#c2185b;

    margin-bottom:10px;

}

h2{

    font-weight:normal;

    color:#555;

}

p{

    font-size:24px;

}

button{

    margin-top:25px;

    padding:15px 35px;

    border:none;

    border-radius:30px;

    background:#c2185b;

    color:white;

    font-size:18px;

    cursor:pointer;

}
/* Our Story Section */

.story {

    padding: 80px 20px;

    text-align: center;

    background-color: #fff8f5;

}


.story p {

    max-width: 700px;

    margin: 0 auto;

    font-size: 22px;

    line-height: 1.8;

    color: #555;

}


html {
    scroll-behavior: smooth;
}

.couple-photo {
    width: 50vw;
    height: 100vh;
    object-fit: cover;
    border-radius: 0;
    border: none;
}

/* Event Details */

.events {

    display: flex;

    justify-content: center;

    gap: 40px;

    margin-top: 30px;

}


.event-card p {

    font-family: 'Playfair Display', serif;
  font-size: 25px;
  
  /* Fix: Use font-weight for boldness, not font-style */
  font-weight: bold; 
  
  /* Critical for Playfair Display numbers */
  font-variant-numeric: lining-nums;

  color:#555;

}


/* Countdown */

.events,
.countdowns {
    display: flex;
    justify-content: center;
    gap: 60px;
}


.event-card,
.countdown {
    width: 280px;
    text-align: center;
}


.event-card h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 45px;
    font-weight: normal;
    color: #b76e79;
    margin-bottom: 5px;
}


.event-card p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: #555;
    margin-top: 0;
}


.countdowns {
    margin-top: 15px;
}


.countdown {
    font-family: 'Playfair Display', serif;
    color: #8b5e65;
    display: flex;
    justify-content: center;
    gap: 12px;
}


.countdown span {
    font-size: 32px;
    font-weight: bold;
}


.countdown small {
    font-size: 14px;
    margin-top: 14px;
    margin-right: 5px;
    color: #777;
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-grid > div {
    min-width: 160px;
}

.contact-grid a {
    display: block;
    margin-top: 0.25rem;
    color: inherit;
    text-decoration: none;
}

#venueModal .modal-content h2 {
    font-size: 3rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #b40303;
}

.modal-content {
    width: 90%;
    max-width: 760px;
}

.venue-grid {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.venue-grid > div {
    flex: 1 1 280px;
}

.venue-label {
    /* font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.75rem; */

    font-family: 'Great Vibes', cursive;
    font-size: 45px;
    font-weight: normal;
    color: #b76e79;
    margin-bottom: 5px;
}

.venue-subtitle {
    margin: 1rem 0 0.25rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
}

.venue-grid p {
    margin: 0.25rem 0;
    line-height: 1.6;
}

/* Contact Modal Styles */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border: 2px solid #e8d5c4;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #d4a574;
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #8b6f47;
    margin: 15px 0;
    font-size: 18px;
}

.contact-link {
    display: inline-block;
    color: #d4a574;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #8b6f47;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1.5px solid #e8d5c4;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4a574;
    background-color: #fffaf5;
}

.submit-btn {
    background: linear-gradient(135deg, #d4a574 0%, #c9944d 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.modal-quote {
    text-align: center;
    color: #8b6f47;
    font-style: italic;
    margin-bottom: 20px;
}

/* About Us Modal Styles */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.about-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    border: 5px solid #c2185b;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.2);
}

.about-photo:hover {
    transform: scale(1.08);
    border-color: #e91e63;
    box-shadow: 0 12px 35px rgba(194, 24, 91, 0.35);
}

.about-details {
    padding: 30px;
    background: linear-gradient(135deg, #fff0f6 0%, #fffaf5 100%);
    border-radius: 15px;
    border: 3px solid #c2185b;
}

.about-details h3 {
    color: #c2185b;
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
}

.about-details p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* Even smaller modal for About Us */
#aboutModal .modal-content {
    max-width: 450px;
    padding: 25px;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    animation: none;
}

/* Reduce About Us container spacing */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

/* Reduce About Us photo size */
.about-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid #c2185b;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(194, 24, 91, 0.2);
}

/* Reduce About Us details padding */
.about-details {
    padding: 20px;
    background: linear-gradient(135deg, #fff0f6 0%, #fffaf5 100%);
    border-radius: 12px;
    border: 2px solid #c2185b;
}

.about-details h3 {
    color: #c2185b;
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
}

.about-details p {
    color: #555;
    line-height: 1.6;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-photo {
        width: 200px;
        height: 200px;
    }
}


@media (max-width: 768px) {

    .hero {
        flex-direction: column;
    }

    .photo-side,
    .details-side {
        width: 100%;
    }

    .events {
        flex-direction: column;
        gap: 20px;
    }

    .countdowns {
        flex-direction: column;
        gap: 20px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-details {
        text-align: center;
    }

    .modal {
        padding: 12px;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .modal-content {
        width: calc(100vw - 24px);
        max-width: 650px;
        margin: 0 auto;
        padding: 20px 16px;
        border-radius: 20px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    #aboutModal .modal-content {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 20px 16px;
    }

    .modal-content h2 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .modal-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .close {
        right: 14px;
        top: 10px;
        font-size: 28px;
    }

    .venue-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .venue-grid > div {
        flex: 1 1 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-card {
        padding: 18px;
    }

    .contact-card h3 {
        font-size: 16px;
    }

}


/* Gallery Section */
.gallery-section {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #fff9f5 0%, #fffaf5 100%);
}

.gallery-section h2 {
    color: #8b6f47;
    font-size: 32px;
    margin-bottom: 40px;
    font-family: 'Great Vibes', cursive;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #d4a574;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(212, 165, 116, 0.8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 165, 116, 1);
}