/*fonts*/

/* @import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
/*default style*/

body {
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
    background-color: #f3f2f1;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

*:not(i) {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

:before,
:after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.container {
    max-width: 1140px;
    margin: auto;
}

header,
section,
footer {
    display: block;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 45px;
    color: #000000;
    font-weight: 700;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 2px;
    margin: 0;
    text-transform: capitalize;
}

.btn-1 {
    padding: 10px 35px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    transition: all 0.5s ease;
    font-weight: 500;
}

.btn-1:focus {
    outline: none;
}

.btn-1:hover {
    background-color: transparent;
}

/* Preloader */

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #111111;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader .loader {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preloader .loader:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: loaderSpin 2s linear infinite;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader .loader i {
    font-size: 20px;
    animation: loader 2s linear infinite;
}

@keyframes loader {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.7);
    }
}

/* header */

.header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.header.fixed {
    background-color: #ffffff;
    box-shadow: 0 0 8px#cccccc;
}

.header .logo {
    padding: 0 15px;
}

.header .logo a {
    font-size: 30px;
    color: #ffffff;
    font-weight: bold;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s ease;
}

.header.fixed .logo a {
    color: #000000;
}

.header .hamburger-btn {
    display: inline-block;
    height: 34px;
    width: 40px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    display: none;
}

.header.fixed .hamburger-btn {
    border-color: #000000;
    background-color: #000000;
}

.header .hamburger-btn span {
    display: block;
    height: 1px;
    width: 16px;
    background-color: #ffffff;
    position: relative;
    transition: all 0.5s ease;
}

.header .hamburger-btn span:before,
.header .hamburger-btn span:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;
    background-color: #ffffff;
    transition: all 0.5s ease;
}

.header .hamburger-btn span:before {
    top: -6px;
}

.header .hamburger-btn span:after {
    top: 6px;
}

.header .nav {
    padding: 0 15px;
}

.header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .nav ul li {
    display: inline-block;
    margin-left: 30px;
}

.header .nav ul li a {
    display: block;
    padding: 25px 0;
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.5s ease;
}

.header.fixed .nav ul li a {
    color: #555555;
}

/* home section */

.home-section {
    min-height: 100vh;
    position: relative;
}

.home-section .slide {
    background-position: center;
    background-size: cover;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
}

.home-section .slide.active {
    opacity: 1;
    visibility: visible;
}

.home-section .slide:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.home-section .row {
    min-height: 100vh;
}

.home-section .home-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
}

.home-section .home-content p {
    font-size: 22px;
    color: #ffffff;
    margin: 0 0 15px;
}

.home-section .slide.active .home-content p {
    opacity: 0;
    animation: fadeInTop 1s ease forwards;
}

