@import url('https://fonts.googleapis.com/css2?family=Montaga&family=Yatra+One&display=swap');

*,*::after,*::before{
    box-sizing: border-box;
    font-family: 'Montaga', serif;
    font-weight: 400;
    color: var(--cl--2--);
}

body{
    --cl--1--: #fcf9f7;
    --cl--2--: #2b1105;
    --cl--3--: #c6754d;
    background-color: var(--cl--1--);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

img{
    max-width: 150px;
}

h1, h2, h3, h4, h5, h6, p{
    margin: 0;
}

h1{
    font-size: clamp(50px, 10vw, 90px);
    line-height: clamp(55px, 10vw, 95px);
}

h2{
    font-size: clamp(25px, 10vw, 40px);
    line-height: clamp(30px, 10vw, 45px);
    text-transform: capitalize;
}

h3{
    font-size: clamp(25px, 5vw, 40px);
    line-height: clamp(30px, 5vw, 45px);
    text-transform: capitalize;
}

h4{
    font-size: clamp(15px, 5vw, 30px);
    line-height: clamp(20px, 5vw, 35px);
    text-transform: capitalize;
}

h5{
    font-size: 20px;
    text-transform: capitalize;
}

p{
    font-size: 15px;
}

a{
    display: inline-block;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.row{
    display: flex;
}

.flex{
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(2em, 5vw, 5em);
}

.flex>*{
    flex: 1 1;
}

.column{
    display: grid;
}

.container{
    max-width: 90%;
    margin: 0 auto;
}

/*HEADER*/

header{
    position: sticky;
    top: 0;
    background: var(--cl--1--);
    z-index: 1000;
    padding: 0 20px;
}

.header{
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 10px;
}

nav{
    flex-grow: 1;
}

nav ul{
    flex-grow: 1;
    align-items: center ;
    justify-content: space-between;
    gap: 2em;
}

nav a, 
footer a{
    font-size: 20px;
    text-transform: capitalize;
}

nav a:hover, 
footer a:hover{
    color: var(--cl--3--);
}

/*HERO SECTION*/

.hero{
    position: relative;
    overflow: hidden;
}

.hero video{
    max-width: 100%;
}

.hero-content{
    align-items: center;
    min-height: calc(100vh - 141.6px);
}

.hero h2{
    color: var(--cl--3--);
}

.hero h1{
    padding: 0.5em 0;
}

.hero h1 span{
    color: var(--cl--3--);
}




/*STORY*/

.story{
    background: url(image/wedding\ flower.png), var(--cl--3--);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
    padding: 3em 0;
}

.story-content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 400px;
    margin-bottom: 50px;
}

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

.story h1{
    color: var(--cl--1--);
    padding-bottom: 40px;
    font-size: 3em;
}

.story h4{
    color: var(--cl--1--);
}

.story h5, .story p{
    color: var(--cl--1--);
}

.story h2{
    color: var(--cl--1--);
    padding: 0.2em 0;
}

.mySwiper{
    position: relative;
    max-width: 300px;
}

.swiper-slide img{
    max-width: 300px;
    min-height: 450px;
    object-fit: cover;
}

/*VENUE*/

.venue{
    background-image: url(image/wedding\ flower2.png) ;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 300px;
    padding: 4em 0;
}

.venue h5, .time h5,
.itinerary h3{
    color: var(--cl--3--);
}

.venue-content{
    background: rgba(252, 249, 247, 0.6);
}

.venue h2{
    color: var(--cl--3--);
    padding: 0.5em 0 0.2em 0.2em;

}

.jardin{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.jardin-info h5, p{
    padding: 0.5em 0;
}

.jardin h3{
    color: var(--cl--2--);
}
.venue-content div{
    padding-left: 0.3em;
    padding-top: 0.3em;
}

.venue-content div p{ 
    padding-top: 0.3em;
}

.venue-vid video{
    height: auto;
    width: 500px;
}

.jardin-container{
    display: flex;
    align-items: center;
    justify-content: center;
}

/*BRIDAL PARTY*/

.bridal{
    background: url(image/Palm.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 300px;
    padding: 4em 0;
}

#bridal {
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.bridal h2{
    text-align: center;
    color: var(--cl--3--);
    margin-bottom: 50px;
}

.bridal h4{
    text-align: center;
    margin: 20px;
}
.sponsor1, .sponsor2, .sponsor3 {
    margin-bottom: 20px;
}

.sponsor1 {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
}

.sponsor1 div {
    text-align: center;
}

.sponsor1 p {
    color: var(--cl--2--);
    margin: 10px 0;
}

.sponsor2, .sponsor3 {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.sponsor2 div, .sponsor3 div {
    flex: 1 1 40%;
    max-width: 45%;
    margin: 10px;
    text-align: center;
}


/*ITINERARY*/

.itinerary{
    padding: 4em 0;
}

.reception{
    display: flex;
    flex-direction: row;
    gap: 1em;
    padding-bottom: 10px;
}

.reception img{
    height: 50px;
    width: 50px;
}

.reception li{
    margin-top: 10px;
}




.schedule-header {
    text-align: center;
    margin-bottom: 20px;
    height: 150px;
}

.schedule-header h2 {
    color: var(--cl--2--);
}

.main-content {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--cl--1--);
    padding-top: 20px;
}

.ceremony, .timeline {
    width: 48%;
    padding-bottom: 20px;
}

.ceremony h2, .timeline h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid var(--cl--3--);
    padding-bottom: 10px;
}

.ceremony ul, .timeline ul {
    list-style: none;
}

.ceremony li, .timeline li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.timeline li {
    position: relative;
    padding-left: 20px;
}

.timeline .bullet {
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
}

/*RSVP*/

.rsvp {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.rsvp h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--cl--2--);
}

.rsvp-msg{
    text-align: center;
}

.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-content p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: var(--cl--2--);
}

