/* ==========================================================================
   Strona ślubna Hania i Wojtek - Style
   Motyw: Lawenda / Fioletowo-zielony
   ========================================================================== */

/* Zmienne CSS - paleta kolorów */
:root {
    --color-lavender: #9B7BB8;
    --color-lavender-light: #E8DFF5;
    --color-lavender-pale: #F5F0FA;
    --color-green: #6B8E4E;
    --color-green-light: #8FB06A;
    --color-text: #4A4A4A;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;
    
    --font-calligraphy: 'Alex Brush', cursive;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;
}

/* Reset i podstawy */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-elegant);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    background-color: var(--color-white);
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Akwarelowe tło
   ========================================================================== */

.watercolor-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.watercolor-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
}

/* ==========================================================================
   Kontener główny
   ========================================================================== */

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    
    /* Animacja fade-in */
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Główna treść
   ========================================================================== */

.content {
    text-align: center;
    padding: 1.5rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    margin: 3rem 1rem;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(155, 123, 184, 0.15);
}

/* Imiona - styl kaligraficzny */
.names {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.name {
    font-family: var(--font-calligraphy);
    font-size: clamp(3rem, 11vw, 6rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.1;
    animation: fadeIn 1.5s ease-out 0.3s backwards;
}

.name:last-of-type {
    animation-delay: 0.5s;
}

/* Separator "i" z liniami */
.separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
    animation: fadeIn 1.5s ease-out 0.4s backwards;
}

.line {
    width: 60px;
    height: 1px;
    background-color: var(--color-text-light);
}

.and {
    font-family: var(--font-calligraphy);
    font-size: 2rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Data */
.date-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out 0.6s backwards;
}

.date-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-lavender), transparent);
}

.date {
    font-family: var(--font-elegant);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-lavender);
}

/* Wiadomość "coming soon" */
.message {
    font-family: var(--font-elegant);
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    line-height: 1.8;
    animation: fadeIn 1.5s ease-out 0.8s backwards;
}

/* ==========================================================================
   Responsywność
   ========================================================================== */

/* Tablet */
@media (min-width: 768px) {
    .content {
        padding: 3rem 2rem;
        margin: 2rem;
    }
    
    .line {
        width: 80px;
    }
    
    .date-line {
        width: 100px;
    }
    
    .date {
        font-size: 1.8rem;
    }
    
    .message {
        font-size: 1.25rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .content {
        padding: 4rem 3rem;
        margin: 3rem;
    }
    
    .line {
        width: 100px;
    }
    
    .date-line {
        width: 120px;
    }
}

/* Duże ekrany */
@media (min-width: 1400px) {
    .content {
        padding: 5rem 4rem;
    }
}

/* Preferencje użytkownika - reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
