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

:root {
    --gold: #b8860b;
    --gold-light: #d4a843;
    --cream: #faf8f3;
    --cream-dark: #f0ead6;
    --text: #3a3226;
    --text-light: #6b5e4f;
    --sage: #8a9a7b;
    --sage-light: #c5d1bc;
    --rose: #d4a0a0;
    --rose-light: #f0d6d6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Decorative background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 154, 123, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(212, 160, 160, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    position: relative;
}


.floral-top {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.pomenka {
    width: 36px;
    height: 36px;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 10px;
}

.hero h1 .amp {
    font-style: italic;
    color: var(--gold);
    display: block;
    font-size: 0.5em;
    margin: 5px 0;
}

.divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 30px auto;
}

.hero-date {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    letter-spacing: 3px;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease infinite;
    color: var(--gold-light);
    font-size: 1.5rem;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 500;
}

section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

/* Countdown */
.countdown-section {
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
    border-top: 1px solid rgba(184, 134, 11, 0.1);
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.countdown-item {
    background: white;
    border-radius: 16px;
    padding: 24px 16px;
    min-width: 110px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(184, 134, 11, 0.1);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-4px);
}

.countdown-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}

/* Details Cards */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(184, 134, 11, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.detail-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
    height: 2.5rem;
    line-height: 2.5rem;
}

.detail-icon--rings {
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon--rings svg {
    height: 36px;
    width: auto;
}

.detail-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text);
}

.detail-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    max-width: 500px;
    margin: 40px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-light), transparent);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gold);
    z-index: 1;
}

.timeline-content h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.timeline-time {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
    font-weight: 500;
}

/* Quote */
.quote-section {
    text-align: center;
    padding: 100px 24px;
    position: relative;
}

.quote-section blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-style: italic;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.quote-section blockquote::before {
    content: '\201E';
    display: block;
    font-size: 4rem;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 24px 40px;
    border-top: 1px solid rgba(184, 134, 11, 0.1);
}

.footer-names {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-date {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
}

.footer-hearts {
    margin-top: 24px;
    color: var(--rose);
    font-size: 1.2rem;
    letter-spacing: 8px;
    opacity: 0.6;
}

/* Rozlučka */
.rozlucka-section {
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
    border-top: 1px solid rgba(184, 134, 11, 0.1);
    padding-bottom: 60px;
}

.rozlucka-section .divider {
    margin-bottom: 40px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 12px;
    }
    .countdown-item {
        min-width: 70px;
        padding: 16px 10px;
    }
    .countdown-number {
        font-size: 2rem;
    }
    section {
        padding: 60px 0;
    }
    .detail-card {
        padding: 30px 20px;
    }
}