@keyframes fadeInTop {
    0% {
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.home-section .home-content h1 {
    font-size: 4rem;
    color: #ffffff;
    margin: 0;
    font-weight: normal;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.home-section .slide.active .home-content h1 {
    opacity: 0;
    animation: fadeInTop 1s ease forwards;
    animation-delay: 0.5s;
}

.home-section .home-content span {
    font-size: 20px;
    display: inline-block;
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    padding: 7px 30px;
    margin: 15px 0 0;
}

.home-section .slide.active .home-content span {
    opacity: 0;
    animation: fadeInTop 1s ease forwards;
    animation-delay: 1s;
}

/* Couple Section */

.couple-section {
    padding: 80px 0 0;
}

.couple-section .couple {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 60px;
    text-align: center;
    position: relative;
}

.couple-section .couple:nth-child(2):before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #cccccc;
}

.couple-section .couple i.fa-heart {
    position: absolute;
    left: -15px;
    width: 31px;
    background-color: #f3f2f1;
    padding: 5px;
    text-align: center;
    font-size: 18px;
    top: 30%;
}

.couple-section .couple img {
    max-width: 280px;
    width: 100%;
    border-radius: 50%;
    border: 10px solid transparent;
}

.couple-section .couple h3 {
    font-size: 40px;
    margin: 15px 0;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    letter-spacing: 2px;
}

.couple-section .couple p {
    font-size: 16px;
    line-height: 26px;
    color: #555555;
    margin: 0;
}

.couple-section .social-links {
    padding-top: 30px;
}

.couple-section .social-links a {
    display: inline-block;
    margin: 0 3px;
}

.couple-section .social-links a i {
    height: 32px;
    width: 32px;
    border: 1px solid transparent;
    line-height: 30px;
    text-align: center;
    display: block;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.couple-section .social-links a:hover i {
    color: #f3f2f1;
}

/* Story Section */

.story-section {
    padding: 80px 0 80px;
}

.story-section .story-content {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
}

.story-section .story-content:before {
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    top: 0;
    background-color: #cccccc;
}

.story-section .story-item i {
    position: absolute;
    left: 50%;
    top: 5px;
    width: 31px;
    text-align: center;
    background-color: #f3f2f1;
    padding: 5px;
    margin-left: -15px;
    font-size: 18px;
}

.story-section .story-item {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 50px;
    position: relative;
}

.story-section .story-item:last-child {
    margin-bottom: 0px;
}

.story-section .story-item:nth-child(even) {
    flex-direction: row-reverse;
}

.story-section .story-item:nth-child(odd) .story-text {
    padding: 0 60px 0 15px;
    text-align: right;
}

.story-section .story-item:nth-child(odd) .story-img {
    padding: 0 15px 0 60px;
}

.story-section .story-item:nth-child(even) .story-text {
    padding: 0 15px 0 60px;
}

.story-section .story-item:nth-child(even) .story-img {
    padding: 0 60px 0 15px;
}

.story-section .story-text,
.story-section .story-img {
    flex: 0 0 50%;
    max-width: 50%;
}

.story-section .story-img img {
    width: 100%;
}

.story-section .story-text h3 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #000000;
    font-weight: 500;
    text-transform: capitalize;
}

.story-section .story-text span.date {
    font-size: 15px;
    font-weight: 700;
    color: #555555;
    margin: 0 0 15px;
    display: block;
    text-transform: capitalize;
}

.story-section .story-text p {
    font-size: 16px;
    line-height: 26px;
    margin: 0;
    color: #555555;
}

/* Event Section */

.event-section {
    padding: 80px 0 130px;
}

.event-section .section-title h2 {
    color: #ffffff;
}

.event-section .event-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
}

.event-section .event-item:nth-child(2) {
    transform: translateY(50px);
}

.event-section .event-item-inner {
    background-color: #ffffff;
    padding: 60px 45px 100px;
    text-align: center;
    box-shadow: 0 0 10px #888888;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.event-section .event-item-inner:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    right: 15px;
    bottom: 15px;
    border: 5px solid transparent;
    z-index: -1;
}

.event-section .event-item-inner h3 {
    color: #000000;
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 15px;
    text-transform: capitalize;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 5px;
    display: inline-block;
}

.event-section .event-item-inner span {
    display: block;
    font-weight: 500;
    font-size: 16px;
}

.event-section .event-item-inner span.time {
    margin-bottom: 15px;
}

.event.event-section .event-item-inner p {
    font-size: 16px;
    line-height: 26px;
    color: #555555;
    margin: 0;
}

.event-section .event-item-inner img {
    position: absolute;
    width: 40px;
    left: 50%;
    bottom: 18px;
    z-index: -1;
    margin-left: -20px;
}

/* people section */

.people-section {
    padding: 80px 0 0;
}

.people-section .people-filter {
    padding: 0 15px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.people-section .filter-btn {
    background-color: #dedede;
    color: #555555;
    padding: 7px 15px;
    display: inline-block;
    margin: 0 3px;
    margin-bottom: 10px;
    font-size: 16px;
    text-decoration: none;
}

.people-section .filter-btn.active {
    color: #ffffff;
}

.people-section .people-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
    margin-top: 25px;
    display: none;
}

.people-section .people-item-inner {
    background-color: #ffffff;
    padding: 15px;
    text-align: center;
}

.people-section .people-item-inner img {
    width: 100%;
    box-shadow: 0 0 10px #cccccc;
    margin-top: -40px;
    transition: all 0.5s ease;
}

.people-section .people-item-inner:hover img {
    transform: scale(0.95);
}

.people-section .people-item-inner h4 {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    margin: 20px 0 5px;
    text-transform: capitalize;
}

.people-section .people-item-inner p {
    color: #555555;
    font-size: 16px;
    margin: 0 0 10px;
    text-transform: capitalize;
}

.people-section .people-item-inner .social-links {
    text-align: center;
    padding: 10px 0;
}

.people-section .people-item-inner .social-links a {
    display: inline-block;
    margin: 0 3px;
    text-decoration: none;
}

.people-section .people-item-inner .social-links a i {
    height: 32px;
    width: 32px;
    border: 1px solid transparent;
    display: block;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.people-section .people-item-inner .social-links a:hover i {
    color: #ffffff;
}

/* gallery section */

.gallery-section {
    padding: 80px 0 80px;
}

.gallery-section .gallery-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 15px;
}

.gallery-section .gallery-item-inner {
    overflow: hidden;
    cursor: pointer;
}

.gallery-section .gallery-item-inner img {
    width: 100%;
    transform: scale(1.1);
    transition: all 0.5s ease;
}

.gallery-section .gallery-item-inner:hover img {
    transform: scale(1);
}

/* gallery popup */

.gallery-popup {
    cursor: zoom-out;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1099;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.gallery-popup.open {
    display: flex;
}

.gallery-popup img.gp-img {
    width: auto;
    height: auto;
    max-width: 100%;
    padding: 40px 0;
}

.gallery-popup .gp-container {
    position: relative;
    cursor: auto;
}

.gallery-popup .gp-counter {
    display: block;
    height: 40px;
    color: #ffffff;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 40px;
    font-weight: bold;
}

.gallery-popup .gp-close {
    display: block;
    height: 40px;
    width: 40px;
    color: #ffffff;
    font-size: 30px;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    line-height: 38px;
    overflow: hidden;
    cursor: zoom-out;
}

.gallery-popup .gp-controls {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup .gp-controls .prew,
.gallery-popup .gp-controls .next {
    display: inline-block;
    margin: 0 10px;
}

.gallery-popup .gp-controls .prew i,
.gallery-popup .gp-controls .next i {
    color: #ffffff;
    font-size: 20px;
    display: block;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.5s ease;
}

.gallery-popup .gp-controls .prew:hover i,
.gallery-popup .gp-controls .next:hover i {
    background-color: rgba(0, 0, 0, 0.8);
}

/* rsvp section */

.rsvp-section {
    padding: 80px 0 80px;
}

.rsvp-section .section-title h2,
.rsvp-section .section-title p {
    color: #ffffff;
}

.rsvp-section .section-title p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 26px;
}

.rsvp-section .rsvp-form {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.rsvp-section .form {
    max-width: 600px;
    background-color: #ffffff;
    margin: auto;
    padding: 60px 25px;
    box-shadow: 0 0 10px #888888;
}

.rsvp-section .form .input-group {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.rsvp-section .form .input-group.w50 {
    flex: 0 0 50%;
    max-width: 50%;
}

.rsvp-section .form .input-control {
    display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #000000;
    padding: 6px 12px;
    border: 1px solid #cccccc;
}

.rsvp-section .form textarea.input-control {
    height: 120px;
    padding-top: 12px;
    resize: none;
}

.rsvp-section .form .input-control:focus {
    outline: none;
}

/* Footer */

.footer {
    padding: 120px 0 120px;
}

.footer .footer-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.footer .footer-content .couple-name {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer .footer-content .couple-name img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: rotate(100deg);
}

.footer .footer-content .couple-name h2 {
    font-size: 40px;
    font-family: "Great Vibes", cursive;
    color: #000000;
    margin: 0;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 2px;
}

.footer .footer-content .couple-name h2 span {
    font-family: "Great Vibes", cursive;
    font-weight: normal;
    display: block;
}

.footer .footer-content p {
    font-size: 40px;
    font-family: "Great Vibes", cursive;
    color: #000000;
    margin: 0;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 2px;
}

/* Back To Top */

#toTop {
    position: fixed;
    cursor: pointer;
    bottom: 30px;
    right: 0;
    color: #ffffff;
    background: transparent;
    z-index: 1;
    width: 45px;
    text-align: center;
    height: 45px;
    border-radius: 10px 0 0 10px;
    line-height: 45px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    /*box-shadow: 0 0px 20px 0px transparent !important;*/
}

#toTop i {
    color: #fff;
    line-height: 45px;
    font-size: 35px;
    display: block;
}

/* copyright text */

p.copyright-text {
    text-align: center;
    font-size: 14px;
    padding-top: 0 15px;
    color: #555555;
    padding: 20px 0;
    border-top: 1px solid #cccccc;
}

p.copyright-text a {
    color: #555555;
}

/* dark mode */

body.dark .rsvp-section .form,
body.dark .event-section .event-item-inner,
body.dark .story-section .story-item i,
body.dark .couple-section .couple i.fa-heart,
body.dark {
    background-color: #111111;
}

body.dark .rsvp-section .form .input-control,
body.dark .people-section .people-item-inner,
body.dark .people-section .filter-btn,
body.dark .header.fixed .hamburger-btn,
body.dark .header.fixed {
    background-color: #222222;
}

body.dark .footer .footer-content p,
body.dark .footer .footer-content .couple-name h2,
body.dark .rsvp-section .form .input-control,
body.dark .people-section .people-item-inner h4,
body.dark .people-section .filter-btn.active,
body.dark .event-section .event-item-inner h3,
body.dark .section-title h2,
body.dark .header .nav ul li a,
body.dark .header.fixed .nav ul li a,
body.dark .header.fixed .logo a {
    color: #ffffff;
}

body.dark p.copyright-text a,
body.dark p.copyright-text,
body.dark .people-section .people-item-inner p,
body.dark .people-section .filter-btn,
body.dark .event-section .event-item-inner p,
body.dark .story-section .story-text span.date,
body.dark .story-section .story-text p,
body.dark .couple-section .couple p {
    color: #bbbbbb;
}

body.dark .rsvp-section .form .input-control,
body.dark .header.fixed .hamburger-btn {
    border-color: #ffffff;
}

body.dark .rsvp-form .form,
body.dark .event-section .event-item-inner,
body.dark .people-section .people-item-inner img,
body.dark .header.fixed {
    box-shadow: 0 0 10px #000000;
}

body.dark .story-section .story-content:before,
body.dark .couple-section .couple:nth-child(2):before {
    background-color: #333333;
}

body.dark p.copyright-text,
body.dark .rsvp-section .form .input-control,
body.dark .event-section .event-item-inner h3,
body.dark .header.fixed .nav {
    border-color: #333333;
}

body.dark .header.fixed {
    border-color: transparent;
}

@media(max-width: 767px) {
    body.dark .header .nav {
        background-color: #222222;
    }
}

.menu-section {
    text-align: center;
    padding: 60px 20px;
    background: #fdf9f9;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #b33c6c;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.qr-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    margin: 15px;
    padding: 30px 20px;
    /* max-width: 280px; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.qr-inner h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 8px;
}

.qr-inner .tagline {
    font-style: italic;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.qr-img {
    width: 180px;
    height: 180px;
    border: 4px solid #b33c6c;
    border-radius: 15px;
    padding: 8px;
    background: #fff;
}

/* Decorative hearts and flowers */
/* .qr-card::before,
.qr-card::after {
  content: "🌸";
  position: absolute;
  font-size: 1.3rem;
  opacity: 0.7;
  pointer-events: none;
}

.qr-card::before {
  top: -10px;
  left: -10px;
  transform: rotate(-15deg);
}

.qr-card::after {
  bottom: -10px;
  right: -10px;
  content: "❤️";
  transform: rotate(20deg);
} */

.event-section {
    background: #fff9f9;
    padding: 80px 0;
    text-align: center;
}

.section-title h2 {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 42px;
    color: #d6336c;
}

.section-title .subtitle {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 40px;
    color: #555;
}

.event-item {
    margin: 20px;
    flex: 1;
}

.event-item-inner {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.event-item-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .12);
}

.event-item h3 {
    font-family: 'Playfair Display', serif;
    color: #b3004b;
}

.event-meta span {
    display: inline-block;
    margin: 5px 10px;
    font-weight: 600;
    color: #444;
}

.venue {
    margin-top: 10px;
    font-weight: bold;
    color: #00695c;
}

.desc {
    margin: 15px 0;
    color: #666;
    font-size: 15px;
}

.divider {
    margin-top: 15px;
    width: 35px;
}

/* Section */
.gallery-section {
    background: #fb839e;
    padding: 80px 0;
    overflow: hidden;
}

.section-title h2 {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 42px;
    color: #d6336c;
    margin-bottom: 8px;
}

.section-title .subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 32px;
}

/* Grid */
.gallery-grid {
    column-count: 1;
    column-gap: 16px;
}

@media (min-width: 576px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        column-count: 4;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 16px;
    position: relative;
    break-inside: avoid;
    text-decoration: none;
}

.gallery-item-inner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-item-inner::after {
    content: "";
    display: block;
    padding-top: 66%;
    /* aspect placeholder to reduce layout shift */
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .5s ease;
    will-change: transform;
}

.gallery-item:hover .gallery-item-inner {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Optional hover caption */
.gallery-item::before {
    content: attr(data-caption);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .2px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .3s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(214, 51, 108, .55) 100%);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 12, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: min(92vw, 1200px);
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .5);
}

