/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #faf9f6;
    font-weight: 500;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hero section - matches invitation design */
.hero {
    background: #faf9f6;
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 500px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Floral accent - matches invitation */
.floral-accent {
    margin-bottom: 25px;
    opacity: 0.7;
}

/* Names - elegant script font */
.names {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #2c2c2c;
    margin-bottom: 15px;
    line-height: 1.1;
}

/* Invitation text */
.invitation-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    line-height: 1.6;
}

/* Date and time section */
.date-time {
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #9CAF88;
    border-bottom: 1px solid #9CAF88;
}

.date {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
    line-height: 1.4;
}

.time {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2c2c2c;
    letter-spacing: 0.8px;
}

/* Venue section */
.venue {
    margin-top: 25px;
}

.venue-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
}

.venue-address {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Countdown section */
.countdown-section {
    background: #faf9f6;
    padding: 40px 0;
    text-align: center;
}

.countdown-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

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

.countdown-item {
    background: white;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 80px;
    border: 1px solid #9CAF88;
}

.countdown-item .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #9CAF88;
    margin-bottom: 4px;
}

.countdown-item .label {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Details section */
.details-section {
    padding: 40px 0;
    background: #faf9f6;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.detail-card {
    text-align: center;
    padding: 30px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #9CAF88;
    transition: all 0.3s ease;
    position: relative;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: #7A8B6A;
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #9CAF88;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.detail-card p {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
}

.registry-btn {
    display: inline-block;
    background: #9CAF88;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 1px solid #9CAF88;
}

.registry-btn:hover {
    background: #7A8B6A;
    border-color: #7A8B6A;
    transform: translateY(-1px);
}

/* Timeline section */
.timeline-section {
    background: #faf9f6;
    padding: 40px 0;
    text-align: center;
}

.timeline-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 1px;
    background: #9CAF88;
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.timeline-time {
    background: #9CAF88;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 3;
    min-width: 80px;
    text-align: center;
    margin-bottom: 15px;
}

.timeline-time::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #9CAF88;
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    background: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #9CAF88;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: #7A8B6A;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.timeline-content p {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    line-height: 1.4;
    margin: 0;
}



/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .names {
        font-size: 2.8rem;
    }
    
    .invitation-text {
        font-size: 0.9rem;
    }
    
    .date {
        font-size: 1.1rem;
    }
    
    .time {
        font-size: 0.9rem;
    }
    
    .venue-name {
        font-size: 1rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .countdown-item .number {
        font-size: 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline {
        max-width: 600px;
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
        text-align: left;
        max-width: 100%;
    }
    
    .timeline-time {
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .timeline-time::after {
        display: none;
    }
    
    .timeline-content {
        flex: 1;
        text-align: left;
    }
    
    .countdown-section h2,
    .details-section h2,
    .timeline-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 15px 10px;
    }
    
    .names {
        font-size: 2.2rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .countdown-item .number {
        font-size: 1.3rem;
    }
    
    .countdown-item .label {
        font-size: 0.7rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}


