:root {
    --gold: #D4AF37;
    --dark: #1A1A1A;
    --light: #F9F6F0;
    --text-main: #333333;
    --text-muted: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-accent: 'Great Vibes', cursive;
}

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

body, html {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-heart {
    font-size: 3rem;
    color: var(--gold);
    animation: heartbeat 1s infinite alternate;
}

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

/* Cover Section */
.cover-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cover-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
}

.sub-title {
    font-family: var(--font-body);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.date {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.guest-info {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn-open {
    padding: 12px 30px;
    background-color: var(--gold);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-open:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
}

.hidden-content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.hidden-content.visible {
    display: block;
    opacity: 1;
}

/* Common Section */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.bg-light { background-color: var(--light); }
.bg-white { background-color: #FFFFFF; }
.bg-dark { background-color: var(--dark); color: white; }

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

/* Quote */
.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Profile */
.couple-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .couple-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
}

.person-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
    border: 5px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.person-name {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.heart-divider {
    font-size: 2.5rem;
    color: var(--gold);
    animation: heartbeat 2s infinite;
}

/* Event */
.event-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .event-cards {
        flex-direction: row;
    }
}

.event-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--gold);
}

.event-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.btn-maps {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 1rem;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-maps:hover {
    background: var(--text-main);
    color: white;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cd-box {
    background: var(--gold);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 70px;
}

.cd-box span {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Banks & Gift */
.bank-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.bank-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 10px;
}

.bank-name {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.bank-account {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.btn-copy {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: 0.3s;
}
.btn-copy:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Forms */
.form-input, .form-input-dark {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
}

.form-input-dark {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

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

/* Footer */
.footer {
    padding: 40px 20px;
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}

.footer-names {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--gold);
    margin: 20px 0;
}
