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

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

.hidden {
    display: none !important;
}

/* Ecran de întâmpinare */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1465495976277-4387d4b0b4c6?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.welcome-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 230, 232, 0.85);
    z-index: -1;
}

.welcome-content {
    text-align: center;
    animation: fadeIn 1s ease-in;
}

.welcome-title {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: #8b5a5a;
    margin-bottom: 1rem;
}

.welcome-date {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

.open-button {
    background: #8b5a5a;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.open-button:hover {
    background: #6d4747;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animații */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Invitația principală */
.invitation {
    min-height: 100vh;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

/* Elemente decorative de fundal */
.invitation::before,
.invitation::after {
    content: '';
    position: fixed;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.invitation::before {
    top: 10%;
    left: -200px;
    width: 400px;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=400&h=400&fit=crop');
    background-size: cover;
    transform: rotate(15deg);
}

.invitation::after {
    bottom: 10%;
    right: -200px;
    width: 400px;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1522836924445-4478bdeb860c?w=400&h=400&fit=crop');
    background-size: cover;
    transform: rotate(-15deg);
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 6rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.wedding-date {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.wedding-location {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Container general */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Titluri secțiuni */
.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #8b5a5a;
    text-align: center;
    margin-bottom: 2rem;
}

/* Mesaj invitație */
.invitation-message {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.message-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    font-size: 2rem;
    color: #e8d5d5;
    margin-top: 2rem;
}

/* Detalii eveniment */
.event-details {
    padding: 80px 0;
    background: #f9f9f9;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #8b5a5a;
    margin: 20px 0 10px;
    text-align: center;
}

.event-time {
    font-size: 1.5rem;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.event-location {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-top: 10px;
}

.event-address {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    padding: 0 20px 10px;
}

.event-map {
    padding: 0 20px 20px;
}

/* Galerie foto */
.photo-gallery {
    padding: 80px 0;
    background: white;
    position: relative;
}

.photo-gallery::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 250px;
    height: 250px;
    background-image: url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?w=250&h=250&fit=crop');
    background-size: cover;
    opacity: 0.04;
    transform: rotate(10deg);
    z-index: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

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

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

/* RSVP Section */
.rsvp-section {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.rsvp-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-info {
    font-size: 1.1rem;
    color: #666;
}

.contact-info p {
    margin: 10px 0;
}

/* Map links */
.map-link {
    display: inline-block;
    margin-top: 10px;
    color: #8b5a5a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #6d4747;
}

/* Timeline section */
.timeline-section {
    padding: 80px 0;
    background: white;
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 300px;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=300&h=300&fit=crop');
    background-size: cover;
    opacity: 0.05;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e8d5d5;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #8b5a5a;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-date {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b5a5a;
    margin-bottom: 10px;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #8b5a5a;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Info section */
.info-section {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.info-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #8b5a5a;
    margin-bottom: 20px;
}

.dress-code-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

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

.dress-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.info-text {
    color: #666;
    line-height: 1.6;
}

/* Map section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: white;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

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

/* Music control button */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #8b5a5a;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.music-control:hover {
    background: #6d4747;
    transform: scale(1.1);
}

.music-control svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Footer */
.footer {
    background: #8b5a5a;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-names {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 10px !important;
    }
    
    .dress-code-icons {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 3.5rem;
    }
    
    .couple-names {
        font-size: 4rem;
    }
    
    .wedding-date {
        font-size: 1.5rem;
    }
    
    .wedding-location {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .event-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .couple-names {
        font-size: 3rem;
    }
    
    .message-text {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}