.lightbox-caption {
    position: absolute;
    bottom: 5vh;
    color: #fff;
    text-align: center;
    font-weight: 500;
    padding: 8px 14px;
    background: rgba(214, 51, 108, .35);
    border-radius: 999px;
    backdrop-filter: blur(3px);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 24px;
    display: grid;
    place-items: center;
    transition: background .2s ease;
}

.lightbox-close {
    top: 8vh;
    right: 5vw;
    transform: none;
    font-size: 34px;
}

.lightbox-prev {
    left: 4vw;
}

.lightbox-next {
    right: 4vw;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, .28);
}

/* Accessibility */
.lightbox:focus-within .lightbox-close {
    outline: 2px solid #fff;
}

.menu-section {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(1200px 600px at -10% 0%, rgba(214, 51, 108, 0.06), transparent 60%),
        radial-gradient(1200px 600px at 110% 100%, rgba(214, 51, 108, 0.07), transparent 60%),
        #fff9fb;
    overflow: hidden;
}

.menu-section::before {
    content: "";
    position: absolute;
    inset: -60px -60px auto auto;
    width: 220px;
    height: 220px;
    background: conic-gradient(from 120deg, rgba(214, 51, 108, .08), transparent 55%);
    filter: blur(8px);
    border-radius: 50%;
    pointer-events: none;
}

