

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', sans-serif;
    background: #f7f4ee;
    color: #1d1d1d;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.intro-overlay video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.start-btn {
    position: relative;
    z-index: 2;
    padding: 22px 50px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(12px);
    color: white;
    letter-spacing: 4px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 100px;
    transition: .4s;
}

.start-btn:hover {
    background: white;
    color: black;
}

#heroContent {
    opacity: 0;
    transition: 1.2s;
}

#heroContent.show {
    opacity: 1;
}

#heroContent.hide {
    opacity: 0;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .55)); */
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 8%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 40px;
    font-family: 'Cormorant Garamond', serif;
    color: white;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-sub {
    color: #e8d6c3;
    letter-spacing: 7px;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 150px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: .9;
    color: white;
}

.hero-date {
    margin-top: 30px;
    color: white;
    letter-spacing: 6px;
    font-size: 15px;
}

.hero-btn {
    margin-top: 50px;
    padding: 18px 45px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 13px;
    transition: .4s;
}

.hero-btn:hover {
    background: white;
    color: black;
}

.section {
    padding: 130px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title span {
    color: #b28b67;
    letter-spacing: 5px;
    font-size: 13px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 80px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    margin-top: 15px;
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.couple-image {
    position: relative;
}

.couple-image img {
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .12);
}

.couple-text h3 {
    font-size: 65px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    margin-bottom: 30px;
}

.couple-text p {
    line-height: 2;
    color: #666;
    font-size: 16px;
}

.countdown {
    background: #181818;
    color: white;
    text-align: center;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.time-box {
    width: 210px;
    height: 210px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.time-box h3 {
    font-size: 85px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.time-box p {
    margin-top: 10px;
    letter-spacing: 4px;
    font-size: 13px;
    color: #c9c9c9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-grid img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: .6s;
}

.gallery-grid img:hover {
    transform: translateY(-10px);
}

.event-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.event-card {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .06);
}

.event-card span {
    letter-spacing: 4px;
    font-size: 12px;
    text-transform: uppercase;
    color: #b28b67;
}

.event-card h3 {
    font-size: 50px;
    font-family: 'Cormorant Garamond', serif;
    margin: 20px 0;
    font-weight: 500;
}

.event-card p {
    line-height: 2;
    color: #666;
}

.rsvp-box {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 80px;
    border-radius: 35px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.input-group {
    margin-bottom: 25px;
}

input,
textarea,
select {
    width: 100%;
    padding: 22px;
    border: none;
    background: #f5f2ef;
    border-radius: 18px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
}

textarea {
    height: 180px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 22px;
    border: none;
    background: #111;
    color: white;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-radius: 18px;
    cursor: pointer;
    transition: .4s;
}

.submit-btn:hover {
    background: #b28b67;
}

.footer {
    background: #161616;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.footer h2 {
    font-size: 80px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.footer p {
    margin-top: 20px;
    letter-spacing: 4px;
    font-size: 13px;
    color: #cfcfcf;
}

.music-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
}

@media(max-width:992px) {

    .hero h1 {
        font-size: 90px;
    }

    .couple-grid,
    .event-wrapper,
    .form-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 350px;
    }

    .section-title h2 {
        font-size: 55px;
    }

    .couple-text h3 {
        font-size: 45px;
    }

    .rsvp-box,
    .event-card {
        padding: 40px;
    }

    .nav-links {
        display: none;
    }

    .time-box {
        width: 150px;
        height: 150px;
    }

    .time-box h3 {
        font-size: 55px;
    }

}

.countdown-art-section{
    padding:30px 20px;
    overflow:hidden;
}

.countdown-top{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    margin-bottom:120px;
}

.flower-left,
.flower-right{
    width:320px;
    max-width:30vw;
}

.countdown-center{
    text-align:center;
}

.countdown-center h2{
    font-size:90px;
    color:#4f6a55;
    font-weight:500;
    margin-bottom:20px;
    font-style:italic;
}

.date-text{
    letter-spacing:8px;
    color:#7b7b72;
    font-size:28px;
    margin-bottom:40px;
}

.countdown-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:35px;
}

.countdown-numbers span{
    font-size:90px;
    color:#4f6a55;
    font-style:italic;
}

.countdown-numbers small{
    display:block;
    margin-top:15px;
    letter-spacing:6px;
    color:#7b7b72;
    font-size:12px;
}

.divider{
    width:1px;
    height:100px;
    background:#b9b7ae;
}

.celebration-box{
    max-width:900px;
    background-color: #f0efe8;
    margin:auto;
    border:1px solid #a3a292;
    /* padding:70px 40px 0; */
    text-align:center;
    position:relative;
}

.celebration-box h2{
    font-size:90px;
    color:#4f6a55;
    font-style:italic;
    font-weight:500;
    padding: 70px 40px 0;
    margin-bottom:40px;
}

.celebration-text{
    font-size:30px;
    letter-spacing:10px;
    color:#6f7269;
    padding: 70px 40px 0;
    line-height:1.7;
}

.celebration-time{
    margin-top:40px;
    margin-bottom:60px;
    padding: 70px 40px 0;
    font-size:70px;
    color:#4f6a55;
    font-style:italic;
}

.garden-image{
    width:100%;
    margin-top:20px;
}

@media(max-width:991px){

.countdown-top{
    /* flex-direction:column; */
}

.flower-left,
.flower-right{
    width:220px;
}

.countdown-center h2,
.celebration-box h2{
    font-size:30px;
}
.countdown-top {
    gap: 0px;
}
.countdown-numbers{
    gap:11px;
}

.countdown-numbers span{
    font-size:35px;
}

.date-text{
    font-size:18px;
    letter-spacing:0px;
    margin-bottom: 10px;
}
.countdown-numbers small {
    margin-top: 0px;
    letter-spacing: -1px;
}
.divider {
    height: 30px;
}
.celebration-text{
    font-size:15px;
    letter-spacing:5px;
}

.celebration-time{
    font-size:50px;
}

.countdown-center h2 
 {
    font-size: 35px;
 }
 .countdown-top {
    margin-bottom: 20px;
 }
 .celebration-box h2 {
    font-family: 'Whisper';
 }
 .celebration-box h2 {
   
    color: #4f6a55;
    font-style: italic;
    font-weight: 500;
    padding: 20px 10px 0;
    margin-bottom: 10px;
}
.celebration-text {
    padding: 0px 40px 0px;
}
.celebration-time {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px 10px 0;
    font-size: 70px;
    color: #4f6a55;
    font-style: italic;
    font-size: 23px !important;
    /* font-family: 'Whisper'; */
}
}



.venue-section{
    padding:120px 20px;
    text-align:center;
    overflow:hidden;
}

.venue-top{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:60px;
    margin-bottom:60px;
}

.bird{
    width:280px;
    /* max-width:30vw; */
}

.venue-heading p{
    font-size:38px;
    letter-spacing:14px;
    color:#767a6b;
    margin-bottom:20px;
    margin-top:120px;
}

.venue-heading h2{
    font-size:90px;
    color:#4e6955;
    font-style:italic;
    font-weight:500;
    margin:0;
}

.venue-title{
    font-size:90px;
    color:#767a6b;
    font-weight:500;
    letter-spacing:3px;
    margin-top:80px;
    margin-bottom:80px;
}

.venue-image-box{
    max-width:1100px;
    margin:auto;
}

.venue-image{
    width:100%;
    border-radius:4px;
}

.venue-address{
    margin-top:90px;
    font-size:75px;
    color:#4e6955;
    font-style:italic;
    line-height:1.1;
}

.map-btn{
    display:inline-block;
    margin-top:120px;
    text-decoration:none;
    color:#767a6b;
    letter-spacing:12px;
    font-size:38px;
    transition:.4s;
    position:relative;
}

.map-btn::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:0%;
    height:1px;
    background:#767a6b;
    transition:.4s;
}

.map-btn:hover::after{
    width:100%;
}

@media(max-width:991px){

.venue-top{
    /* flex-direction:column; */
    align-items:center;
    gap:10px;
}

.bird{
    width:180px;
}



.venue-heading p{
    margin-top:0;
    font-size:24px;
    letter-spacing:8px;
}

.venue-heading h2{
    font-size:65px;
}

.venue-title{
    font-size:55px;
}

.venue-address{
    font-size:40px;
}

.map-btn{
    font-size:24px;
    letter-spacing:6px;
}

.venue-heading p {
    margin-top: 0;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 0px;
}

.venue-heading h2 {
    font-size: 49px;
    font-family: 'whisper';
}
.venue-top {
    gap: 0px;
    margin-bottom: 0px;
}
.venue-title {
    font-size: 25px;
    margin-top: 0px;
    margin-bottom: 40px;

}
.venue-address {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.map-btn {
    font-size: 18px;
    letter-spacing: 6px;
    margin-top: 40px;
}
}

.schedule-section{
    position:relative;
    /* min-height:100vh; */
    overflow:hidden;
    /* padding:120px 20px 0; */
    background:#f0ede8;
}

/* BACKGROUND */

.schedule-overlay{
    position:absolute;
    inset:0;
    background:url('images/4_page_back.webp') center top/contain no-repeat;
    opacity:1;
    z-index:1;
}

/* CONTENT */

.schedule-content{
    position:relative;
    z-index:5;
    text-align:center;
}

/* TITLE */

.schedule-title h2{
    font-size:95px;
    color:#4d6754;
    font-style:italic;
    font-weight:600;
    margin:0;
    line-height:1;
}

.schedule-title p{
    margin-top:25px;
    letter-spacing:16px;
    font-size:42px;
    color:#6f7468;
    font-weight:500;
}

/* LIST */

.schedule-list{
    margin-top:120px;
}

.schedule-item{
    margin-bottom:50px;
    opacity:1;
    transform:none;
}

.schedule-item .time{
    display:block;
    font-size:34px;
    letter-spacing:8px;
    color:#7d806f;
    margin-bottom:10px;
    font-weight:600;
}

.schedule-item h3{
    font-size:78px;
    color:#45604c;
    font-style:italic;
    font-weight:600;
    margin:0;
    line-height:1.1;
}

/* BOTTOM */

.schedule-bottom{
    position:relative;
    z-index:5;
    margin-top:120px;
    text-align:center;
}

.bottom-decoration{
    width:100%;
    max-width:1200px;
    display:block;
    margin:auto;
}

/* MOBILE */

@media(max-width:991px){

.schedule-section{
    padding-top:80px;
}

.schedule-title h2{
    font-size:35px;
}

.schedule-title p{
    font-size:24px;
    letter-spacing:8px;
}

.schedule-list{
    margin-top:70px;
}

.schedule-item{
    margin-bottom:15px;
}

.schedule-item .time{
    font-size:20px;
}

.schedule-item h3{
    font-size:42px;
}

.schedule-bottom{
    margin-top:60px;
}
.schedule-item h3 {
    font-size: 22px;
}
}



.dresscode-section{
    position:relative;
    overflow:hidden;
    padding-top: 90px;
    /* padding:80px 20px 120px; */
    text-align:center;
    background:#efede8;
}

/* TOP */

.dress-top{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:60px;
    margin-bottom:70px;
}

.top-bow{
    width:230px;
    max-width:25vw;
}

/* TITLE */

.dress-heading p{
    font-size:42px;
    letter-spacing:14px;
    color:#767a6b;
    margin-top:80px;
    margin-bottom:40px;
}

.dress-heading h2{
    font-size:88px;
    color:#4c6654;
    font-style:italic;
    font-weight:500;
    line-height:1.1;
    margin:0;
}

/* FRAME */

.dress-frame{
    max-width:1100px;
    margin:auto;
    /* border:1px solid #8c917f;
    border-radius:220px;
    padding:60px; */
    position:relative;
    overflow:hidden;
}

.dress-image{
    width:100%;
    max-width:850px;
    display:block;
    margin:auto;
}

/* BOTTOM */

.bottom-fans{
    margin-top:80px;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
}

.fan{
    width:320px;
    max-width:32vw;
}

/* ANIMATION */

.left-bow{
    animation:floatLeft 5s ease-in-out infinite;
}

.right-bow{
    animation:floatRight 5s ease-in-out infinite;
}

@keyframes floatLeft{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(15px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes floatRight{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* MOBILE */

@media(max-width:991px){

.dress-top{
    /* flex-direction:column; */
    align-items:center;
    gap:5px;
}

.top-bow{
    width:170px;
}

.dress-heading p{
    margin-top:0;
    font-size:22px;
    letter-spacing:6px;
}

.dress-heading h2{
    font-size:25px;
}

.dress-frame{
    border-radius:80px;
    padding:10px;
}

.bottom-fans{
    margin-top:50px;
}

.fan{
    width:150px;
}
.map-btn {
    font-size: 18px;
    letter-spacing: 6px;
    margin-top: 40px;
}
}

.date-text {
    font-family: 'Cormorant Garamond';
}

.countdown-center h2 {
    font-family: 'Whisper';
}
/* =========================
   SMOOTH LUXURY ANIMATION
========================= */

.reveal-text,
.reveal-image{

    opacity:0;

    transition:
    opacity 2.2s cubic-bezier(.19,1,.22,1),
    transform 2.2s cubic-bezier(.19,1,.22,1);

    will-change:transform, opacity;
}

/* TEXT */

.reveal-text{

    transform:
    translateY(120px);
}

/* IMAGE */

.reveal-image{

    transform:
    scale(.88)
    translateY(140px);
}

/* ACTIVE */

.reveal-active{

    opacity:1 !important;

    transform:
    translateY(0)
    scale(1) !important;
}

/* IMAGE HOVER */

.reveal-image{

    overflow:hidden;
}

.reveal-image img{

    transition:
    transform 2s ease,
    filter 2s ease;
}

.reveal-image:hover img{

    transform:scale(1.04);

    filter:
    drop-shadow(0 40px 80px rgba(0,0,0,.15));
}

/* =========================
   LAZY LOAD IMAGE EFFECT
========================= */

img{

    opacity:0;

    transition:
    opacity 1.8s ease,
    transform 2s cubic-bezier(.19,1,.22,1);

    transform:scale(1.03);
}

/* LOADED */

img.loaded{

    opacity:1;
    transform:scale(1);
}