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

@font-face {
    font-family: 'NoirPro';
    src: url('fonts/NoirPro-Regular.woff2') format('woff2'),
        url('fonts/NoirPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NoirPro';
    src: url('fonts/NoirPro-Bold.woff2') format('woff2'),
        url('fonts/NoirPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pacifico';
    src: url('fonts/Pacifico-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* @import url('https://fonts.googleapis.com/css2?family=Cinzel&family=Quicksand&display=swap'); */

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

:root {
    --h1-size: 2rem;
    --h2-size: 1.5rem;
    --h3-size: 1.2rem;
    --text-size: 1rem;
    --horizontal-margin-spacing: 1.5rem;
    --grey-color-light: rgba(232, 230, 230, .6);
    --grey-color: rgba(232, 230, 230, 1);
    --mobile-width: 450px;
    /* Wider mobile width */
}

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

* {
    box-sizing: border-box;
    margin: 0;
    font-family: 'NoirPro', serif;
    color: #212121;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: var(--mobile-width);
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
    background-color: white;
    min-height: 100vh;
}

.hz-margin {
    padding: 0 var(--horizontal-margin-spacing);
}

h1 {
    font-size: var(--h1-size);
    font-weight: 500;
    line-height: var(--h1-size);
}

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: 'NoirPro', sans-serif;
    font-size: var(--text-size);
    line-height: 1.3rem;
}

.huge-btn {
    display: block;
    font-size: 1rem;
    background: transparent;
    border: 1px solid #212121;
    padding: 15px 30px;
    border-radius: 50px;
    width: fit-content;
    margin: 20px 0;
}

.huge-btn:hover {
    color: grey;
    border-color: grey;
}

.v-reposition-container {
    position: relative;
    left: 0;
    width: 100%;
}

.h-reposition-container {
    width: 100%;
    position: relative;
    top: 0;
}

/* <===================NAVBAR===================> */

nav {
    height: 3vh;
    width: 100%;
    margin-bottom: 10vh;
}

label.logo {
    font-size: 20px;
    line-height: 80px;
    padding: 0 0 0 20px;
    font-weight: bold;
}

nav ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(5px);
    top: 80px;
    font-weight: bold;
    left: -100%;
    text-align: center;
    transition: all .5s;
    list-style: none;
    z-index: 1000;
}

nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
}

nav ul li a {
    font-family: 'NoirPro', sans-serif;
    font-size: 20px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

a:hover {
    color: orange;
    transition: .5s;
}

.checkbtn {
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: block;
}

#check {
    display: none;
}

a:hover,
a.active {
    background: none;
    color: grey;
}

#check:checked~ul {
    left: 0;
}

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

.container-out {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
}