.section-title {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 44px;

    text-align: center;
    margin: 0 0 6px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin: 0 0 36px;
    font-style: italic;
}

/* Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.qr-card {
    position: relative;
    outline: none;
}

.qr-inner {
    background: var(--card);
    /* border: 1px solid rgba(214, 51, 108, .10); */
    border-radius: var(--radius);
    padding: 24px 22px 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.qr-card:hover .qr-inner,
.qr-card:focus .qr-inner {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(214, 51, 108, .18);
    border-color: rgba(214, 51, 108, .24);
}

/* Ribbon label */
.qr-ribbon {
    position: absolute;
    top: -10px;
    left: 16px;
    background: linear-gradient(90deg, var(--rose), var(--rose-deep));
    color: #d6336c;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .5px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(214, 51, 108, .24);
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Headings and text */
.qr-inner h3 {
    margin: 4px 0 6px;
    font-family: 'Playfair Display', serif;

    font-size: 22px;
}

.qr-inner .tagline {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    font-style: italic;
}

/* QR block */
.qr-figure {
    position: relative;
    margin: 0 0 14px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04), 0 8px 20px rgba(0, 0, 0, .08);
}

.qr-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 16px;
    transition: transform .35s ease;
}

.qr-card:hover .qr-img {
    transform: scale(1.02);
}

