/* =========================
   Global / Reset
========================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Swiper controls scrolling */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #c9a84c;
}

body {
    background: #ffffff;
}

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

/* =========================
   Swiper base
========================= */
.swiper {
    width: 100%;
    height: 100vh;
    height: 100svh;
}

.swiper-slide {
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Pagination (vertical bullets) */
.swiper-pagination-bullets.swiper-pagination-vertical {
    right: 16px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.18);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: rgba(0, 0, 0, 0.45);
}

/* =========================
   Typography helpers
========================= */
h1,
h2 {
    margin: 0 0 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: "Forum", serif;
}

p {
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

/* =========================
   INTRO slide typography + animation
========================= */
.slide-intro {
    padding: 0;
}

.intro-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

/* Uppercase lines (Forum) */
.intro-line {
    font-family: "Forum", serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.95;
}

.intro-top {
    font-size: clamp(2.6rem, 9vw, 4.9rem);
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
}

.intro-bottom {
    font-size: clamp(2.4rem, 8.5vw, 4.5rem);
    letter-spacing: 0.22em;
    margin-top: 0.55rem;
}

/* Script (Qwitcher Grypen) */
.intro-mid {
    position: relative;
    margin: -0.6rem 0 -0.2rem;
}

.intro-mid-inner {
    font-family: "Qwitcher Grypen", cursive;
    font-weight: 400;
    font-size: clamp(7rem, 26vw, 13.5rem);
    line-height: 0.8;
    letter-spacing: 0.02em;
    color: #c9a84c;
}

/* entrance animation */
.intro-line,
.intro-mid-inner {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
    transition:
        transform 800ms cubic-bezier(.22, .8, .2, 1),
        opacity 800ms cubic-bezier(.22, .8, .2, 1),
        filter 800ms cubic-bezier(.22, .8, .2, 1);
}

.swiper-slide-active.slide-intro .intro-line,
.swiper-slide-active.slide-intro .intro-mid-inner {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* stagger */
.swiper-slide-active.slide-intro .intro-top {
    transition-delay: 260ms;
}

.swiper-slide-active.slide-intro .intro-bottom {
    transition-delay: 180ms;
}

.swiper-slide-active.slide-intro .intro-mid-inner {
    transition-delay: 400ms;
}

@media (max-width: 420px) {
    .intro-top {
        letter-spacing: 0.06em;
    }

    .intro-bottom {
        letter-spacing: 0.14em;
    }
}

@media (prefers-reduced-motion: reduce) {

    .intro-line,
    .intro-mid-inner {
        transition: none;
        opacity: 1;
        filter: none;
        transform: none;
    }
}

/* =========================
   HERO: 70% photo / 30% torn paper
   + overlap 5–10vh into the photo
========================= */
.slide-hero.hero-7030 {
    height: 100vh;
    height: 100svh;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;

    /* EASY TUNING */
    --overlap: 8vh;
    --paperTop: 0%;
    --paperHeight: 100%;
}

/* top 70% image */
.hero-img {
    height: 70vh;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* bottom: 30% + overlap */
.hero-paper {
    height: calc(30vh + var(--overlap));
    margin-top: calc(-1 * var(--overlap));
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6vw;
}

.hero-paper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--paperTop);
    height: var(--paperHeight);

    background-image: url("../img/torn_paper.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    pointer-events: none;
}

/* text above paper */
.hero-names {
    position: relative;
    text-align: center;
    line-height: 0.92;
    transform: translateY(-1vh);
}

/* serif names */
.hero-name {
    font-family: "Forum", serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c9a84c;
}

.hero-name-top {
    font-size: clamp(2.6rem, 9.5vw, 4.8rem);
}

.hero-name-bottom {
    font-size: clamp(2.8rem, 10.5vw, 5.1rem);
}

/* script “and” */
.hero-and {
    font-family: "Qwitcher Grypen", cursive;
    font-weight: 400;
    color: #c9a84c;
    font-size: clamp(2.2rem, 8.2vw, 3.9rem);
    margin-top: -1rem;
    margin-bottom: -0.9rem;
}

/* HERO animations (like INTRO) */
.slide-hero.hero-7030 .hero-name,
.slide-hero.hero-7030 .hero-and {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
    transition:
        transform 800ms cubic-bezier(.22, .8, .2, 1),
        opacity 800ms cubic-bezier(.22, .8, .2, 1),
        filter 800ms cubic-bezier(.22, .8, .2, 1);
}

.swiper-slide-active.slide-hero.hero-7030 .hero-name,
.swiper-slide-active.slide-hero.hero-7030 .hero-and {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* stagger timing (top -> and -> bottom) */
.swiper-slide-active.slide-hero.hero-7030 .hero-name-top {
    transition-delay: 180ms;
}

.swiper-slide-active.slide-hero.hero-7030 .hero-and {
    transition-delay: 320ms;
}

.swiper-slide-active.slide-hero.hero-7030 .hero-name-bottom {
    transition-delay: 420ms;
}

/* animate paper background a bit too */
.hero-paper::before {
    opacity: 0;
    transform: translateY(10px);
    transition:
        transform 900ms cubic-bezier(.22, .8, .2, 1),
        opacity 900ms cubic-bezier(.22, .8, .2, 1);
}

.swiper-slide-active.slide-hero.hero-7030 .hero-paper::before {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {

    .slide-hero.hero-7030 .hero-name,
    .slide-hero.hero-7030 .hero-and,
    .hero-paper::before {
        transition: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

/* Bigger HERO names on mobile */
@media (max-width: 480px) {
    .hero-name-top {
        font-size: clamp(3.4rem, 15vw, 6.2rem);
    }

    .hero-name-bottom {
        font-size: clamp(3.6rem, 16vw, 6.5rem);
    }

    .hero-and {
        font-size: clamp(2.8rem, 12vw, 4.6rem);
        margin-top: -1.3rem;
        margin-bottom: -1.2rem;
    }
}

/* =========================
   Card slides (content sections)
========================= */
.slide-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    width: min(860px, 92vw);
}

.quote {
    margin-top: 1.25rem;
    font-style: italic;
}

/* When/Where layout */
.when-where-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.when-where-item {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: #f4eee6;
}

.when-where-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.small-note {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (min-width: 740px) {
    .when-where-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   RSVP form (future-ready)
========================= */
.rsvp-form {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.75rem;
    width: min(520px, 100%);
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
    font: inherit;
    outline: none;
}

.rsvp-form textarea {
    min-height: 110px;
    resize: vertical;
}

.rsvp-form button {
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #111;
    color: #fff;
}

.rsvp-form button:active {
    transform: translateY(1px);
}

/* =========================
   SLIDE: Full photo + big date
========================= */
.slide-date {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    background: #000;
    display: block;

    --dateScale: 1.7;
}

/* full background image */
.slide-date .date-bg {
    position: absolute;
    inset: 0;
}

.slide-date .date-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    opacity: 0;
    transform: scale(1.04);
    transition:
        transform 900ms cubic-bezier(.22, .8, .2, 1),
        opacity 900ms cubic-bezier(.22, .8, .2, 1);
}

/* dark gradient for readability (bottom heavier) */
.slide-date::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.18) 55%,
            rgba(0, 0, 0, 0.62) 100%);
    pointer-events: none;
}

/* date positioned at bottom */
.slide-date .date-text {
    position: absolute;
    left: 50%;
    bottom: 6vh;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.slide-date .date-text-inner {
    font-family: "Forum", serif;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 0.88;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);

    opacity: 0;
    filter: blur(6px);
    transform: translateY(14px);
    transition:
        transform 800ms cubic-bezier(.22, .8, .2, 1),
        opacity 800ms cubic-bezier(.22, .8, .2, 1),
        filter 800ms cubic-bezier(.22, .8, .2, 1);
}

.slide-date .date-line-1 {
    font-size: calc(clamp(4.6rem, 18vw, 8.4rem) * var(--dateScale));
}

.slide-date .date-line-2 {
    font-size: calc(clamp(5.2rem, 20vw, 9.4rem) * var(--dateScale));
    margin-top: calc(-0.9rem * var(--dateScale));
}

/* active state */
.swiper-slide-active.slide-date .date-bg img {
    opacity: 1;
    transform: scale(1.01);
}

.swiper-slide-active.slide-date .date-text-inner {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    transition-delay: 220ms;
}

@media (prefers-reduced-motion: reduce) {

    .slide-date .date-bg img,
    .slide-date .date-text-inner {
        transition: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

/* =========================
   PROGRAM slide — layout + safe spacing
========================= */
.slide-program {
    padding: 3.5vh 0 !important;
    /* always some air top/bottom */
    box-sizing: border-box;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.program-wrap {
    width: min(620px, 90vw);

    /* keep it inside viewport on desktop too */
    max-height: calc(100vh - 7vh);
    overflow: auto;
    -webkit-overflow-scrolling: touch;

    padding: 2vh 0;
}

/* title */
.program-title {
    font-family: "Forum", serif;
    font-weight: 400;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: clamp(2.0rem, 8vw, 3.0rem);
    color: #c9a84c;

    margin-top: 0.8rem;
    margin-bottom: 3vh;
}

.program-item {
    margin: 0;
}

/* small heading */
.program-heading {
    font-family: "Forum", serif;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(201, 168, 76, 0.75);
    margin-bottom: 0.9rem;
}

/* time */
.program-time {
    font-family: "Forum", serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-size: clamp(2.2rem, 9vw, 3.8rem);
    line-height: 1;
    color: #c9a84c;
    margin-bottom: 0.25rem;
}

/* script */
.program-desc {
    font-family: "Qwitcher Grypen", cursive;
    font-weight: 400;
    font-size: clamp(2.2rem, 9vw, 3.8rem);
    line-height: 0.9;
    color: #c9a84c;
    margin-bottom: 0.95rem;
}

/* place */
.program-place {
    font-family: "Forum", serif;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(201, 168, 76, 0.65);
    text-transform: uppercase;
    width: min(560px, 100%);
    margin: 0 auto;
}

/* divider */
.program-divider {
    width: min(190px, 46vw);
    height: 30px;
    margin: 3.2vh auto;
    background-image: url("../img/torn_paper.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.50;
}

/* =========================
   PROGRAM animation (reliable): driven by .program-animate class
   (JS adds/removes .program-animate)
========================= */

/* base hidden */
.slide-program .program-title,
.slide-program .program-item .program-heading,
.slide-program .program-item .program-time,
.slide-program .program-item .program-desc,
.slide-program .program-item .program-place,
.slide-program .program-item .program-divider {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
    transition:
        transform 900ms cubic-bezier(.22, .8, .2, 1),
        opacity 900ms cubic-bezier(.22, .8, .2, 1),
        filter 900ms cubic-bezier(.22, .8, .2, 1);
}

/* active visible */
.slide-program.program-animate .program-title,
.slide-program.program-animate .program-item .program-heading,
.slide-program.program-animate .program-item .program-time,
.slide-program.program-animate .program-item .program-desc,
.slide-program.program-animate .program-item .program-place,
.slide-program.program-animate .program-item .program-divider {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* quick start */
.slide-program.program-animate .program-title {
    transition-delay: 0ms;
}

/* per-block base delay (fast) */
.slide-program.program-animate .program-item:nth-of-type(1) {
    --base: 0ms;
}

.slide-program.program-animate .program-item:nth-of-type(2) {
    --base: 180ms;
}

.slide-program.program-animate .program-item:nth-of-type(3) {
    --base: 360ms;
}

.slide-program.program-animate .program-item:nth-of-type(4) {
    --base: 540ms;
}


/* inside each block */
.slide-program.program-animate .program-item .program-heading {
    transition-delay: calc(var(--base) + 0ms);
}

.slide-program.program-animate .program-item .program-time {
    transition-delay: calc(var(--base) + 140ms);
}

.slide-program.program-animate .program-item .program-desc {
    transition-delay: calc(var(--base) + 300ms);
}

.slide-program.program-animate .program-item .program-place {
    transition-delay: calc(var(--base) + 460ms);
}

.slide-program.program-animate .program-item .program-divider {
    transition-delay: calc(var(--base) + 620ms);
}

@media (max-width: 420px) {
    .program-wrap {
        padding: 1.6vh 0;
    }

    .program-heading {
        font-size: 0.8rem;
    }

    .program-place {
        font-size: 0.78rem;
    }

    .program-divider {
        margin: 2.8vh auto;
        height: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .slide-program .program-title,
    .slide-program .program-item .program-heading,
    .slide-program .program-item .program-time,
    .slide-program .program-item .program-desc,
    .slide-program .program-item .program-place,
    .slide-program .program-item .program-divider {
        transition: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

/* =========================
   PROGRAM — compact desktop when height is tight
   (paste at the VERY END of style.css)
========================= */
@media (min-width: 768px) and (max-height: 820px) {
    .slide-program {
        padding: 2vh 0 !important;
    }

    .slide-program .program-wrap {
        max-height: calc(100vh - 4vh);
        padding: 1vh 0 !important;
    }

    .slide-program .program-title {
        font-size: 2.1rem;
        /* smaller */
        margin-top: 0.4rem;
        margin-bottom: 1.6vh;
    }

    .slide-program .program-heading {
        font-size: 0.78rem;
        margin-bottom: 0.6rem;
    }

    .slide-program .program-time {
        font-size: 2.7rem;
        /* smaller time */
        margin-bottom: 0.15rem;
    }

    .slide-program .program-desc {
        font-size: 2.6rem;
        /* smaller script */
        margin-bottom: 0.6rem;
    }

    .slide-program .program-place {
        font-size: 0.74rem;
        line-height: 1.25;
        width: min(620px, 92%);
    }

    .slide-program .program-divider {
        height: 22px;
        margin: 1.8vh auto;
        opacity: 0.45;
    }
}

/* =========================
   PROGRAM — always fit in 100vh (NO SCROLL)
   paste at the VERY END of style.css
========================= */

/* 1) no scrollbars in program slide */
.slide-program {
    padding: 2vh 0 !important;
    /* air top/bottom */
}

.slide-program .program-wrap {
    height: calc(100vh - 4vh);
    /* 2vh top + 2vh bottom */
    max-height: none !important;
    overflow: hidden !important;
    /* <-- kill scrolling */
    padding: 0 !important;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* distribute blocks */
    gap: 1.2vh;
}

/* 2) typography scales with height (vh) so 4 blocks fit everywhere */
.slide-program .program-title {
    margin: 0 !important;
    padding-top: 4.6vh;
    /* tiny safety */
    font-size: clamp(1.4rem, 3.2vh, 2.3rem);
    letter-spacing: 0.10em;
}

.slide-program .program-heading {
    margin: 0 0 0.5vh !important;
    font-size: clamp(0.58rem, 1.15vh, 0.80rem);
    letter-spacing: 0.12em;
}

.slide-program .program-time {
    margin: 0 0 0.2vh !important;
    font-size: clamp(1.6rem, 4.6vh, 3.0rem);
    line-height: 1;
}

.slide-program .program-desc {
    margin: 0.1vh 0 0.6vh !important;
    font-size: clamp(1.45rem, 4.0vh, 2.8rem);
    line-height: 0.92;
}

.slide-program .program-place {
    margin: 0 auto !important;
    font-size: clamp(0.58rem, 1.05vh, 0.78rem);
    line-height: 1.25;
    width: min(640px, 92%);
}

/* 3) make divider smaller (or hide on very short heights) */
.slide-program .program-divider {
    height: 18px;
    margin: 0.9vh auto 0 !important;
    opacity: 0.40;
    background-size: contain;
}

/* If height is really tight: hide dividers to guarantee fit */
@media (max-height: 720px) {
    .slide-program .program-divider {
        display: none;
    }

    .slide-program .program-wrap {
        gap: 0.8vh;
    }
}

/* PROGRAM: manje praznog prostora, malo veći fontovi */
.slide-program .program-wrap {
    justify-content: flex-start !important;
    /* umjesto space-between */
    gap: 7.6vh !important;
    /* manji razmak između blokova */
}

/* title */
.slide-program .program-title {
    font-size: clamp(1.6rem, 3.6vh, 2.6rem) !important;
    margin-bottom: 1.6vh !important;
}

/* heading */
.slide-program .program-heading {
    margin: 0 0 0.35vh !important;
    font-size: clamp(0.62rem, 1.25vh, 0.86rem) !important;
}

/* time */
.slide-program .program-time {
    font-size: clamp(1.85rem, 5.2vh, 3.25rem) !important;
    margin: 0 0 0.15vh !important;
}

/* script */
.slide-program .program-desc {
    font-size: clamp(1.7rem, 4.6vh, 3.05rem) !important;
    margin: 0.1vh 0 0.45vh !important;
}

/* location */
.slide-program .program-place {
    font-size: clamp(0.62rem, 1.15vh, 0.82rem) !important;
    line-height: 1.22 !important;
}

/* divider: manji i s manje margine */
.slide-program .program-divider {
    height: 14px !important;
    margin: 0.7vh auto 0 !important;
    opacity: 0.35 !important;
}

/* još malo stisni ako je visina mala */
@media (max-height: 720px) {
    .slide-program .program-wrap {
        gap: 1.2vh !important;
    }

    .slide-program .program-divider {
        display: none !important;
    }
}

/* PROGRAM: bigger fonts (+~20%) */
.slide-program .program-title {
    font-size: clamp(2.2rem, 5.0vh, 3.6rem) !important;
}

.slide-program .program-heading {
    font-size: clamp(0.84rem, 1.75vh, 1.14rem) !important;
}

.slide-program .program-time {
    font-size: clamp(2.6rem, 7.2vh, 4.55rem) !important;
}

.slide-program .program-desc {
    font-size: clamp(2.35rem, 6.25vh, 4.25rem) !important;
}

.slide-program .program-place {
    font-size: clamp(0.84rem, 1.62vh, 1.08rem) !important;
    line-height: 1.18 !important;
}

/* =========================
   RSVP slide (Bootstrap-like layout + animation)
   paste at END of style.css
========================= */

/* Minimal grid system (no Bootstrap needed) */
.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

[class*="col-"] {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

.col-sm-12 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-sm-6 {
        width: 50%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.6667%;
    }

    .col-sm-5 {
        width: 41.6667%;
    }
}

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

.margin-bottom {
    margin-bottom: 1.05rem;
}

/* Slide wrapper */
.slide-rsvp {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-bg {
    position: absolute;
    inset: 0;
    /* subtle pattern-ish background (zamijeni po želji) */
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.035) 0 2px, transparent 3px) 0 0 / 22px 22px,
        radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.03) 0 2px, transparent 3px) 0 0 / 26px 26px;
    opacity: 0.55;
    pointer-events: none;
}

.rsvp-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 6vh 0;
    /* malo zraka gore/dolje */
}

/* Card */
.contact-form {
    width: min(980px, 92vw);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: clamp(1.4rem, 3.2vw, 2.6rem);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.10);
    text-align: left;
}

/* Title styling like screenshot */
.rsvp-title {
    margin: 0 0 1.6rem;
    text-align: center;
    font-family: "Qwitcher Grypen", cursive;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 0.95;
    font-size: clamp(2.2rem, 6.2vw, 4.6rem);
    color: #c9a84c;
}

.number-confirmation {
    display: block;
    margin-top: 0.45rem;
    font-family: "Forum", serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-size: clamp(2.3rem, 5.2vw, 4.2rem);
}

/* Labels + inputs */
.contact-form label {
    display: block;
    font-family: "Forum", serif;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(201, 168, 76, 0.75);
    margin: 0 0 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.45);
    background: rgba(255, 255, 255, 0.98);
    font: inherit;
    outline: none;
    color: #c9a84c;
}

.form-control:focus {
    border-color: #c9a84c;
}

/* Button */
.btn {
    display: inline-block;
}

.btn-potvrda {
    margin-top: 0.35rem;
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    border: 1px solid #c9a84c;
    cursor: pointer;
    background: #c9a84c;
    color: #fff;
    font-family: "Forum", serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.btn-potvrda:hover {
    background: #b8953f;
    border-color: #b8953f;
    color: #fff;
}

.btn-potvrda:active {
    transform: translateY(1px);
}

/* Responsive tightening on small phones */
@media (max-width: 420px) {
    .rsvp-form-wrapper {
        padding: 5vh 0;
    }

    .contact-form {
        padding: 1.25rem;
    }
}

/* =========================
   RSVP slide (BIGGER + LESS AIR)  ~ +20%
========================= */

/* Minimal grid system (no Bootstrap needed) */
.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    /* tighter */
    margin-right: -10px;
}

[class*="col-"] {
    width: 100%;
    padding-left: 10px;
    /* tighter */
    padding-right: 10px;
}

.col-sm-12 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-sm-6 {
        width: 50%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.6667%;
    }

    .col-sm-5 {
        width: 41.6667%;
    }
}

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

.margin-bottom {
    margin-bottom: 0.8rem;
}

/* less air */

/* Slide wrapper */
.slide-rsvp {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-bg {
    background: none;
}


.rsvp-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4.6vh 0;
    /* less top/bottom air */
}

/* Card */
.contact-form {
    width: min(1020px, 94vw);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: clamp(1.35rem, 2.8vw, 2.25rem);
    /* less padding but bigger content */
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.10);
    text-align: left;
}

/* Title styling (bigger + tighter) */
.rsvp-title {
    margin: 0 0 1.05rem;
    /* tighter */
    text-align: center;
    font-family: "Qwitcher Grypen", cursive;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 0.92;
    font-size: clamp(2.65rem, 7.2vw, 5.5rem);
    /* ~ +20% */
    color: #c9a84c;
}

.number-confirmation {
    display: block;
    margin-top: 0.25rem;
    /* tighter */
    font-family: "Forum", serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-size: clamp(2.75rem, 6.1vw, 5.0rem);
    /* ~ +20% */
}

/* =========================
   RSVP staggered reveal animation (like Program)
   Paste at VERY END of style.css
========================= */

/* Base hidden state */
.slide-rsvp .contact-form .rsvp-title,
.slide-rsvp .contact-form .row>[class*="col-"] {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
    transition:
        transform 800ms cubic-bezier(.22, .8, .2, 1),
        opacity 800ms cubic-bezier(.22, .8, .2, 1),
        filter 800ms cubic-bezier(.22, .8, .2, 1);
}

/* Visible state when active */
.slide-rsvp.rsvp-animate .contact-form .rsvp-title,
.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"] {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger delays (match your field order) */
.slide-rsvp.rsvp-animate .contact-form .rsvp-title {
    transition-delay: 120ms;
}

.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"]:nth-child(1) {
    transition-delay: 240ms;
}

/* Ime */
.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"]:nth-child(2) {
    transition-delay: 340ms;
}

/* Telefon */
.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"]:nth-child(3) {
    transition-delay: 440ms;
}