.home-img {
    background-image: url(./images/1.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.home-img-sm {
    display: block;
    width: 100%;
    margin: 20px 0 0 0;
    height: 50vh;
}

#home-img-lg {
    display: none;
}

/* <===================VENUE DETAILS===================> */
.venue-details {
    background-color: #fff;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 2rem var(--horizontal-margin-spacing);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.venue-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(180deg, rgba(249, 246, 246, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.venue-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg, rgba(249, 246, 246, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.venue-details>* {
    position: relative;
    z-index: 1;
}

.venue-details p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.venue-details p::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

.venue-info {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    position: relative;
}

.venue-name {
    font-family: 'NoirPro', serif;
    font-size: 2.2rem;
    margin: 1rem 0;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.venue-name::before,
.venue-name::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    top: 50%;
}

.venue-name::before {
    left: -40px;
}

.venue-name::after {
    right: -40px;
}

.timing-info,
.countdown,
.venue-location {
    position: relative;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
}

.timing-info h3,
.countdown h3,
.venue-location h3 {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.timing-info .date {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

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

.timer-item .number {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timer-item:hover .number {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.timer-item .label {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.venue-location {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.venue-location .address {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.venue-location .venue-name {
    font-size: 1.3rem;
    margin: 0.8rem 0 1.8rem;
    color: #444;
}

.map-btn {
    background: linear-gradient(45deg, #28a745, #2ebd4e);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.map-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.map-btn:hover {
    background: linear-gradient(45deg, #218838, #27a844);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.map-btn:hover::before {
    left: 100%;
}

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

.timeline {
    display: block;
    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-container {
    display: flex;
    flex-direction: column;
    margin: 5vh 0;
}

.timeline-img {
    background-image: url(./images/2.jpeg);
    height: 50vh;
    width: 100%;
    background-position: center;
    background-size: cover;
}

.timings {
    margin: 20px 0;
}

.timeline-container .text {
    padding: 1rem 0;
}

/* Location button styling */
.location-btn {
    display: inline-block;
    background-color: #4285F4;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.location-btn i {
    color: white;
    margin-right: 5px;
}

.location-btn:hover {
    background-color: #3367d6;
    color: white;
}

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

#story {
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    margin: 5vh 0;
}

#story h3 {
    width: 100%;
    margin: 5px 0;
    font-size: var(--h3-size);
}

#story p {
    width: 100%;
    margin: 5px 0;
    font-size: var(--text-size);
    line-height: var(--text-size);
    text-align: justify;
}

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

.gallery {
    display: flex;
    flex-direction: column;
    padding: 5vh 0;
    justify-content: center;
    align-items: center;
}

.gallery-img {
    width: 100%;
    height: 400px;
    margin: 2px 0;
    background-size: cover;
    background-position: center;
}

.gallery-img:nth-child(1) {
    background-image: url(./images/3.jpeg);
    background-position-x: right;
}

.gallery-img:nth-child(3) {
    background-image: url(./images/4.jpeg);
}

.gallery-img:nth-child(2) {
    background-position-y: top;
    background-image: url(./images/5.jpeg);
    position: relative;
    left: 0;
}

/* <===================QUOTE===================> */
.quote {
    margin: 5vh 0;
}

.quote h1 {
    width: 100%;
    font-size: 1.8rem;
    line-height: 2rem;
    text-align: center;
    margin: auto;
}

.author {
    text-align: center;
    margin: 20px 0 5vh 0;
}

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

.hands {
    height: 50vh;
    width: 100%;
    background-image: url(./images/6.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* <===================STAY===================> */
#stay {
    background-color: var(--grey-color);
    padding: 5vh var(--horizontal-margin-spacing);
    width: 100%;
}

.stay-container {
    display: flex;
    flex-direction: column;
    margin: 2vh 0;
}

.stay-item {
    margin: 2vh 0;
}

.stay-item .text {
    margin: 20px 0;
}

.links {
    cursor: pointer;
    text-decoration: underline;
}

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

#registry {
    padding: 5vh var(--horizontal-margin-spacing);
    display: flex;
    flex-direction: column;
}

.registry-container {
    display: block;
    width: 100%;
    text-align: center;
}

.registry-container h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.registry-container .text {
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
}

.registry-container .venue-name {
    color: #4a7d3b;
    font-size: 2rem;
    margin: 1.5rem 0;
    font-weight: 500;
    text-transform: uppercase;
}

.registry-img {
    width: 100%;
    height: 50vh;
    background-image: url(./images/7.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.registry-img-sm {
    margin-top: 5vh;
    display: block;
}

.registry-img-lg {
    display: none;
}

#registry button {
    margin-inline: auto;
}

/* <===================PARTING MESSAGE===================> */
.parting-message h1 {
    margin-top: 5vh;
    text-align: center;
}

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

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

footer {
    margin-top: 10vh;
    height: fit-content;
    width: 100%;
    background-color: var(--grey-color);
    padding: 5vh 20px;
}

footer h2 {
    font-size: 1.5rem;
    font-weight: normal;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 90%;
    max-width: var(--mobile-width);
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.guest-options {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.guest-options button {
    padding: 10px 20px;
    border: 1px solid #212121;
    border-radius: 25px;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    width: 200px;
}

/* <===================AUDIO PLAYER===================> */
.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.audio-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.music-btn.audio-ready .audio-tooltip {
    opacity: 0;
}

.music-btn::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 0, 0, 0.3);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

.auyen-text {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 999;
    transform-origin: center;
}

.auyen-text span {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    text-align: center;
    transform-origin: center 60px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.music-btn:hover {
    transform: scale(1.1);
    background-color: #fff;
}

.music-btn i {
    font-size: 20px;
    color: #333;
}

.music-btn.audio-ready {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 15px rgba(0, 128, 0, 0.2);
}

.music-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}