/* <===================TYPOGRAPHY & FONTS===================> */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Quicksand:wght@300;400;500;600;700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&family=Dancing+Script:wght@400;500;600;700&family=Great+Vibes&display=swap');

/* <===================CSS VARIABLES===================> */

:root{
    --h1-size: 7rem;
    --h2-size: 2.1rem;
    --h3-size: 1.7rem;
    --text-size: 1.3rem;
    --horizontal-margin-spacing:6rem;
    --grey-color-light: rgba(232,230,230,.6);
    --grey-color: rgba(232,230,230,1);
}

/* <===================UNIVERSAL CSS===================> */

*{
    box-sizing: border-box;
    margin: 0;
    font-family: 'Cinzel', 'Noto Sans', serif;
    color: #212121;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal scroll on mobile */
.hz-margin {
    max-width: 100vw;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}
html{
    scroll-behavior: smooth;
}
.hz-margin{
    padding: 0 var(--horizontal-margin-spacing);
}
h1{
    font-size: var(--h1-size);
    font-weight: 500;
    line-height: var(--h1-size);
}

/* Special styling for couple names */
.couple-names {
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: 6rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    color: #8B4A8C;
    margin: 20px 0;
    text-shadow: 0 3px 6px rgba(139, 74, 140, 0.3);
    background: linear-gradient(135deg, #8B4A8C 0%, #B565A7 50%, #D4A5C2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Vietnamese text optimization */
.vietnamese-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.005em;
    word-spacing: 0.05em;
}

/* Vietnamese uppercase text optimization */
h2, h3, .uppercase-text {
    font-family: 'Noto Sans', 'Source Sans 3', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: none !important;
    font-feature-settings: "kern" 1, "liga" 1;
}
h2{
    font-size: var(--h2-size);
    font-weight: bold;
}
h3{
    font-size: var(--h3-size);
    font-weight: 500;
}
.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  
  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  }
.text{
    font-family: 'Noto Sans', sans-serif;
    font-size: var(--text-size);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.huge-btn{
    display: block;
    font-size: 1rem;
    background: transparent;
    border: 1px solid #212121;
    padding: 25px 50px;
    border-radius: 50px;
    width: fit-content;
    margin: 30px 0;
}
.huge-btn:hover{
    color: grey;
    border-color: grey;
}
.v-reposition-container{
    position: absolute;
    left: 0;
    width: 100vw;
    z-index: 1;
}
.h-reposition-container{
    width: 100vw;
    position: relative;
    top: 100vh;
    z-index: 1;
}
/* <===================NAVBAR===================> */

nav{
    height: 60px;
    width: 100%;
    margin-bottom: 20vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 60px;
}
label.logo{
    font-size: 35px;
    line-height: 80px;
    padding: 0 0 0 30px;
    font-weight: bold;
}
nav ul{
    float: right;
    margin-right: 20px;
    list-style: none;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    font-family: 'Noto Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: none;
    text-decoration: none;
    letter-spacing: 0.05em;
}
a:hover{
    color: orange;
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
@media (max-width:1000px){
    label.logo{
        font-size: 20px;
    }
    nav ul li a{
        font-size: 10px;
    }
    html{
        font-size: 10px;
    }
    .couple-names {
        font-size: 4rem;
        line-height: 1.2;
    }
    .parting-message {
        margin-top: 10vh;
        margin-bottom: 10vh;
        padding: 3vh var(--horizontal-margin-spacing);
    }
    .parting-message h1{
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    .parting-message p {
        font-size: 1.3rem;
    }
}
@media (max-width:768px){
    .checkbtn{
        display: block;
        font-size: 24px;
        color: #333;
        z-index: 1001;
    }
    nav ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        top: 0;
        left: -100%;
        text-align: center;
        transition: all 0.3s ease;
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    nav ul li{
        display: block;
        margin: 0;
        line-height: 1;
    }
    nav ul li a{
        font-size: 18px;
        padding: 15px 30px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white !important;
        border-radius: 25px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
        display: block;
        min-width: 200px;
    }
    nav ul li a:hover{
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        color: white !important;
    }
    #check:checked ~ ul{
        left: 0;
    }
}

/* <===================COUNTDOWN===================> */

.countdown-container {
    margin: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-family: 'Cinzel', 'Noto Sans', serif;
    font-weight: bold;
}

.countdown-event-info {
    text-align: center;
    margin-bottom: 10px;
}

.countdown-event-name {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Noto Sans', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.countdown-completed {
    text-align: center;
    padding: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-number {
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.9rem;
    color: #f0f0f0;
    font-family: 'Noto Sans', sans-serif;
    text-transform: none;
    letter-spacing: 0.08em;
    font-weight: 600;
}

@media (max-width: 768px) {
    .countdown-container {
        margin: 15px;
        padding: 20px 15px;
        border-radius: 15px;
    }
    #countdown {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .countdown-timer {
        gap: 12px;
    }
    .countdown-number {
        font-size: 1.6rem;
    }
    .countdown-item {
        min-width: 70px;
        flex: 0 0 auto;
    }
    .countdown-label {
        font-size: 0.8rem;
    }
    .countdown-event-name {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        margin: 10px;
        padding: 15px 10px;
    }
    #countdown {
        gap: 8px;
    }
    .countdown-number {
        font-size: 1.4rem;
    }
    .countdown-item {
        min-width: 60px;
    }
    .countdown-label {
        font-size: 0.7rem;
    }
}

/* <===================HOME===================> */

.home h3 {
    text-align: center;
    margin-bottom: 20px;
}

.home h3 .fa-heart {
    color: #E91E63;
    margin-left: 10px;
    animation: heartbeat 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.container-out{
    margin-top: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.home-img{
    background-image: url(https://lh3.googleusercontent.com/d/1peWsXTnSd9d4ca30P-f_ZxD8KxDS3rec);
    background-size: cover;
    background-position: 50px center;
    background-repeat: no-repeat;
    height: 110vh;
    width: 50vw;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.home-img-new{
    background-image: url(https://lh3.googleusercontent.com/d/1SKnBxsT64_Le0XYNheiUBd7rMdo7NpcF);
    background-size: cover;
    background-position: center;
    height: 110vh;
    width: 50vw;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.home-img-sm{
    display: none;
    width: 100%;
    margin: 20px 0 0 0;
    height: 50vh;
}
#home-img-lg{
    display: block;
    height: 110vh;
    width: 50vw;
    background-position-x: -100px;
}
@media (max-width:1000px){
    :root{
        --horizontal-margin-spacing: 3rem;
    }
    .container-out{
        flex-direction: column;
        gap: 15px;
        margin-top: 5vh;
    }
    .home-img-sm{
        display: block;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    #home-img-lg{
        display: none;
    }
    .home-img-new{
        width: 100%;
        height: 60vh;
        margin: 10px 0;
        border-radius: 10px;
    }
    .couple-names {
        font-size: 4rem;
        line-height: 1.2;
        padding: 0 20px;
    }
}

@media (max-width:768px){
    :root{
        --horizontal-margin-spacing: 2rem;
    }
    .home h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    .couple-names {
        font-size: 4.2rem;
        padding: 0 15px;
        margin: 15px 0;
    }
    .container-out{
        flex-direction: row;
        margin-top: 3vh;
        gap: 10px;
    }
    .home-img-new{
        width: 50%;
        height: 45vh;
        margin: 0;
        border-radius: 8px;
    }
    .home-img-sm{
        display: none;
    }
    #home-img-lg{
        display: block;
        width: 50%;
        height: 45vh;
        background-position: center center;
        background-size: cover;
    }
}

@media (max-width:480px){
    :root{
        --horizontal-margin-spacing: 1.5rem;
    }
    .home h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .couple-names {
        font-size: 3.5rem;
        line-height: 1.1;
        padding: 0 10px;
        margin: 8px 0;
    }
    .container-out{
        flex-direction: row;
        gap: 8px;
    }
    .home-img-new{
        width: 50%;
        height: 40vh;
        margin: 0;
    }
    .home-img-sm{
        display: none;
    }
    #home-img-lg{
        display: block;
        width: 50%;
        height: 40vh;
        background-position: center center;
        background-size: cover;
    }
}

/* <===================TIMELINE===================> */

.timeline{
    display: block;
    background-color: var(--grey-color-light);
    float: left;
    position: relative;
    top: -30vh;
    width: 100%;
    backdrop-filter: blur(4px);
    padding: 8vh var(--horizontal-margin-spacing);
    z-index: 5;
}
.timeline-container{
    display: flex;
    flex-direction: row;
    margin: 8vh 0;
}
.timeline-img{
    background-image: url(https://lh3.googleusercontent.com/d/14d-AuyjR1n0YGDo7T-BD_dOnULbPetJP);
    height: 70vh;
    width: 30vw;
    background-position: center 20%;
    background-size: cover;
}
.timings{
    margin: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.timing-item {
    margin-bottom: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.timing-item .text{
    padding: 0.2rem 0 0.3rem 4rem;
    margin: 0;
}

.timing-item h3 {
    margin: 0 0 0.2rem 0;
    padding-left: 4rem;
}

.event-link {
    display: inline-block;
    margin: 0.3rem 0 0 4rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 15px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer !important;
    z-index: 100 !important;
    position: relative;
    pointer-events: auto !important;
}

.event-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}
@media (max-width:1000px){
    .timeline{
        background-color: var(--grey-color);
        float: none;
        position: relative;
        top: 0;
        width: 100%;
        backdrop-filter: blur(0);
        height: fit-content;
        padding: 5vh var(--horizontal-margin-spacing);
    }
    .timeline h2 {
        text-align: center;
        margin-bottom: 4vh;
    }
    .timeline-container{
        flex-direction: column;
        margin: 4vh 0;
    }
    .timeline-img{
        height: 50vh;
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        margin-bottom: 3vh;
    }
    .timings{
        margin: 20px 0;
    }
    .timing-item {
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    .timing-item h3 {
        padding-left: 0;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .timing-item .text{
        padding-left: 0;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .event-link {
        margin: 0.5rem auto 0 auto;
        display: block;
        text-align: center;
        width: fit-content;
    }
}

@media (max-width:768px){
    .timeline{
        padding: 4vh var(--horizontal-margin-spacing);
    }
    .timeline h2 {
        font-size: 2rem;
        margin-bottom: 3vh;
        text-align: center;
    }
    .timeline-container{
        flex-direction: row;
        gap: 20px;
        margin: 3vh 0;
        align-items: stretch;
        min-height: 350px;
    }
    .timeline-img{
        height: auto;
        min-height: 350px;
        width: 40%;
        flex-shrink: 0;
        margin-bottom: 0;
        align-self: stretch;
    }
    .timings{
        margin: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 350px;
        align-self: stretch;
    }
    .timing-item {
        padding: 12px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .timing-item h3 {
        font-size: 1.4rem;
        margin-bottom: 6px;
        text-align: left;
        padding-left: 0;
    }
    .timing-item .text{
        font-size: 1.2rem;
        margin-bottom: 8px;
        line-height: 1.4;
        text-align: left;
        padding-left: 0;
    }
    .event-link {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin: 0;
    }
}

@media (max-width:480px){
    .timeline{
        padding: 3vh var(--horizontal-margin-spacing);
    }
    .timeline h2 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 2vh;
        text-align: center;
    }
    .timeline-container{
        flex-direction: row;
        gap: 15px;
        margin: 2vh 0;
        align-items: stretch;
        min-height: 300px;
    }
    .timeline-img{
        height: auto;
        min-height: 300px;
        width: 40%;
        flex-shrink: 0;
        align-self: stretch;
    }
    .timings{
        margin: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 300px;
        align-self: stretch;
    }
    .timing-item {
        padding: 10px;
        margin-bottom: 6px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .timing-item h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
        text-align: left;
        padding-left: 0;
    }
    .timing-item .text{
        font-size: 1.1rem;
        margin-bottom: 6px;
        line-height: 1.3;
        text-align: left;
        padding-left: 0;
    }
    .event-link {
        font-size: 0.7rem;
        padding: 5px 10px;
        margin: 0;
    }
}

/* <===================STORY===================> */

#story{
    padding-top: 10vh;
    display: flex;
    flex-direction: row;
    margin: 10vh 0;
    position: relative;
    background-image: url(https://lh3.googleusercontent.com/d/1fUv-2el5fMhSIwBMaXxJe8RinZGCDY9D);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 8vh var(--horizontal-margin-spacing);
    margin-left: 0;
    margin-right: 0;
}

#story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    z-index: 1;
}

#story > * {
    position: relative;
    z-index: 2;
}
#story h3{
    width: 40vw;
    font-family: 'Great Vibes', 'Dancing Script', 'Playfair Display', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #FFB3B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}
#story p{
    width: 40vw;
    text-align: justify;
    font-size: 1.4rem;
    font-family: 'Quicksand', 'Source Sans 3', sans-serif;
    font-style: normal;
    font-weight: 500;
    color: #444;
    letter-spacing: 0.01em;
    line-height: 1.6;
}
@media (max-width:1000px){
    .h-reposition-container{
        position: relative;
        top: 0;
    }
    #story{
        flex-direction: column;
        margin: 5vh 0;
        padding: 5vh var(--horizontal-margin-spacing);
    }
    #story h3{
        width: 100%;
        margin: 10px 0 20px 0;
        font-size: 2rem;
        font-family: 'Great Vibes', 'Dancing Script', 'Playfair Display', cursive;
        background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #FFB3B3 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
        text-align: center;
    }
    #story p{
        width: 100%;
        margin: 15px 0;
        font-size: 1.2rem;
        line-height: 1.7;
        font-family: 'Quicksand', 'Source Sans 3', sans-serif;
        font-weight: 500;
        color: #444;
        text-align: justify;
    }
}

@media (max-width:768px){
    #story{
        flex-direction: row;
        margin: 3vh 0;
        padding: 4vh var(--horizontal-margin-spacing);
        gap: 20px;
        align-items: center;
    }
    #story h3{
        width: 45%;
        font-size: 2rem;
        margin: 0;
        line-height: 1.2;
        text-align: left;
        flex-shrink: 0;
    }
    #story p{
        width: 50%;
        font-size: 1.3rem;
        line-height: 1.5;
        margin: 0;
        text-align: justify;
        flex: 1;
    }
}

@media (max-width:480px){
    #story{
        flex-direction: row;
        padding: 3vh var(--horizontal-margin-spacing);
        margin: 2vh 0;
        gap: 15px;
        align-items: center;
    }
    #story h3{
        width: 45%;
        font-size: 1.3rem;
        margin: 0;
        line-height: 1.1;
        text-align: left;
        flex-shrink: 0;
    }
    #story p{
        width: 50%;
        font-size: 1.2rem;
        line-height: 1.4;
        margin: 0;
        text-align: justify;
        flex: 1;
    }
}

