@import url("/assets/styles/global.css");
@import url("/assets/styles/imports/pricing_cards.css");
@import url("/assets/styles/imports/faq.css");

.site-root,
:root {
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    .site-root,
    :root {
        color-scheme: light;
    }

    body {
        background: #ffffff !important;
        color: #111111 !important;
    }

    input,
    textarea,
    select,
    button {
        background-color: #ffffff !important;
        color: #111111 !important;
        border-color: rgba(0, 0, 0, 0.12) !important;
    }

    a {
        color: inherit;
    }
}


/* ========== Usluge (svc-cards) ========== */
.svc-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
}

@media (min-width:900px) {
    .hero .svc-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (min-width:1024px) {
    .hero .svc-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: 100%;
    }

    .hero .svc-cards>* {
        min-width: 0;
    }
}

.svc-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    height: 100%;
    text-decoration: none;
    color: var(--svc-ink);
    background: var(--svc-paper);
    border: 1px solid var(--svc-border);
    border-radius: var(--svc-radius);
    box-shadow: var(--svc-shadow);
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.svc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .09);
    border-color: rgba(227, 106, 204, .35);
}

.svc-card:focus-visible {
    outline: 3px solid color-mix(in oklab, var(--svc-pink) 55%, white);
    outline-offset: 2px;
}

.svc-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--svc-pink);
}

.svc-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
}

.svc-icon svg.is-filled {
    fill: currentColor;
    stroke: none;
}

.svc-body {
    min-width: 0;
}

.svc-title {
    margin: 0;
    font: 600 18px/1.2 "Montserrat", system-ui;
}

.svc-desc {
    margin: 2px 0 0;
    color: var(--svc-muted);
    font: 400 15px/1.5 "Manrope", system-ui;
    overflow-wrap: anywhere;
}

.svc-arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--svc-pink);
}

.svc-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    fill: none;
    transition: transform .15s ease;
}

.svc-card:hover .svc-arrow svg {
    transform: translateX(2px);
}

@media (max-width:420px) {
    .svc-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .svc-title {
        font-size: 17px;
    }

    .svc-desc {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion:reduce) {

    .svc-card,
    .svc-arrow svg {
        transition: none;
    }

    .svc-card:hover {
        transform: none;
    }
}

/* ========== Hero & vizuali ========== */
section,
header.hero {
    background: linear-gradient(to bottom, #f7f7f7 0%, #fff8e7 100%);
}

header.hero {
    padding-top: calc(var(--navH, 60px) + 2rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width:780px) {
    header.hero {
        min-height: calc(100svh - var(--navH));
        min-height: calc(100dvh - var(--navH));
        padding-top: calc(var(--navH, 60px) + 1rem);
        padding-bottom: 20px;
    }

    header.hero>.container,
    header.hero .content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-title {
        margin-top: 0 !important;
    }
}


/* ========== Naslovi & sheen ========== */
.hero-wrap {
    display: grid;
    gap: 2rem;
}

@media (min-width:920px) {
    .hero-wrap {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
    }
}

h1.hero-title {
    padding-top: 3px;
}

.section-title,
.hero-title {
    font-family: 'Great Vibes', cursive;
    color: var(--primary);
    font-weight: 400;
    margin: 0 0 .5rem;
    line-height: 1.15;
    letter-spacing: .5px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    background: linear-gradient(90deg, var(--primary), #d84fbf 40%, #f6a 60%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    transition: background-position 1s ease;
}

@media (hover:hover) {
    .hero-title:hover {
        background-position: 100% 0;
    }
}

.header-sheen .hero-title {
    animation: sheen 2.5s ease .4s 1 both;
}

@keyframes sheen {
    from {
        background-position: 0 0
    }

    to {
        background-position: 100% 0
    }
}

.section-title {
    font-size: clamp(2.3rem, 5vw, 3rem);
}

.section-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transform-origin: left center;
    transform: scaleX(.6);
    transition: transform .6s ease;
}

.lead {
    color: var(--muted) !important;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.lead-justify {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

@media (max-width:720px) {
    .lead-justify {
        text-align: left;
    }

    .section-inner {
        padding: 2rem 0;
    }
}

/* ========== Feature lines (mini bulleti u herou) ========== */
.feature-lines.compact {
    display: grid;
    gap: .5rem;
    margin-top: 1rem;
}

.feature-lines.compact .fl {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.feature-lines.compact .lead {
    font-size: .95rem;
    color: #444;
}

@media (max-width:720px) {
    .feature-lines.compact {
        gap: .9rem;
        margin-top: 1rem;
    }

    .feature-lines.compact .fl {
        display: grid;
        grid-template-columns: 1fr;
        gap: .5rem;
        padding: .9rem 1rem;
        border: 1px solid var(--stroke);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    }

    .feature-lines.compact .btn.small {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: .75rem 1rem;
        border-radius: 10px;
    }

    .feature-lines.compact .same-width {
        min-width: 0;
    }

    .feature-lines.compact .lead {
        font-size: 1rem;
        line-height: 1.55;
    }

    .feature-lines.compact .btn.small::after {
        content: "↗";
        font-weight: 700;
        margin-left: .5rem;
        transform: translateY(-1px);
    }
}

/* ========== Form elements (kontakt) ========== */
form.grid {
    display: grid;
    gap: .8rem;
}

input,
textarea {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .9);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

form.grid .btn.primary {
    background: linear-gradient(135deg, var(--primary, #e36acc) 0%, var(--secondary, #764ba2) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(227, 106, 204, 0.3);
    width: 100%;
    justify-content: center;
}

form.grid .btn.primary:hover {
    background: linear-gradient(135deg, #d84fbf 0%, #6b4c93 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 106, 204, 0.4);
}

form.grid .btn.primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(227, 106, 204, 0.3);
}


/* ========== Svatkolist (home demo) ========== */
#svatkolist .section-title {
    margin-bottom: .5rem;
}

.svatkolist-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.gift-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.gift-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

.gift-name {
    font-weight: 600;
}

.reserve-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, #fff, #f7f7f7);
    cursor: pointer;
}

.reserved-label {
    font-weight: 700;
    color: var(--gold);
}

.gift-item.reserved {
    background: #fff8e7;
    border-color: #e8d9a5;
}

/* ========== Svatkolist Demo Styles ========== */
.svatkolist-demo {
    margin-top: 2rem;
}

.svatkolist-features {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff8e7 100%);
    border-radius: 12px;
    border: 1px solid #e8e1c4;
}

.svatkolist-features h4 {
    margin: 0 0 1rem 0;
    color: var(--primary, #e36acc);
    font-size: 1.1rem;
    font-weight: 600;
}

.svatkolist-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.svatkolist-features li {
    padding: 0.5rem 0;
    color: var(--muted, #666);
    font-size: 0.95rem;
    line-height: 1.4;
}

.reserve-btn:hover {
    background: linear-gradient(180deg, var(--primary, #e36acc), #d84fbf);
    color: white;
    border-color: var(--primary, #e36acc);
    transform: translateY(-1px);
}


/* ========== Responsive padding (home) ========== */
@media (max-width:640px) {

    .hero .container,
    section .container.section-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

}



/* ========== Privacy list (home) ========== */
.privacy-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.privacy-list .icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.privacy-list strong {
    display: block;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: .2rem;
}

.privacy-list p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.5;
}

