:root {
    --gold: #b39b5b;
    --gold-light: #e2d1a3;
    --text-dark: #3a3a3a;
    --text-light: #5c5c5c;
    --bg-color: #fcfaf7;
    --border-color: rgba(179, 155, 91, 0.3);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gold-light);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loader-text {
    font-family: 'Great Vibes', cursive;
    color: var(--gold);
    font-size: 2rem;
}
.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Floral Corners */
.floral-corner {
    position: absolute;
    width: 35vw;
    height: 35vw;
    max-width: 300px;
    max-height: 300px;
    min-width: 200px;
    min-height: 200px;
    background-image: url('assets/floral.png?v=2.0');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.9;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.floral-top-left {
    top: 0;
    left: 0;
}

.floral-bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

.container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 3rem auto;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    background: rgba(252, 250, 247, 0.92);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(5px);
}

@media (max-width: 650px) {
    .container {
        margin: 1.5rem;
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 400px) {
    .container {
        margin: 1rem;
        padding: 2.5rem 1rem;
    }
}

.quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    position: relative;
}

.bottom-quote {
    margin-top: 3.5rem;
    margin-bottom: 0;
    font-size: 1rem;
}

.quote-ornament {
    color: var(--gold);
    font-size: 1.5rem;
    font-style: normal;
    margin-top: 1rem;
}

.bottom-ornament {
    margin-top: 1.5rem;
}

.bible-verse {
    display: block;
    margin-top: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.intro {
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    line-height: 2;
}

.names {
    margin-bottom: 3.5rem;
}

.name {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--gold);
    font-weight: 400;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .name {
        font-size: 3.2rem;
    }
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.details-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.event-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.row-detail {
    flex-direction: row;
}

.column-detail {
    flex-direction: column;
    gap: 1rem;
}

.icon {
    width: 45px;
    height: 45px;
    color: var(--gold);
    flex-shrink: 0;
}

.column-detail .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 0.2rem;
}

/* Specific Date Styling */
.date-section .text {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-align: left;
}

.day,
.month-year {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--text-light);
    line-height: 1.5;
}

.date-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    line-height: 1;
}

.column-detail h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.column-detail p {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.8px;
    line-height: 1.8;
}

p.venue-name {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 0.2rem !important;
    text-transform: none;
    letter-spacing: 0 !important;
}

@media (max-width: 480px) {
    p.venue-name {
        font-size: 3.2rem;
    }
}

.time {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin-top: 0.8rem;
}

.divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.btn-location {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2.5rem;
    background-color: var(--gold);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 155, 91, 0.2);
}

.btn-location:hover {
    background-color: #9a8349;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 155, 91, 0.4);
}

.btn-icon-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--gold);
    color: var(--gold);
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: 0;
}

.btn-icon-outline:hover {
    background-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(179, 155, 91, 0.3);
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-credit {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
    background: #fff;
    padding: .33rem;
}

.footer-credit a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #9a8349;
    text-decoration: underline;
}

.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gold);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(179, 155, 91, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.music-toggle:hover {
    background-color: #9a8349;
    transform: scale(1.05);
}