.qr-figure figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(31, 26, 34, .6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}

/* Button */
.btn-outline {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1.6px solid var(--rose);

    background: transparent;
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-outline:hover {
    background: linear-gradient(90deg, var(--rose), var(--rose-deep));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(214, 51, 108, .25);
}

/* Focus ring */
.qr-card:focus .qr-inner {
    box-shadow: 0 0 0 4px var(--ring), var(--shadow);
}

/* Modal */
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 18, .88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 24px;
}

.qr-modal.open {
    display: flex;
}

.qr-modal-inner {
    position: relative;
    max-width: min(520px, 92vw);
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
    overflow: hidden;
}

.qr-modal-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.qr-modal-caption {
    padding: 10px 14px 16px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}

.qr-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, .06);

    font-size: 26px;
    cursor: pointer;
    transition: background .2s ease;
}

.qr-modal-close:hover {
    background: rgba(0, 0, 0, .12);
}

/* Base floating button style */
.floating-btn {
    position: fixed;
    z-index: 1000;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    /* bottom-left by default */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.floating-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    background: rgba(20, 20, 20, 0.92);
}

.floating-btn:active {
    transform: translateY(0);
}

/* High-contrast focus ring for accessibility */
.floating-btn:focus-visible {
    outline: 2px solid #4f9cff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(79, 156, 255, 0.35);
}

