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

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: #8B4B8C;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

.wedding-date {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.wedding-time {
    font-size: 1.4rem;
    color: #888;
    font-style: italic;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    padding: 60px 0;
    background: rgba(255,255,255,0.8);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.countdown-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #8B4B8C;
    margin-bottom: 40px;
    font-weight: 600;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    background: linear-gradient(135deg, #8B4B8C 0%, #A569BD 100%);
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(139, 75, 140, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 75, 140, 0.4);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', serif;
}

.countdown-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Message Section */
.message-section {
    text-align: center;
    padding: 60px 0;
    background: rgba(255,255,255,0.9);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.message-content h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #8B4B8C;
    margin-bottom: 20px;
    font-weight: 600;
}

.message-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.location-info {
    background: rgba(139, 75, 140, 0.1);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid rgba(139, 75, 140, 0.2);
}

.location-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.location-info strong {
    color: #8B4B8C;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 1rem;
}

.footer p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        margin: 10px;
        padding: 60px 0 40px;
    }
    
    .couple-names {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1.4rem;
    }
    
    .wedding-time {
        font-size: 1.2rem;
    }
    
    .countdown-section {
        margin: 10px;
        padding: 40px 0;
    }
    
    .countdown-title {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.9rem;
    }
    
    .message-section {
        margin: 10px;
        padding: 40px 0;
    }
    
    .message-content h3 {
        font-size: 1.8rem;
    }
    
    .message-content p {
        font-size: 1rem;
    }
    
    .location-info {
        padding: 20px;
        margin: 0 10px;
    }
    
    .location-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

/* Animation for countdown numbers */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-number.updating {
    animation: pulse 0.3s ease-in-out;
}

/* Floating hearts animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-section::before {
    content: '💕';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0.7;
}

.hero-section::after {
    content: '💖';
    position: absolute;
    top: 30%;
    right: 10%;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite reverse;
    opacity: 0.7;
}