.rsvp-content h5 {
    color: var(--cl--2--);
    margin-top: 20px;
}


.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Margin for spacing */
}

.rsvp-content a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
    width: 150px;
    
}

.rsvp-content a.btn:hover {
    background-color: #e25e51;
    
}


/*FOOTER*/

/* Footer styling */
footer {
    background-color: var(--cl--3--);
    color: #fff;
    padding: 20px 0;
}

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

.footer-row {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-row li {
    margin: 10px 15px;
}

.footer-row li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-row li a:hover {
    color:  var(--cl--2--); /* Change to a color that fits your theme */
}


/*MEDIA QUERIES*/

@media screen and (min-width: 1200px) {
    html,
    body{
        overflow-x: hidden;
    }

    .container{
        max-width: 1120px;
    }

    

    
}

@media screen and (min-width: 1000px) {
    html,
    body{
        overflow-x: hidden;
    }

    .mobile{
        display: none;
    } 

    .hero video{
        position: absolute;
        inset: 0;
        margin: 0;
        opacity: 0.3;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
}

@media screen and (max-width: 1000px) {
    html,
    body{
        overflow-x: hidden;
    }

    .desktop{
        display: none;
    } 

    .mobile img{
        width: 150px;
        margin-left: -40px;
    }

    .toggleMenu{
        background-image: url(image/navbar.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 80px;
        width: 80px;
        height: 80px;
        z-index: 1000;
        transition: background-size 0.3 ease-in-out;
        position: absolute;
        right: 0; 
    }

    .toggleMenu.active{
        position: fixed;
        right: 0;
        background-image: url(image/close.png);
        background-size: 40px;
    }

    .navigation{
        position: absolute;
        inset: 0;
        min-height: 0;
        opacity: 0;
        justify-content: center;
        align-items: center;
        transform: scale(0);
    }

    .navigation.active{
        position: fixed;
        min-height: 100%;
        opacity: 1;
        background: var(--cl--1--);
        z-index: 999;
        transform: scale(1);
    }

    nav ul{
        flex-direction: column;
    }

    .jardin{
        display: flex;
        flex-direction: column;
    }

    .venue-vid video{
        max-width: 90%;
    }

    .story{
        background: var(--cl--3--);
        background-repeat: no-repeat;
        background-position: center;
        padding: 4em 0;
    }

    .story-content{
        gap: 2em;
    }
}

@media screen and (max-width:600px) {

    .mobile img{
        width: 100px;
        margin-left: -40px;
    }

    .bridal .filter-btns{
        flex-direction: row;
        max-width: max-content;
        margin: 0 auto;
    }

    .story h2{
        padding-top: 2em;
    }

    .story-content{
     flex-direction: column;
   }

    .jardin{
        display: flex;
        flex-direction: column;
    }

    .venue-vid video{
        max-width: 100%;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-row li {
        margin: 10px 0;
    }

    .sponsor1 {
        padding: 15px;
    }

    .sponsor1 p {
        font-size: 1em;
    }

    .story{
        background: var(--cl--3--);
        background-repeat: no-repeat;
        background-position: center;

        padding: 4em 0;
    }

    .story{
        background: var(--cl--3--);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 400px;
        padding: 4em 0;
    }

    .story-content{
        gap: 2em;
    }

    .main-content {
        flex-direction: column;
        align-items: center;
        margin-top: 50px;

    }

    .schedule-header {
        text-align: center;
        margin-bottom: 20px;
        height: 50px;
    }
    .ceremony, .timeline {
        width: 100%;
    }

    .timeline li {
        font-size: 0.9em;
    }
}

@media screen and (max-width:348px) {
    
    .mobile img{
        width: 100px;
        margin-left: -40px;
    }
  
    .story{
        background: var(--cl--3--);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 400px;
        padding: 4em 0;
    }
    
    .venue{
        background-image: url(image/wedding\ flower2.png) ;
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 200px;
        padding: 4em 0;
    }

    .jardin{
        display: flex;
        flex-direction: column;
    }

    .venue-vid video{
        max-width: 95%;
    }

    .time{
        max-width: 20px;
    }

    .rsvp p{
        padding: 20px 20px;
        text-align: center;
    }

    .footer-row li {
        margin: 5px 0;
    }

    .footer-row li a {
        font-size: 14px;
    }

    .bridal{
        background-size: 100px;
   }

    .sponsor1{
        padding: 15px;
    }

    .sponsor1 p, .sponsor2 p, .sponsor3 p {
        font-size: 1em;
    }
    .sponsor2, .sponsor3 {
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sponsor2 div, .sponsor3 div{
        max-width: 100%;
    }

    .story-content{
        gap: 2em;
    }
    
    .schedule-header h1 {
        font-size: 1.5em;
    }

    .ceremony h2, .timeline h2 {
        font-size: 1em;
    }

    .ceremony li, .timeline li {
        font-size: 0.9em;
    }


    
}