/* If your scroll-to-top button sits bottom-right, ensure spacing on small screens */
@media (max-width: 480px) {
    .floating-btn {
        bottom: max(20px, env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Optional: helper classes if you want to quickly reposition */
.floating-bottom-right {
    right: max(16px, env(safe-area-inset-right));
    left: auto;
}

.floating-bottom-left {
    left: max(16px, env(safe-area-inset-left));
    right: auto;
}

.floating-top-right {
    top: max(16px, env(safe-area-inset-top));
    bottom: auto;
    right: max(16px, env(safe-area-inset-right));
    left: auto;
}

.floating-top-left {
    top: max(16px, env(safe-area-inset-top));
    bottom: auto;
    left: max(16px, env(safe-area-inset-left));
    right: auto;
}

.love-story-section {
    background: linear-gradient(135deg, #ffe5ec 0%, #fff9e5 100%);
    padding: 50px 0;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

.story-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.story-row:nth-child(even) {
    flex-direction: row-reverse;
}

.story-text {
    flex: 1;
    animation: fadeInText 1s ease-out forwards;
}

.story-img img {
    width: 320px;
    /* Set desired width */
    height: 320px;
    /* Set desired height */
    object-fit: cover;
    /* Ensures images fill the area nicely without distortion */
    border-radius: 16px;
    box-shadow: 0 2px 18px rgba(233, 65, 120, 0.13);
    transition: transform 0.3s;
}

.story-img img:hover {
    transform: scale(1.05);
}

.highlight {
    /* font-family: 'Dancing Script', cursive; */
    color: #e94178;
    /* font-size: 1.3em; */
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* THEME: change only these three values */
.invite-section.no-vars {
    /* theme color (accent) */
    --tmp: initial;
    /* ignored, just to separate; no CSS vars used */
}

.invite-section.no-vars,
.invite-section.no-vars * {
    /* Colors you can tweak */
    /* theme color */
    /* #fb839e = antique gold */
    /* text on dark */
    /* #f6f6f6 */
    /* text muted   */
    /* #cfcfcf */
}

/* ===== Section ===== */
.invite-section {
    position: relative;
    isolation: isolate;
    background: #0e0e0f;
    /* section background */
    padding: clamp(64px, 8vw, 120px) 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Optional soft gradient glow using the theme color */
.invite-section::before {
    content: "";
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 60%;
    /* use the theme color directly here */
    background: radial-gradient(60% 70% at 50% 0%, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    filter: blur(22px);
    opacity: .9;
    z-index: -1;
}

/* Background image overlay (replace URL or remove block) */
.invite-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .75)),
        url('https://images.unsplash.com/photo-1522673607200-164d1b6ce486?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
    z-index: -2;
}

/* Content */
.invite-wrap {
    width: min(880px, 94vw);
    text-align: center;
    color: #f6f6f6;
    /* text on dark */
}

/* Lead text */
.invite-line {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.7;
    letter-spacing: .2px;
    margin: 0 0 28px;
    color: #cfcfcf;
    /* muted text */
}

/* Highlighted “Forever” */
.highlight {
    display: inline-block;
    margin: 0 .18em;
    font-weight: 700;
    color: #fb839e;
    /* theme color */
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fb839e, transparent);
    /* theme color */
    opacity: .75;
}

/* Names */
.invite-names {
    margin: 8px 0 0;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    font-size: clamp(26px, 4.8vw, 48px);
    line-height: 1.25;
    font-weight: 600;
    color: #f6f6f6;
    /* text on dark */
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: clamp(10px, 1.6vw, 18px);
    flex-wrap: wrap;
}

.name {
    white-space: nowrap;
    letter-spacing: .5px;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
    /* theme color glow */
    position: relative;
}

/* Elegant ampersand */
.amp {
    color: #fb839e;
    /* theme color */
    font-weight: 700;
    font-size: 0.9em;
    line-height: 1;
    transform: translateY(-2px);
}

/* “with our families” */
.with-families {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: clamp(12px, 1.6vw, 14px);
    letter-spacing: .6px;
    text-transform: lowercase;
    color: #cfcfcf;
    /* muted */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .invite-section::before {
        filter: none;
    }
}

/* Optional light variant without variables */
body.light .invite-section {
    background: #ffffff;
}

body.light .invite-wrap {
    color: #1b1b1b;
}

body.light .invite-line {
    color: #4d4d4d;
}