/* Reset și setări generale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    background: #1a1a1a;
    color: #f5f5f5;
}

/* Ecran de întâmpinare */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at center, #2c1810, #1a1a1a, #0d0d0d);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

/* Particule aurii animate */
.golden-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 215, 0, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.7), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 215, 0, 0.5), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 8s linear infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(-10px); }
}

.welcome-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.golden-frame {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(218, 165, 32, 0.1));
    border: 3px solid;
    border-image: linear-gradient(45deg, #FFD700, #DAA520, #B8860B) 1;
    padding: 60px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 50px rgba(255, 215, 0, 0.3),
        inset 0 0 50px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.golden-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #DAA520, #B8860B, #FFD700);
    border-radius: 20px;
    z-index: -1;
    animation: rotate-border 4s linear infinite;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.age-display {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 20px 0;
    position: relative;
}

.age-display::before,
.age-display::after {
    content: '✦';
    position: absolute;
    top: 50%;
    font-size: 2rem;
    color: #DAA520;
    animation: twinkle 2s ease-in-out infinite;
}

.age-display::before {
    left: -60px;
    animation-delay: 0s;
}

.age-display::after {
    right: -60px;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.3; transform: translateY(-50%) scale(1.2); }
}

.welcome-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #DAA520;
    margin-bottom: 15px;
}

.welcome-date {
    font-size: 1.3rem;
    color: #f5f5f5;
    margin-bottom: 40px;
    font-weight: 300;
}

.open-button {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 18px 40px;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.open-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.open-button:hover .button-shine {
    left: 100%;
}

/* Elemente flotante */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.golden-leaf {
    position: absolute;
    font-size: 40px;
    filter: sepia(1) saturate(3) hue-rotate(35deg);
    opacity: 0.7;
}

.leaf1 {
    top: 20%;
    left: 15%;
    animation: float-leaf 8s ease-in-out infinite;
}

.leaf2 {
    top: 70%;
    right: 20%;
    animation: float-leaf 10s ease-in-out infinite;
    animation-delay: 2s;
}

.leaf3 {
    bottom: 30%;
    left: 25%;
    animation: float-leaf 12s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes float-leaf {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
}

/* Invitația principală */
.invitation {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

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

.hidden {
    display: none;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.7),
        rgba(44, 24, 16, 0.8),
        rgba(26, 26, 26, 0.7)
    );
    z-index: 2;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 90%;
    max-width: 600px;
}

.elegant-border {
    border: 3px solid;
    border-image: linear-gradient(45deg, #FFD700, #DAA520, #B8860B) 1;
    padding: 50px 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    position: relative;
}

.ornament {
    font-size: 3rem;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.top-ornament {
    margin-bottom: 20px;
}

.bottom-ornament {
    margin-top: 20px;
}

.celebrant-name {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.celebration-type {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #DAA520;
    margin-bottom: 10px;
}

.age-celebration {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.celebration-date {
    font-size: 1.8rem;
    color: #f5f5f5;
    margin-bottom: 10px;
    font-weight: 300;
}

.celebration-location {
    font-size: 1.3rem;
    color: #DAA520;
    font-style: italic;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 3;
}

.golden-arrow {
    font-size: 2rem;
    color: #FFD700;
    animation: float-arrow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes float-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Secțiuni */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

.elegant-section {
    background: linear-gradient(135deg, #2c1810, #1a1a1a);
    position: relative;
}

.elegant-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(218, 165, 32, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-divider {
    text-align: center;
    margin: 40px 0;
}

.divider-ornament {
    font-size: 3rem;
    color: #DAA520;
    text-shadow: 0 0 20px rgba(218, 165, 32, 0.6);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    border-radius: 2px;
}

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

.quote-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #DAA520;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
}

.elegant-separator {
    font-size: 1.5rem;
    color: #FFD700;
    margin: 30px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.invitation-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
}

/* Timeline eveniment */
.event-timeline {
    max-width: 800px;
    margin: 60px auto;
    position: relative;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #FFD700, #DAA520, #B8860B);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.marker-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    border: 4px solid #1a1a1a;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.timeline-content {
    width: 45%;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.timeline-time {
    font-size: 1.2rem;
    color: #DAA520;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Informații locație */
.venue-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.venue-details,
.dress-code-card {
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.venue-details h3,
.dress-code-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.venue-name {
    font-size: 1.5rem;
    color: #DAA520;
    font-weight: 600;
    margin-bottom: 10px;
}

.venue-address {
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.venue-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.dress-code-title {
    font-size: 1.3rem;
    color: #DAA520;
    font-weight: 600;
    margin-bottom: 15px;
}

.dress-code-desc {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Galerie memorii */
.elegant-gallery {
    background: linear-gradient(135deg, #1a1a1a, #2c1810);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #DAA520;
    margin-bottom: 60px;
    font-style: italic;
}

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

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    padding: 4px;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.gallery-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: all 0.4s ease;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 25px;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.gallery-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h4 {
    font-family: 'Playfair Display', serif;
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.card-overlay p {
    color: #e0e0e0;
    font-size: 0.95rem;
}

/* Secțiunea de dorințe */
.wishes-section {
    background: radial-gradient(ellipse at center, #2c1810, #1a1a1a);
}

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

.wish-card {
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.wish-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.wish-quote {
    font-size: 4rem;
    color: #DAA520;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
}

.wish-text {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    margin-top: 20px;
}

.wish-author {
    color: #DAA520;
    font-weight: 600;
    font-size: 0.95rem;
}

/* RSVP Section */
.golden-rsvp {
    background: linear-gradient(135deg, #1a1a1a, #2c1810, #1a1a1a);
    text-align: center;
}

.rsvp-text {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    color: #e0e0e0;
    line-height: 1.6;
}

.special-note {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    padding: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.special-note p {
    color: #ffb3b3;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.elegant-footer {
    background: #0d0d0d;
    text-align: center;
    padding: 60px 0;
    border-top: 3px solid;
    border-image: linear-gradient(45deg, #FFD700, #DAA520, #B8860B) 1;
}

.footer-ornament {
    font-size: 2rem;
    color: #DAA520;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.6);
}

.elegant-footer p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-date {
    font-family: 'Dancing Script', cursive;
    color: #FFD700;
    font-size: 1.3rem;
}

/* Music control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: none;
}

.music-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    border: none;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    color: #1a1a1a;
}

.music-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

/* Modal imagini */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.image-modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: scale(1.2);
    text-shadow: 0 0 20px #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2rem;
    }
    
    .age-display {
        font-size: 4rem;
    }
    
    .age-display::before,
    .age-display::after {
        display: none;
    }
    
    .celebrant-name {
        font-size: 2.5rem;
    }
    
    .age-celebration {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .venue-info {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-content {
        width: 90%;
        margin-top: 20px;
    }
    
    .event-timeline::before {
        display: none;
    }
    
    .wishes-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .golden-leaf {
        font-size: 25px;
    }
}