/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header, section {
    position: relative;
    padding: 0 64px;
}

main {
    overflow-x: hidden;
}

.container {
    margin: 0 auto;
    max-width: 100%;
    width: 1600px;
    z-index: 20;
    position: relative;
}

body {
    background: #F8F5F0;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5em;
    overflow-x: hidden;
}

p, span {
    line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant SC", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5em;
}

header {
    background: #F0ECE4;
    padding: 10px 64px;
    position: sticky;
    top: 0;
    z-index: 80;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Cormorant SC", serif;
}

header .container .desktop-menu {
    gap: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #634D40;

}
header .home {
    text-decoration: none;
}
.nav-link {
    font-size: 24px;
    font-weight: 600;
    color: #634D40;
    text-decoration: unset;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-button {
    all: unset;
    font-size: 24px;
    font-weight: 700;
    padding: 10px 16px;
    background: #634D40;
    color: #fff;
    border-radius: 100px;
    text-decoration: unset;
    cursor: pointer;
}

.nav-button:hover {
    opacity: 0.85;
}

.hero {
    background: url("assets/hero2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: clamp(500px, 62.5vw, 1200px);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: end;
    flex-direction: column;
    height: 100%;
    padding-bottom: 100px;
}

.hero .container h1 {
    text-align: center;
    font-size: 70px;
    font-weight: 400;
    color: #FFFFFF;
}

.divider {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 200px;
    background-color: #F8F5F0;
    border-radius: 50%;
}

.our-love-story {
    position: relative;
}

.our-love-story h2 {
    color: #675245;
    font-size: 70px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 70px;
}

img.border {
    border: 20px solid #FFFFFF
}

.row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}


.row p {
    font-size: 24px;
    color: #3A2C27;
}

.row img {
    max-width: 40%;
    height: auto;
}
.divider.bottom {
    bottom: -150px;
    z-index: 10;
}
.about {
    background: #F0ECE4;
    padding-top: 100px;
    padding-bottom: 100px;
}

.about h2 {
    font-size: 70px;
    font-weight: 600;
    text-align: center;
color:#675245;
    margin-bottom: 80px;
}

.about-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.about-row img.border {
    width: 35%;
    max-width: 450px;
    height: auto;
}

.about-text {
    background: #FEFDFC;
    padding: 24px;
    max-width: 50%;
}

.about-text h3 {
    color: #675245;
    font-size: 40px;
    font-weight: 600;
    margin: 10px 0;
}
.about-text p {
    font-size: 20px;
    color: #3A2C27;
}

.about-row.daniel {
    margin: 125px 0;
    justify-content: end;
}

.flower-bg.right {
    position: absolute;
    top: 0;
    right: 0;
    width: 25vw;
}

.flower-bg.left {
    position: absolute;
    top: 50%;
    left: -3vw;
    width: 25vw;
    transform: rotate(30deg);
    transform: scaleX(-100%);
}

.ellipse {
    background: #F8F5F0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;

}

.ellipse h3 {
    max-width: 750px;
    margin-top: 10px;
    font-size: 32px;
    font-weight: 600;
    color: #675245;
    text-align: center;
}

.best-day .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}


.best-day .grid div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.best-day .grid div:nth-child(4) {
    grid-column: 2 / 4;  /* Starts at column 3 and ends before column 5 */
    grid-row: 1 / 4;
}
.best-day {
    margin: 100px 0;
}

.best-day .title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.best-day h2 {
    font-size: 70px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #675245;
}

.best-day .date {
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    color: #675245;
    margin-bottom: 100px;
}

.end {
    background: #F0ECE4;
    clip-path: polygon(
            0% 0%,   /* Point 1: Top-left */
            100% 0%,   /* Point 2: Top-right */
            100% 80%, /* Point 3: Mid-right */
            50% 100%, /* Point 4: Bottom-right */
            50% 100%, /* Point 5: Bottom-left */
            0% 80%    /* Point 6: Mid-left */
    );
    margin-bottom: 150px;
}

.end .container {
    padding: 140px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.end h2 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    color: #675245;
    max-width: 1330px;
}

.flower-end {
    position: absolute;
    bottom: 0;
    transform: translate(-50%, 50%);
    left: 50%;
}

/*
 * Modal
 */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.modal {
    padding: 24px 24px 40px;
    border-radius: 8px;
    width: 95%;
    max-width: 1100px;
    height: 85%;
    max-height: 600px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F0ECE4;
    flex-direction: column;
}

