/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #fafafa;
}

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

/* Countdown Section */
.countdown-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.countdown-container.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.countdown-content {
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.luxury-frame {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

.luxury-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    border-radius: 22px;
    z-index: -1;
}

.countdown-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: luxuryPulse 3s infinite;
    color: #d4af37;
}

.countdown-timer {
    margin: 2rem 0;
}

.countdown-number {
    font-size: 8rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    animation: luxuryBounce 1s ease-in-out;
    color: #ffd700;
    font-family: 'Cormorant Garamond', serif;
}

.countdown-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
    font-style: italic;
    animation: luxuryFade 2s infinite;
    color: #ffffff;
}

.luxury-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.divider-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.divider-diamond {
    color: #d4af37;
    font-size: 1.5rem;
    animation: luxuryTwinkle 2s infinite;
}

/* Golden Particles Animation */
.golden-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    color: #d4af37;
    font-size: 1rem;
    animation: particleFall linear infinite;
    opacity: 0.8;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle::before {
    content: '✦';
}

/* Main Content */
.main-content {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.main-content.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.luxury-card {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(20px);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    animation: slideInUp 1s ease-out;
    color: #d4af37;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: slideInUp 1s ease-out 0.3s both;
    color: #ffffff;
}

/* Birthday Message Section */
.birthday-message {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.luxury-frame-large {
    background: #ffffff;
    border: 3px solid #d4af37;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.luxury-frame-large::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    border-radius: 23px;
    z-index: -1;
}

.message-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.message-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.message-title i {
    color: #d4af37;
    animation: luxuryHeartbeat 2s ease-in-out infinite;
}

.message-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.luxury-elements {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.luxury-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.luxury-icon i {
    font-size: 2rem;
    color: #d4af37;
    animation: luxuryTwinkle 3s infinite;
}

.luxury-icon span {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.luxury-icon:nth-child(1) i { animation-delay: 0s; }
.luxury-icon:nth-child(2) i { animation-delay: 1s; }
.luxury-icon:nth-child(3) i { animation-delay: 2s; }

/* Trip Details Section */
.trip-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    text-align: center;
    color: #d4af37;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #d4af37;
}

.trip-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trip-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #d4af37;
    color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(20px);
}

.trip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.trip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.trip-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.trip-date, .trip-location, .trip-accommodation {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.trip-duration, .trip-description, .trip-note {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* Apartment Section */
.apartment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.apartment-swiper {
    margin-top: 3rem;
    padding: 0 20px;
}

.apartment-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 3px solid #d4af37;
    height: 400px;
}

.apartment-image-container:hover {
    transform: scale(1.05);
}

.apartment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.apartment-image-container:hover .apartment-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    color: #ffffff;
    padding: 2rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
}

.apartment-image-container:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.image-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
    margin: 0;
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: #d4af37 !important;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #d4af37;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #d4af37 !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #d4af37 !important;
}

/* Final Message Section */
.final-message {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
}

.final-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #d4af37;
}

.final-title i {
    color: #d4af37;
    animation: luxuryTwinkle 2s infinite;
}

.final-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-style: italic;
    color: #1a1a1a;
}

.love-message {
    margin-top: 2rem;
}

.love-message p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #d4af37;
}

/* Animations */
@keyframes luxuryPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

@keyframes luxuryFade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes particleFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes luxuryHeartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes luxuryTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-title {
        font-size: 2.5rem;
    }
    
    .countdown-number {
        font-size: 5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .message-title, .final-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .trip-info-grid {
        grid-template-columns: 1fr;
    }
    
    .luxury-frame {
        padding: 2rem;
    }
    
    .luxury-frame-large {
        padding: 2rem;
    }
    
    .luxury-elements {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .countdown-title {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .message-title, .final-title {
        font-size: 1.8rem;
    }
    
    .trip-card {
        padding: 2rem;
    }
    
    .luxury-frame {
        padding: 1.5rem;
    }
    
    .luxury-frame-large {
        padding: 1.5rem;
    }
    
    .luxury-elements {
        flex-direction: column;
        gap: 1.5rem;
    }
}