/* Djeca */
.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"]:nth-child(4) {
    transition-delay: 540ms;
}

/* Pratnja */
.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"]:nth-child(5) {
    transition-delay: 640ms;
}

/* Imena pratnji */
.slide-rsvp.rsvp-animate .contact-form .row>[class*="col-"]:nth-child(6) {
    transition-delay: 760ms;
}

/* Button */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .slide-rsvp .contact-form .rsvp-title,
    .slide-rsvp .contact-form .row>[class*="col-"] {
        transition: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

@media (max-width: 600px) {
    .nav-duo-links-element {
        padding: 0px 0.5rem 10px;
    }

    .nav-duo-links-element.active {
        padding-bottom: 20px;
    }

    .nav-duo-links-element.active::after {
        display: block;
        width: 100%;
    }

    .wrap-me {
        display: none;
        width: fit-content;
        font-size: 10px;
    }

    .new-border {
        display: block;
        border-bottom: 1px solid rgba(52, 48, 61, 0.2);
    }
}

/* =========================
   PROGRAM — compact, fills ~90vh
========================= */
.slide-program {
    padding: 5vh 1rem !important;
}

.slide-program .program-wrap {
    width: min(620px, calc(100vw - 4.75rem));
    height: 90vh !important;
    max-height: none !important;
    overflow: hidden !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly !important;
    gap: 0 !important;
}

.slide-program .program-wrap::-webkit-scrollbar {
    display: none;
}

.slide-program .program-title {
    padding-top: 0 !important;
    margin: 0 !important;
    font-size: clamp(1.75rem, 4.8vw, 2.65rem) !important;
}

.slide-program .program-item {
    flex: 0 0 auto;
}

.slide-program .program-time {
    font-size: clamp(2.05rem, 8.6vw, 3.45rem) !important;
    line-height: 0.95;
    margin: 0 0 0.1rem !important;
}

.slide-program .program-desc {
    font-size: clamp(1.62rem, 7.2vw, 2.7rem) !important;
    line-height: 0.9;
    margin: 0 0 0.15rem !important;
}

.slide-program .program-desc-original-size {
    font-size: clamp(2.2rem, 9vw, 3.8rem) !important;
    line-height: 0.86 !important;
    margin: 0 0 0.1rem !important;
}

.slide-program .program-desc-one-line {
    font-size: clamp(1.46rem, 6.6vw, 2.28rem) !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.slide-program .program-place {
    width: min(520px, 100%);
    padding-inline: 0.25rem;
    margin-top: 0.2rem !important;
    font-size: clamp(0.94rem, 3.15vw, 1.22rem) !important;
    line-height: 1.18 !important;
    letter-spacing: 0.04em;
}

.slide-program .program-place-link {
    color: inherit !important;
    text-decoration: none !important;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.slide-program .program-place-link:visited,
.slide-program .program-place-link:hover,
.slide-program .program-place-link:active {
    color: inherit !important;
    text-decoration: none !important;
}

.slide-program .program-place-link:focus-visible {
    outline: none;
}

.slide-program .program-place-double span {
    display: block;
}

.slide-program .program-place-double span + span {
    margin-top: 0.3rem;
}

.slide-program .program-divider {
    height: clamp(10px, 1.5vh, 18px) !important;
    margin: 0.4rem auto 0 !important;
    opacity: 0.4 !important;
}

@media (max-width: 480px) {
    .slide-program {
        padding: 5vh 0.75rem !important;
    }

    .slide-program .program-wrap {
        width: calc(100vw - 3.75rem);
    }

    .slide-program .program-title {
        font-size: clamp(1.55rem, 6.6vw, 2.05rem) !important;
    }

    .slide-program .program-time {
        font-size: clamp(1.88rem, 11.3vw, 2.9rem) !important;
    }

    .slide-program .program-desc {
        font-size: clamp(1.42rem, 8.8vw, 2.18rem) !important;
    }

    .slide-program .program-desc-original-size {
        font-size: clamp(1.95rem, 8.9vw, 3rem) !important;
        line-height: 0.84 !important;
    }

    .slide-program .program-desc-one-line {
        font-size: clamp(1.24rem, 6.5vw, 1.86rem) !important;
    }

    .slide-program .program-place {
        margin-top: 0.15rem !important;
        font-size: clamp(0.86rem, 3.6vw, 1.04rem) !important;
        line-height: 1.16 !important;
    }
}

@media (max-height: 760px) {
    .slide-program .program-divider {
        display: none !important;
    }
}

/* =========================
   DATE responsive fix
========================= */
.slide-date {
    --dateScale: 1 !important;
}

.slide-date .date-text {
    width: min(92vw, 34rem);
    bottom: calc(clamp(1.2rem, 5vh, 3.6rem) + env(safe-area-inset-bottom, 0px));
    bottom: calc(clamp(1.2rem, 5svh, 3.6rem) + env(safe-area-inset-bottom, 0px));
}

.slide-date .date-text-inner {
    width: 100%;
    line-height: 0.9;
}

.slide-date .date-line-1 {
    font-size: clamp(4.45rem, 15.8vw, 7.65rem);
}

.slide-date .date-line-2 {
    font-size: clamp(4.9rem, 18vw, 8.45rem);
    margin-top: -0.6rem;
}

@media (max-width: 430px) {
    .slide-date .date-text {
        width: min(94vw, 24rem);
        bottom: calc(clamp(1rem, 4.5vh, 2.25rem) + env(safe-area-inset-bottom, 0px));
        bottom: calc(clamp(1rem, 4.5svh, 2.25rem) + env(safe-area-inset-bottom, 0px));
    }

    .slide-date .date-line-1 {
        font-size: clamp(3.6rem, 15.9vw, 5.6rem);
    }

    .slide-date .date-line-2 {
        font-size: clamp(4rem, 18.2vw, 6.15rem);
        margin-top: -0.4rem;
    }
}

@media (max-width: 375px) {
    .slide-date .date-text {
        width: min(95vw, 21rem);
    }

    .slide-date .date-line-1 {
        font-size: clamp(3.1rem, 15vw, 4.8rem);
    }

    .slide-date .date-line-2 {
        font-size: clamp(3.45rem, 17vw, 5.2rem);
    }
}

@media (max-height: 760px) {
    .slide-date .date-text {
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .slide-date .date-line-1 {
        font-size: clamp(3.15rem, 12.5vh, 5.1rem);
    }

    .slide-date .date-line-2 {
        font-size: clamp(3.55rem, 13.4vh, 5.55rem);
    }
}

/* =========================
   BLACK text + button theme
========================= */
html,
body,
.slide-intro .intro-line,
.slide-intro .intro-mid-inner,
.slide-hero.hero-7030 .hero-name,
.slide-hero.hero-7030 .hero-and,
.slide-date .date-text-inner,
.slide-program .program-title,
.slide-program .program-heading,
.slide-program .program-time,
.slide-program .program-desc,
.slide-program .program-desc-original-size,
.slide-program .program-place,
.slide-rsvp .rsvp-title,
.slide-rsvp .number-confirmation,
.slide-rsvp .contact-form label,
.slide-rsvp .form-control,
.slide-rsvp .form-control option {
    color: #000 !important;
}

.slide-rsvp .btn-potvrda,
.slide-rsvp .btn-potvrda:hover,
.slide-rsvp .btn-potvrda:active,
.slide-rsvp .btn-potvrda:focus,
.slide-rsvp .rsvp-form button,
.slide-rsvp .rsvp-form button:hover,
.slide-rsvp .rsvp-form button:active,
.slide-rsvp .rsvp-form button:focus {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.slide-date .date-text-inner {
    color: #fff !important;
}

.slide-rsvp .form-control,
.slide-rsvp .form-control:focus {
    border-color: #000 !important;
}
