
:root {
    --sage: #879783;
    --sage-dark: #586B58;
    --sage-light: #B8C5B2;
    --cream: #F7F6F0;
    --white: #FFFFFF;
    --text: #414A40;
    --gold: #B5A078;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

/* STRONA GŁÓWNA */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background:
        linear-gradient(rgba(39, 54, 43, 0.48),
                        rgba(39, 54, 43, 0.58)),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?w=2000')
        center/cover no-repeat;
}

.navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: white;
}

.logo span {
    color: #D8C9A6;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #D8C9A6;
}

.hero-content {
    padding: 30px 20px;
    animation: fadeIn 1.5s ease;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--sage);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero .eyebrow {
    color: #E5E5D8;
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(65px, 10vw, 115px);
    font-weight: 400;
    line-height: 1.3;
    margin: 15px 0;
}

.hero h1 span {
    color: #D8C9A6;
}

.ornament {
    color: #D8C9A6;
    font-size: 35px;
    margin: 15px;
}

.hero-date {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
}

.hero-place {
    font-size: 13px;
    letter-spacing: 3px;
    margin-top: 8px;
}

.main-button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 28px;
    background: var(--sage);
    color: white;
    font-size: 11px;
    letter-spacing: 2px;
    transition: 0.3s;
    border: 1px solid var(--sage);
    cursor: pointer;
}

.main-button:hover {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    transform: translateY(-3px);
}

.scroll-hint {
    position: absolute;
    bottom: 25px;
    font-size: 10px;
    letter-spacing: 3px;
}

/* SEKCJE */

.section {
    padding: 100px 8%;
    text-align: center;
    max-width: 1300px;
    margin: auto;
}

.section h2,
.final-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--sage-dark);
    margin-bottom: 25px;
}

.section > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto;
    font-size: 14px;
}

/* ODLICZANIE */

.countdown {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.countdown div {
    min-width: 75px;
    display: flex;
    flex-direction: column;
}

.countdown strong {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--sage-dark);
    font-weight: 400;
}

.countdown span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
}

/* HISTORIA */

.story {
    background: #EEF0E9;
    max-width: none;
}

.story-content {
    max-width: 950px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.photo-placeholder {
    min-height: 350px;
    background: var(--sage-light);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

.story-text {
    text-align: left;
}

.story-text h3 {
    font-size: 27px;
    margin-bottom: 20px;
    color: var(--sage-dark);
}

.story-text p {
    font-size: 14px;
    margin-bottom: 20px;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 35px !important;
    color: var(--sage-dark);
}

/* MIEJSCE */

.location {
    padding-top: 110px;
    padding-bottom: 110px;
}

.palace-placeholder {
    max-width: 750px;
    margin: 35px auto;
    min-height: 300px;
}

/* PLAN DNIA */

.schedule {
    background: #EEF0E9;
    max-width: none;
}

.timeline {
    max-width: 650px;
    margin: 50px auto 0;
    text-align: left;
    border-left: 1px solid var(--sage-light);
    padding-left: 35px;
}

.timeline-item {
    position: relative;
    padding: 0 0 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -42px;
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--sage);
    border: 4px solid var(--cream);
}

.time {
    color: var(--sage);
    font-size: 10px;
    letter-spacing: 2px;
}

.timeline-item h3 {
    font-size: 23px;
    color: var(--sage-dark);
}

.timeline-item p {
    font-size: 13px;
}

/* GALERIA */

.gallery-grid {
    max-width: 950px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid .photo-placeholder {
    min-height: 260px;
}

/* FAQ */

.faq {
    background: #EEF0E9;
    max-width: none;
}

.faq details {
    max-width: 750px;
    margin: 12px auto;
    padding: 18px 22px;
    text-align: left;
    background: var(--cream);
    border: 1px solid #DDE2D7;
    cursor: pointer;
}

.faq summary {
    color: var(--sage-dark);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

.faq details p {
    font-size: 13px;
    margin-top: 12px;
}

/* ZAKOŃCZENIE */

.final-section {
    padding: 100px 20px;
    text-align: center;
    background: var(--sage);
    color: white;
}

.final-section .eyebrow {
    color: #E6EADD;
}

.final-section h2 {
    color: white;
}

.final-section h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 45px;
    margin-top: 30px;
}

.final-section p {
    font-size: 14px;
}

/* STOPKA */

footer {
    padding: 25px;
    text-align: center;
    background: #455545;
    color: white;
    font-size: 11px;
    letter-spacing: 1px;
}

/* ANIMACJE */

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

/* TELEFONY */

@media (max-width: 768px) {
    .navigation {
        padding: 15px;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 65px;
    }

    .section {
        padding: 70px 22px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid .photo-placeholder {
        min-height: 280px;
    }

    .countdown {
        gap: 20px;
    }

    .countdown strong {
        font-size: 34px;
    }

    .timeline {
        padding-left: 25px;
    }

    .timeline-item::before {
        left: -32px;
    }
}
