@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');


/* =========================================================
   MARTYNA I BARTEK
   30.04.2027
   ========================================================= */


/* ---------- VARIABLES ---------- */

:root {
    --cream: #f5f1e8;
    --cream-light: #fbf9f4;
    --ink: #26342f;
    --muted: #6f7771;
    --lake: #294b43;
    --lake-dark: #19352f;
    --sand: #ddd1bd;
    --line: rgba(38, 52, 47, 0.18);

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}


/* ---------- BASE ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.94;
}

p {
    line-height: 1.75;
}


/* ---------- COMMON ---------- */

.section {
    padding: 120px 32px;
}

.section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 22px;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.wave {
    margin: 22px 0 28px;
    color: var(--lake);
    font-family: var(--serif);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 27px;
    border: 1px solid var(--lake);
    border-radius: 999px;

    background: var(--lake);
    color: #fff;

    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 180ms ease,
        background 180ms ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: var(--lake-dark);
}

button.button:disabled {
    cursor: default;
    opacity: 0.75;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    display: flex;
    min-height: 100svh;
    overflow: hidden;
    flex-direction: column;

    color: var(--ink);

    background:
        linear-gradient(
            to bottom,
            rgba(245, 241, 232, 0.15) 0%,
            rgba(245, 241, 232, 0.03) 42%,
            rgba(25, 53, 47, 0.20) 100%
        ),
        url("/images/hero-lake.webp");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*
   Delikatna fala przechodząca z fotografii
   do następnej sekcji.
*/

.hero::after {
    position: absolute;
    z-index: 1;

    right: -10%;
    bottom: -58px;
    left: -10%;

    height: 115px;

    border-radius: 50% 50% 0 0;
    background: var(--cream-light);

    content: "";
}


/* ---------- NAVIGATION ---------- */

.nav {
    position: relative;
    z-index: 5;

    display: flex;
    width: min(1300px, calc(100% - 64px));
    align-items: center;
    justify-content: space-between;

    margin: 0 auto;
    padding: 32px 0;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
}

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

.nav-links a {
    position: relative;

    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links a::after {
    position: absolute;

    right: 0;
    bottom: -7px;
    left: 0;

    height: 1px;

    background: var(--ink);

    content: "";

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 180ms ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}


/* ---------- HERO CONTENT ---------- */

.hero-content {
    position: relative;
    z-index: 3;

    width: min(900px, calc(100% - 40px));

    margin: auto auto 10px;

    text-align: center;
}

.hero-content .eyebrow {
    margin-bottom: 25px;
}

.hero h1 {
    margin: 0;

    font-size: clamp(5rem, 11vw, 9.5rem);
    letter-spacing: -0.045em;
    line-height: 0.7;
}

.hero h1 span {
    display: block;

    margin: 22px 0 17px;

    font-size: 0.34em;
    font-style: italic;
    letter-spacing: 0;
}

.hero-location {
    margin-bottom: 0;

    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}


/*
   Lekki cień zamiast ciężkiej warstwy
   przyciemniającej całe zdjęcie.
*/

.hero-content,
.nav,
.countdown-wrapper {
    text-shadow:
        0 1px 12px rgba(255, 255, 255, 0.30);
}


/* ---------- COUNTDOWN ---------- */

.countdown-wrapper {
    position: relative;
    z-index: 3;

    margin: 40px auto 150px;

    text-align: center;
}

.countdown-title {
    margin-bottom: 22px;

    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.countdown {
    display: flex;
    justify-content: center;
}

.countdown > div {
    min-width: 105px;

    padding: 0 26px;

    border-right: 1px solid rgba(38, 52, 47, 0.25);
}

.countdown > div:last-child {
    border-right: 0;
}

.countdown strong {
    display: block;

    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1;
}

.countdown span {
    display: block;

    margin-top: 9px;

    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


/* ---------- SCROLL ARROW ---------- */

.scroll-down {
    position: absolute;
    z-index: 5;

    bottom: 70px;
    left: 50%;

    color: #fff;

    font-size: 1.5rem;
    text-decoration: none;

    transform: translateX(-50%);

    animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    position: relative;

    background: var(--cream-light);
}

.intro-grid {
    display: grid;

    align-items: center;
    gap: 90px;

    grid-template-columns: 0.85fr 1.15fr;
}

.intro-text {
    max-width: 500px;
}

.lead {
    max-width: 440px;

    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.5;
}

.signature {
    margin-top: 35px;

    font-family: var(--serif);
    font-size: 2rem;
    font-style: italic;
}


/* ---------- FUTURE COUPLE PHOTO ---------- */

.lake-placeholder {
    position: relative;

    display: flex;

    min-height: 480px;
    overflow: hidden;

    align-items: center;
    justify-content: center;

    border-radius:
        52% 48% 45% 55%
        /
        42% 48% 52% 58%;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(255, 215, 164, 0.95),
            transparent 30%
        ),
        linear-gradient(
            to bottom,
            #cfd9d6 0%,
            #e2c9ad 49%,
            #6e8982 50%,
            #31554d 100%
        );
}

.lake-placeholder::after {
    position: absolute;

    right: 15%;
    bottom: 0;

    width: 34%;
    height: 65%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(20, 52, 43, 0.5)
        );

    content: "";

    clip-path:
        polygon(
            65% 0,
            100% 0,
            100% 100%,
            0 100%
        );
}

.lake-placeholder div {
    position: relative;
    z-index: 2;

    padding: 20px 28px;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.20);

    backdrop-filter: blur(8px);

    color: #fff;

    text-align: center;
}

.lake-placeholder span,
.lake-placeholder small {
    display: block;
}

.lake-placeholder span {
    font-family: var(--serif);
    font-size: 1.5rem;
}

.lake-placeholder small {
    margin-top: 3px;

    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* =========================================================
   CEREMONY
   ========================================================= */

.ceremony {
    background: #e9e0d2;
}

.ceremony-grid {
    display: grid;

    align-items: center;
    gap: 100px;

    grid-template-columns: 1fr 1fr;
}

.ceremony h2 {
    margin-bottom: 5px;

    font-size: clamp(3rem, 5vw, 4.5rem);
}

.ceremony-time {
    font-family: var(--serif);
    font-size: 2rem;
}

.location-card {
    padding-left: 70px;

    border-left: 1px solid rgba(38, 52, 47, 0.20);
}

.location-card h3 {
    margin-bottom: 12px;

    font-size: 2.6rem;
}

.location-card p {
    margin-bottom: 30px;
}


/* =========================================================
   INFORMATION
   ========================================================= */

.information {
    background: var(--cream-light);
}

.section-heading {
    margin-bottom: 70px;

    text-align: center;
}

.section-heading h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
}

.info-grid {
    display: grid;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    grid-template-columns: repeat(3, 1fr);
}

.info-grid article {
    padding: 45px 50px;

    border-right: 1px solid var(--line);

    text-align: center;
}

.info-grid article:last-child {
    border-right: 0;
}

.info-icon {
    display: block;

    margin-bottom: 20px;

    font-family: var(--serif);
    font-size: 2.2rem;
}

.info-grid h3 {
    margin-bottom: 10px;

    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.info-grid p {
    margin-bottom: 0;

    color: var(--muted);

    font-size: 0.88rem;
}


/* =========================================================
   RSVP
   ========================================================= */

.rsvp {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(20, 49, 43, 0.87),
            rgba(20, 49, 43, 0.87)
        ),
        linear-gradient(
            145deg,
            #496c64,
            #16372f
        );

    color: #fff;
}

.rsvp::before,
.rsvp::after {
    position: absolute;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    content: "";
}

.rsvp::before {
    top: -250px;
    left: -100px;
}

.rsvp::after {
    right: -100px;
    bottom: -280px;
}

.rsvp-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.rsvp h2 {
    font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.button-light {
    border-color: #fff;

    background: #fff;
    color: var(--lake-dark);
}


/* =========================================================
   PHOTOS
   ========================================================= */

.photos {
    background: var(--cream);
}

.photos-grid {
    display: grid;

    align-items: end;
    gap: 80px;

    grid-template-columns: 1fr 1fr;
}

.photos-grid h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
}

.photo-actions {
    display: flex;

    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 15px;

    padding-bottom: 20px;
}

.button-outline {
    background: transparent;
    color: var(--lake);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 80px 30px 55px;

    border-top: 1px solid var(--line);

    background: var(--cream);

    text-align: center;
}

.footer-wave {
    margin-bottom: 25px;

    font-family: var(--serif);
    font-size: 1.2rem;
}

.footer-names {
    margin-bottom: 5px;

    font-family: var(--serif);
    font-size: 2.3rem;
}

footer p {
    margin-bottom: 5px;
}

.footer-place {
    margin-top: 25px;

    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .section {
        padding: 90px 24px;
    }


    /* NAV */

    .nav {
        width: calc(100% - 40px);

        padding-top: 24px;
    }

    .nav-links {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 100svh;

        /*
           Na telefonie przesuwamy kadr lekko w prawo,
           żeby środek jeziora i pomost pozostały widoczne.
        */
        background-position: 52% center;
    }

    .hero-content {
        width: calc(100% - 30px);

        margin-top: auto;
    }

    .hero-content .eyebrow {
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(4.7rem, 22vw, 7rem);
        line-height: 0.72;
    }

    .hero h1 span {
        margin: 18px 0 14px;
    }

    .hero-location {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }


    /* COUNTDOWN */

    .countdown-wrapper {
        width: calc(100% - 30px);

        margin-top: 45px;
        margin-bottom: 125px;
    }

    .countdown-title {
        font-size: 0.58rem;
        letter-spacing: 0.20em;
    }

    .countdown > div {
        min-width: 0;

        flex: 1;

        padding: 0 8px;
    }

    .countdown strong {
        font-size: 2rem;
    }

    .countdown span {
        font-size: 0.46rem;
        letter-spacing: 0.08em;
    }

    .scroll-down {
        bottom: 60px;
    }


    /* INTRO / CEREMONY / PHOTOS */

    .intro-grid,
    .ceremony-grid,
    .photos-grid {
        gap: 60px;

        grid-template-columns: 1fr;
    }

    .lake-placeholder {
        min-height: 360px;
    }

    .location-card {
        padding-top: 40px;
        padding-left: 0;

        border-top: 1px solid var(--line);
        border-left: 0;
    }


    /* INFORMATION */

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

    .info-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .info-grid article:last-child {
        border-bottom: 0;
    }


    /* PHOTOS */

    .photo-actions {
        justify-content: flex-start;
    }

    .photo-actions .button {
        width: 100%;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 19vw;
    }

    .countdown strong {
        font-size: 1.7rem;
    }

    .countdown > div {
        padding: 0 5px;
    }

    h2 {
        font-size: 3rem;
    }

}