.filepond--credits {
    display: none!important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

/* Close button */
.close-modal-btn {
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    background: unset;
    z-index: 1000;
}

/* Show modal class for animation */
.modal-overlay.show {
    display: flex;

    opacity: 1;
}

.modal-overlay.show .modal {
    transform: translateY(0);
}

.filepond--root {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.filepond--root .filepond--drop-label {
    height: fit-content;
}

.filepond--panel.filepond--panel-root {
    background: unset;
}


.filepond--drop-label{
    cursor: pointer;
    background: #fff;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='%23333' stroke-width='2' stroke-dasharray='10' stroke-dashoffset='13' stroke-linecap='butt'/%3e%3c/svg%3e");
    border-radius: 10px;
}

.filepond--drop-label label {
    cursor: pointer;
}
.filepond--root .filepond--list-scroller {
    margin-top: 3em;
    margin-bottom: 0;
}

.menu-toggle {
    width: 30px;
    height: 25px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.bar {
    background-color: #675245;
    height: 2px;
    width: 30px; /* Ensure all bars have the same width */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu {
    position: fixed;
    top: 60px;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    background-color: #F8F5F0;
    padding: 60px 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.4s ease;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

body.no-scroll {
    overflow: hidden;  /* Disable scroll */
}

/* Menu toggle animation */
.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.nav-menu.open {
    right: 0;
}

.gallery-heading {
    font-size: 70px;
    font-weight: 600;
    color: #675245;
    margin: 60px 0;
}

.filepond--list-scroller {
    top: 16px!important;
    left: -16px!important;
    right: -16px!important;
}

.gallery-section {
    margin-bottom: 60px;
}
.loader {
    border: 8px solid #f3f3f3; /* Light gray background */
    border-top: 8px solid #3498db; /* Blue color for the top */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Infinite spin animation */
}

/* Keyframes for the spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media screen and (max-width: 991px) {
    .hero .container h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px!important;
    }
    .row {
        flex-direction: column;
        gap: 40px
    }

    .row p {
        font-size: 20px;
    }

    .row img {
        max-width: 100%;
    }

    .row.second {
        flex-direction: column-reverse;
    }

    .about-row img.border {
        width: 50%;
    }

    header, section {
        padding: 0 40px;
    }
}

@media only screen and (max-width: 768px) {
    header, section {
        padding: 0 24px;
    }

    .row {
        margin-bottom: 60px;
    }
    .about-row {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-row img.border {
        width: 100%;
    }

    .about-text {
        max-width: 100%;
    }

    .about-row.daniel {
        flex-direction: column;
    }

    .best-day {
        margin: 50px 0;
    }

    .best-day .date {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .best-day .grid {
        grid-template-columns: 1fr 1fr;
    }
    .best-day .grid div:nth-child(4) {
        grid-column: unset;
        grid-row: unset;
    }

    .end .container {
        padding: 80px 0 100px;
    }

    .end h2 {
        font-size: 32px!important;
    }

    .flower-bg.right {
        top: 80px;
    }
    .about {
        padding-top: 140px;
    }

    .about-text h3 {
        font-size: 32px;
    }

    .about-row.daniel {
        margin: 80px 0;
    }
    .gallery-heading {
        font-size: 40px;
        margin: 40px 0 20px;
    }
}

@media only screen and (max-width: 478px) {
    header, section {
        padding: 0 16px;
    }

    h2 {
        font-size: 32px!important;
    }

    .best-day .grid {
        grid-template-columns: 1fr;
    }

    .hero .container h1 {
        font-size: 32px;
    }

    .hero .container {
        padding-bottom: 60px;
    }

    .divider {
        height: 100px;
        bottom: -50px;
    }

    .our-love-story h2 {
        text-align: left;
        margin-bottom: 20px;
    }
    .row {
        gap: 24px;
    }
    .row p {
        font-size: 16px;
    }

    .row:last-child {
        margin-bottom: 20px;
    }
    .divider.bottom {
        bottom: -100px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-row.daniel {
        margin: 40px 0;
    }

    .end h2 {
        font-size: 24px;
    }
    .ellipse {
        border-radius: 32px;
    }


    .menu-toggle {
        display: flex;
    }

    header .container .desktop-menu {
        display: none;
    }
}

.custom-shape-divider-bottom-1732703868 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1732703868 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 74px;
}

.custom-shape-divider-bottom-1732703868 .shape-fill {
    fill: #F8F5F0;
}

.custom-shape-divider-bottom-1732703914 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1732703914 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 74px;
    margin-top: 30px;
}

.custom-shape-divider-bottom-1732703914 .shape-fill {
    fill: #F0ECE4;
}