/* <===================GALLERY===================> */

.gallery{
    padding: 15vh 0;
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    margin-bottom: 8vh;
    color: #333;
    font-family: 'Playfair Display', 'Cinzel', serif;
}

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

.gallery-img{
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.gallery-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 74, 140, 0.1), rgba(181, 101, 167, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img:hover::before {
    opacity: 1;
}

.gallery-img-1 {
    background-image: url(https://lh3.googleusercontent.com/d/1WsPZpx2sQnOmy31aEKoLybaGHB0o1FtS);
}
.gallery-img-2 {
    background-image: url(https://lh3.googleusercontent.com/d/1_3GXk0MeA1GOkk83PTHJUaK3UUy7sj3k);
}
.gallery-img-3 {
    background-image: url(https://lh3.googleusercontent.com/d/1kygXPxFVFp8D25eN3qQs0pLVmyWUaeKt);
}
.gallery-img-4 {
    background-image: url(https://lh3.googleusercontent.com/d/1LPBpGZ_Hh6XPf-Z39HAeoK_bfJUrB7oz);
}
.gallery-img-5 {
    background-image: url(https://lh3.googleusercontent.com/d/1dYoO65disRXBd-82-M_7IS3HTlLd1K_x);
}
.gallery-img-6 {
    background-image: url(https://lh3.googleusercontent.com/d/1koc5hGnb5ZAvQKKPPqIk23ldsi2PF3d8);
}
@media (max-width:1000px){
    .gallery{
        padding: 10vh var(--horizontal-margin-spacing);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
        padding: 0;
    }
    .gallery-img {
        height: 250px;
        border-radius: 12px;
    }
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 6vh;
    }
}

@media (max-width:768px){
    .gallery{
        padding: 8vh var(--horizontal-margin-spacing);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0;
    }
    .gallery-img {
        height: 200px;
        border-radius: 8px;
        width: 100%;
        object-fit: cover;
    }
    .gallery-title {
        font-size: 1.6rem;
        margin-bottom: 4vh;
    }
}

@media (max-width:480px){
    .gallery{
        padding: 6vh var(--horizontal-margin-spacing);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-img {
        height: 160px;
        border-radius: 6px;
    }
    .gallery-title {
        font-size: 1.3rem;
        margin-bottom: 3vh;
    }
}

/* <===================QUOTE===================> */
.quote{
    margin: 10vh 0;
}
.quote h1{
    width: 55vw;
    font-size: 4rem;
    text-align: center;
    margin: auto;
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-style: italic;
    line-height: 1.3;
    color: #444;
}
.author{
    text-align: center;
    margin: 20px 0 10px 0;
    font-style: italic;
}
.quote-author{
    text-align: center;
    font-size: 1.1rem;
    color: #8B4A8C;
    font-weight: 600;
    margin-bottom: 10vh;
    font-family: 'Cinzel', serif;
}
@media (max-width:1570px){
    .quote h1{
        font-size: 2rem;
        line-height: 2rem;
        width: 80vw;
    }
    .author{
        font-size: 1.1rem;
        line-height: 1.4;
        width: 85vw;
        margin: 20px auto 10px auto;
    }
}

@media (max-width:768px){
    .quote{
        margin: 8vh 0;
        padding: 0 var(--horizontal-margin-spacing);
    }
    .quote h1{
        font-size: 1.8rem;
        line-height: 2rem;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    .author{
        font-size: 1.2rem;
        line-height: 1.4;
        width: 100%;
        padding: 0;
        margin: 20px auto 10px auto;
    }
    .quote-author{
        font-size: 1rem;
    }
}

@media (max-width:480px){
    .quote{
        margin: 6vh 0;
    }
    .quote h1{
        font-size: 1.5rem;
        line-height: 1.8rem;
    }
    .author{
        font-size: 1.1rem;
        line-height: 1.3;
        margin: 15px auto 8px auto;
    }
    .quote-author{
        font-size: 0.9rem;
    }
}

/* <===================HANDS===================> */

.hands{
    height: 150vh;
    width: 100%;
    background-image: url(https://lh3.googleusercontent.com/d/1LvfMnGilzXEoi8maVYlF1ZPcSV6AQkHS);
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

@media (max-width:768px){
    .hands{
        height: 100vh;
        background-position: center;
    }
}

@media (max-width:480px){
    .hands{
        height: 80vh;
    }
}

    /* <===================STAY===================> */
    #stay{
        background-color: var(--grey-color);
        padding: 10vh var(--horizontal-margin-spacing);
        width: 100%;
}
.stay-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20vh 0;
    gap: 30px;
}

.stay-item {
    flex: 1;
    max-width: calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
}
.stay-item h3 {
    min-height: 60px;
    display: flex;
    align-items: center;
}
.stay-item .text{
    margin: 20px 0;
    flex: 1;
    min-height: 80px;
    display: flex;
    align-items: flex-start;
    font-family: 'Quicksand', 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    letter-spacing: 0.01em;
}
.links{
    cursor: pointer;
    text-decoration: underline;
}
.map-container {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 5px;
}
.map-container iframe {
    border-radius: 8px;
    display: block;
}
@media (max-width:1000px){
    #stay{
        padding: 8vh var(--horizontal-margin-spacing);
    }
    #stay h2 {
        text-align: center;
        margin-bottom: 5vh;
    }
    .stay-container{
        flex-direction: column;
        margin: 5vh 0;
        gap: 40px;
    }
    .stay-item{
        margin: 0;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    .stay-item h3 {
        text-align: center;
        margin-bottom: 15px;
    }
    .stay-item .text {
        text-align: center;
        margin-bottom: 20px;
    }
    .map-container {
        margin: 20px 0 0 0;
    }
}

@media (max-width:768px){
    #stay{
        padding: 6vh var(--horizontal-margin-spacing);
    }
    #stay h2 {
        font-size: 1.8rem;
        margin-bottom: 4vh;
    }
    .stay-container{
        gap: 30px;
        margin: 4vh 0;
    }
    .stay-item{
        padding: 18px;
    }
    .stay-item h3 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    .stay-item .text {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }
}

@media (max-width:480px){
    #stay{
        padding: 5vh var(--horizontal-margin-spacing);
    }
    #stay h2 {
        font-size: 1.5rem;
        margin-bottom: 3vh;
    }
    .stay-container{
        gap: 25px;
        margin: 3vh 0;
    }
    .stay-item{
        padding: 15px;
    }
    .stay-item h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .stay-item .text {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .map-container iframe {
        height: 180px;
    }
}

/* <===================GIFT SECTION===================> */

#gift-section {
    padding: 10vh var(--horizontal-margin-spacing);
    background-color: var(--grey-color-light);
    backdrop-filter: blur(4px);
}

.gift-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.gift-container h2 {
    margin-bottom: 30px;
    font-size: var(--h2-size);
}

.gift-intro {
    font-family: 'Quicksand', 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #444;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    margin: 40px auto 0 auto;
    max-width: 800px;
}

.qr-item {
    text-align: center;
    flex: 1;
    max-width: 300px;
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 74, 140, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
    align-items: center;
}

.qr-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 74, 140, 0.25);
    border-color: rgba(139, 74, 140, 0.3);
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    min-height: 60px;
}

.qr-icon {
    color: #E91E63;
    font-size: 1.2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.qr-item h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #2c2c2c;
    font-weight: 600;
}

.qr-code {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.qr-code:hover {
    border-color: #8B4A8C;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

.qr-item img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    object-fit: contain;
    margin: 20px auto;
    display: block;
    background: white;
    padding: 10px;
    cursor: pointer;
}

.qr-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.qr-info {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #gift-section {
        padding: 8vh var(--horizontal-margin-spacing);
    }
    .gift-container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    .gift-intro {
        font-size: 1.3rem;
        margin-bottom: 25px;
        padding: 0 5px;
        max-width: 100%;
        line-height: 1.6;
    }
    .qr-container {
        flex-direction: row;
        gap: 15px;
        align-items: stretch;
        margin: 25px auto 0 auto;
        max-width: 100%;
        justify-content: space-between;
    }
    
    .qr-item {
        max-width: none;
        width: 48%;
        padding: 20px 15px;
        min-height: 350px;
        margin: 0;
        flex: 1;
    }
    
    .qr-item img {
        width: 140px;
        height: 140px;
        margin: 10px auto;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .qr-item img:hover {
        transform: scale(1.05);
    }
    
    .qr-item h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .qr-info {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    #gift-section {
        padding: 6vh var(--horizontal-margin-spacing);
    }
    .gift-container h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .gift-intro {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.5;
        padding: 0;
    }
    .qr-container {
        flex-direction: row;
        gap: 10px;
        margin: 20px auto 0 auto;
        justify-content: space-between;
    }
    .qr-item {
        max-width: none;
        width: 48%;
        padding: 15px 10px;
        min-height: 300px;
        flex: 1;
    }
    .qr-item img {
        width: 110px;
        height: 110px;
        margin: 8px auto;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .qr-item img:hover {
        transform: scale(1.05);
    }
    .qr-item h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .qr-info {
        font-size: 0.7rem;
        margin-top: 6px;
    }
}

/* <===================REGISTRY===================> */

#registry{
    padding: 20vh var(--horizontal-margin-spacing) 0 var(--horizontal-margin-spacing); 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.registry-container{
    display: block;
    width: 30vw;
}
.registry-container .text{
    text-align: justify;
    margin: 20px 0;
    font-family: 'Quicksand', 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #444;
    letter-spacing: 0.01em;
}
.registry-img{
    display: block;
    height: 100vh;
    width: 40vw;
    background-image: url(https://lh3.googleusercontent.com/d/1p5a4_hTC0gcpooC6oC1ILPCXcdHiTU-L);
    background-size: cover;
    background-position-y: top;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
}
.registry-img-sm{
    display: none;
}
.registry-img-lg{
    display: block;
}
@media (max-width:1000px){
    #registry{
        flex-direction: column;
        padding: 15vh var(--horizontal-margin-spacing) 0 var(--horizontal-margin-spacing);
    }
    .registry-img{
        width: 100%;
        height: 50vh;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    .registry-img-sm{
        margin-top: 8vh;
        display: block;
    }
    .registry-img-lg{
        display: none;
    }
    .registry-container{
        width: 100%;
    }
    .registry-container h3{
        text-align: center;
        margin-bottom: 20px;
    }
    .registry-container .text{
        font-size: 1.2rem;
    }
    #registry button{
        margin-inline: auto;
    }
}

@media (max-width:768px){
    #registry{
        flex-direction: row;
        padding: 10vh var(--horizontal-margin-spacing) 0 var(--horizontal-margin-spacing);
        gap: 20px;
        align-items: flex-start;
    }
    .registry-container{
        width: 50%;
        flex-shrink: 0;
    }
    .registry-container h3{
        font-size: 1.6rem;
        margin-bottom: 15px;
        text-align: left;
    }
    .registry-container .text{
        font-size: 1.3rem;
        line-height: 1.6;
        text-align: justify;
    }
    .registry-img{
        height: 55vh;
        width: 45%;
        flex-shrink: 0;
        background-position: center center;
        background-size: cover;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    .registry-img-sm{
        display: none;
    }
    .registry-img-lg{
        display: block;
    }
}

@media (max-width:480px){
    #registry{
        flex-direction: row;
        padding: 8vh var(--horizontal-margin-spacing) 0 var(--horizontal-margin-spacing);
        gap: 15px;
        align-items: flex-start;
    }
    .registry-container{
        width: 52%;
        flex-shrink: 0;
    }
    .registry-container h3{
        font-size: 1.4rem;
        text-align: left;
        margin-bottom: 12px;
    }
    .registry-container .text{
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: justify;
    }
    .registry-img{
        height: 45vh;
        width: 43%;
        flex-shrink: 0;
        background-position: center center;
        background-size: cover;
        border-radius: 8px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    }
    .registry-img-sm{
        display: none;
    }
    .registry-img-lg{
        display: block;
    }
}


/* <===================PARTING MESSAGE===================> */
.parting-message {
    text-align: center;
    margin-top: 15vh;
    margin-bottom: 15vh;
    padding: 5vh var(--horizontal-margin-spacing);
    background: linear-gradient(135deg, rgba(139, 74, 140, 0.05) 0%, rgba(181, 101, 167, 0.05) 100%);
    border-radius: 20px;
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 10;
}

.parting-message h1{
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #8B4A8C 0%, #B565A7 50%, #D4A5C2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 6px rgba(139, 74, 140, 0.1);
}

.parting-message p {
    font-size: 1.5rem;
    color: #555;
    margin: 0;
    font-weight: 500;
}

.parting-message button{
    margin: 10vh auto;
}

@media (max-width:768px){
    .parting-message {
        margin-top: 10vh;
        margin-bottom: 10vh;
        padding: 4vh var(--horizontal-margin-spacing);
    }
    .parting-message h1{
        font-size: 3.5rem;
        margin-bottom: 25px;
        position: relative;
        z-index: 10;
    }
    .parting-message p {
        font-size: 1.3rem;
        line-height: 1.5;
    }
}

@media (max-width:480px){
    .parting-message {
        margin-top: 8vh;
        margin-bottom: 8vh;
        padding: 3vh var(--horizontal-margin-spacing);
    }
    .parting-message h1{
        font-size: 3rem;
        margin-bottom: 20px;
        line-height: 1.1;
        position: relative;
        z-index: 10;
    }
    .parting-message p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

/* <===================FOOTER===================> */

footer{
    margin-top: 20vh;
    height: fit-content;
    width: 100%;
    background-color: var(--grey-color);
    padding: 10vh 30px;
}
footer h2{
    font-size: 2Srem;
    font-weight: normal;
}