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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    font-weight: 300;
}

/* Ecran de întâmpinare */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

/* Fundal geometric */
.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a1a1a, #666);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #1a1a1a;
}

.square {
    width: 100px;
    height: 100px;
    background: #1a1a1a;
    transform: rotate(45deg);
}

.floating-shapes .shape:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shapes .shape:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-shapes .shape:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

.floating-shapes .shape:nth-child(4) {
    top: 40%;
    right: 40%;
    animation-delay: 15s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(15px) rotate(240deg);
    }
}

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

/* Card minimal */
.minimal-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    padding: 80px 60px;
    max-width: 500px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
}

.minimal-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #f8f9fa;
    pointer-events: none;
}

.couple-initials {
    font-family: 'Crimson Text', serif;
    font-size: 4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.couple-names-minimal {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.wedding-date-minimal {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.wedding-location-minimal {
    font-size: 1rem;
    color: #999;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.minimal-button {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.minimal-button:hover {
    background: #333;
    transform: translateY(-2px);
}

.button-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.minimal-button:hover .button-line {
    width: 100%;
}

/* Invitația principală */
.invitation {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
    background: #ffffff;
}

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

.hidden {
    display: none;
}

/* Hero minimal */
.hero-minimal {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    padding: 0 40px;
}

.hero-left {
    text-align: right;
}

.date-block {
    display: inline-block;
    text-align: center;
}

.day {
    font-family: 'Crimson Text', serif;
    font-size: 6rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 0.8;
    margin-bottom: 10px;
}

.month {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.3em;
    margin-bottom: 5px;
}

.year {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #999;
    letter-spacing: 0.2em;
}

.hero-center {
    text-align: center;
}

.couple-photo {
    width: 300px;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.couple-photo:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.hero-right {
    text-align: left;
}

.names-hero {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    color: #1a1a1a;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: #666;
    transition: all 0.3s ease;
}

.scroll-down:hover .scroll-line {
    background: #1a1a1a;
    height: 80px;
}

.scroll-down span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Container minimal */
.container-minimal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Secțiuni */
section {
    padding: 120px 0;
    border-bottom: 1px solid #f0f0f0;
}

.text-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 100px;
    align-items: start;
}

.text-left {
    position: sticky;
    top: 120px;
}

.section-number {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title-minimal {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
}

.text-right {
    padding-top: 60px;
}

/* Text invitație */
.invitation-paragraph {
    font-size: 1.2rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
}

.invitation-paragraph:last-child {
    font-weight: 400;
    color: #1a1a1a;
}

/* Evenimente */
.events-list {
    max-width: 700px;
}

.event-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px 0;
}

.event-time {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.1em;
}

.event-details h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.event-details p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 4px;
}

.event-address {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.event-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

/* Timeline minimal */
.timeline-minimal {
    max-width: 600px;
}

.timeline-item-minimal {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.timeline-item-minimal:hover {
    background: #fafafa;
    margin: 0 -20px;
    padding: 20px;
}

.timeline-time {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.1em;
}

.timeline-content {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 300;
}

/* Galerie minimală */
.gallery-minimal {
    max-width: 800px;
}

.gallery-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-row:nth-child(even) {
    grid-template-columns: 1fr 2fr;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item.large {
    aspect-ratio: 3/4;
}

.gallery-item.small {
    aspect-ratio: 1/1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    padding: 20px;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .image-caption {
    transform: translateY(0);
}

/* Informații */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 800px;
}

.info-card-minimal {
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-card-minimal h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.info-card-minimal p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-note {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* RSVP */
.rsvp-section {
    background: #f8f9fa;
    border-bottom: none;
}

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

.rsvp-text h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.rsvp-deadline {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.3em;
    margin-bottom: 30px;
}

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

.rsvp-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rsvp-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.rsvp-method:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateX(10px);
}

.method-arrow {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.rsvp-method:hover .method-arrow {
    transform: translateX(5px);
}

/* Footer */
.footer-minimal {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.footer-content {
    max-width: 400px;
    margin: 0 auto;
}

.footer-names {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-date {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.footer-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #999;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

.music-button-minimal {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.music-button-minimal:hover {
    background: #333;
    transform: scale(1.1);
}

.music-icon {
    display: flex;
    gap: 2px;
    align-items: end;
}

.sound-wave {
    width: 3px;
    background: #ffffff;
    border-radius: 2px;
    animation: soundWave 1.5s ease-in-out infinite;
}

.wave1 {
    height: 12px;
    animation-delay: 0s;
}

.wave2 {
    height: 20px;
    animation-delay: 0.2s;
}

.wave3 {
    height: 16px;
    animation-delay: 0.4s;
}

@keyframes soundWave {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(0.3);
        opacity: 1;
    }
}

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

.image-modal img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

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

.modal-close:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-right {
        text-align: center;
    }
    
    .couple-photo {
        width: 250px;
        height: 350px;
    }
    
    .text-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .text-left {
        position: static;
    }
    
    .text-right {
        padding-top: 0;
    }
    
    .container-minimal {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .minimal-card {
        padding: 60px 40px;
        margin: 0 20px;
    }
    
    .couple-initials {
        font-size: 3rem;
    }
    
    .couple-names-minimal {
        font-size: 2rem;
    }
    
    .day {
        font-size: 4rem;
    }
    
    .names-hero {
        font-size: 2.5rem;
    }
    
    .section-title-minimal {
        font-size: 2rem;
    }
    
    .couple-photo {
        width: 200px;
        height: 280px;
    }
    
    .gallery-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-row:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-item-minimal {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    section {
        padding: 80px 0;
    }
}