:root {
    --plum: #3D1F33;
    --bordo: #7B2D52;
    --emerald: #1F5C4D;
    --gold: #D4A24E;
    --cream: #F5EDE4;
    --pink: #D9B8C9;
    --text: #3D352F;
    --text-light: #6F6A63;
    --white: #FFFFFF;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--plum);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }

a {
    color: var(--bordo);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: var(--plum); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--plum);
}

.btn-gold:hover {
    background: #c4923e;
    color: var(--plum);
}

.btn-outline {
    background: transparent;
    color: var(--bordo);
    border: 1.5px solid var(--bordo);
}

.btn-outline:hover {
    background: var(--bordo);
    color: var(--white);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

/* ---------- Header ---------- */

.site-header {
    background: var(--plum);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--bordo);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
}

.site-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--cream);
}

.brand-tagline {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    line-height: 1.3;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list li a {
    color: var(--cream);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-list li a:hover {
    color: var(--gold);
}

.nav-list > li.menu-item-kontakt > a,
.nav-list > li:last-child > a {
    background: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 1.5rem;
    color: var(--plum);
}

.nav-list > li.menu-item-kontakt > a:hover,
.nav-list > li:last-child > a:hover {
    background: #c4923e;
    color: var(--plum);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s;
}

/* ---------- Hero ---------- */

.hero {
    background: var(--plum);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--cream);
    font-size: clamp(2rem, 5vw, 3.25rem);
    max-width: 700px;
    margin: 0 auto 1.25rem;
}

.hero p {
    color: var(--pink);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero .btn {
    font-size: 1rem;
    padding: 1rem 2.5rem;
}

/* ---------- Sections ---------- */

.section-poznato {
    background: var(--cream);
    padding: 5rem 0;
}

.section-intro {
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.poznato-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.poznato-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    border-bottom: 1px solid rgba(61, 31, 51, 0.08);
    font-size: 1rem;
}

.poznato-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
}

.section-pristup {
    background: var(--white);
    padding: 5rem 0;
}

.section-pristup p {
    margin-bottom: 1rem;
}

.section-o-meni {
    background: var(--cream);
    padding: 5rem 0;
}

.section-o-meni p {
    margin-bottom: 1.5rem;
}

.section-cta {
    background: var(--plum);
    padding: 5rem 0;
    text-align: center;
}

.section-cta h2 {
    color: var(--cream);
}

.section-cta p {
    color: var(--pink);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-note {
    font-size: 0.8125rem;
    color: var(--pink);
    opacity: 0.8;
    font-style: italic;
    margin-top: 1rem;
}

/* ---------- Page content ---------- */

.page-content {
    padding: 4rem 0 5rem;
    background: var(--cream);
}

.page-content .entry-content p {
    margin-bottom: 1rem;
}

.page-content .entry-content h2 {
    margin-top: 2.5rem;
}

.page-content .entry-content h3 {
    margin-top: 2rem;
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin: 1rem 0 1.5rem 1.25rem;
}

.page-content .entry-content li {
    margin-bottom: 0.35rem;
}

.page-content .entry-content blockquote {
    border-left: 3px solid var(--bordo);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* ---------- O meni — portrait ---------- */

.o-meni-photo {
    float: right;
    width: 300px;
    max-width: 40%;
    margin: 0.3rem 0 1.25rem 2rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(61, 31, 51, 0.12);
}

.o-meni-photo img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .o-meni-photo {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.5rem;
    }
}

/* ---------- Što očekivati — timeline ---------- */

.ocekivati .section-intro {
    max-width: 680px;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 720px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: rgba(61, 31, 51, 0.15);
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2.75rem;
}

.timeline-step:last-of-type {
    padding-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

.step-marker.m-plum { background: var(--plum); }
.step-marker.m-bordo { background: var(--bordo); }
.step-marker.m-emerald { background: var(--emerald); }
.step-marker.m-gold {
    background: var(--cream);
    border: 2px solid var(--gold);
    color: var(--gold);
}

.step-body {
    padding-top: 0.3rem;
}

.step-body h2 {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
}

.step-sub {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.step-body p {
    margin-bottom: 0.75rem;
}

.step-body p:last-child {
    margin-bottom: 0;
}

.step-highlight .step-body {
    background: var(--cream);
    border: 1.5px solid var(--gold);
    border-radius: 0.75rem;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 2px 12px rgba(212, 162, 78, 0.18);
}

.ocekivati-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    max-width: 720px;
    margin: 3rem 0 0;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: 0 0.5rem 0.5rem 0;
}

.ocekivati-note .note-icon {
    color: var(--gold);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}

.ocekivati-note p {
    margin: 0;
    font-size: 0.95rem;
}

.ocekivati-cta {
    margin-top: 2.5rem;
}

/* Scroll-reveal — only active when JS is present; reduced-motion shows instantly */
.js .sr-step {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-step.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js .sr-step {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Contact ---------- */

.contact-form {
    max-width: 560px;
    margin: 2.5rem 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(61, 53, 47, 0.2);
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bordo);
}

.form-checkbox label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-light);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--bordo);
}

.form-success {
    background: rgba(31, 92, 77, 0.1);
    border: 1px solid var(--emerald);
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin: 2rem 0;
}

.form-success p {
    color: var(--emerald);
    font-weight: 500;
}

.contact-alt {
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ---------- Blog ---------- */

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.25s;
}

.blog-card:hover {
    box-shadow: 0 4px 20px rgba(61, 31, 51, 0.08);
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-body time {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.blog-card-body h2 {
    font-size: 1.375rem;
    margin: 0.35rem 0 0.5rem;
}

.blog-card-body h2 a {
    color: var(--plum);
}

.blog-card-body h2 a:hover {
    color: var(--bordo);
}

.read-more {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bordo);
}

.single-post time {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.post-thumbnail {
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(61, 53, 47, 0.1);
}

.post-nav a { font-size: 0.875rem; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--plum);
    padding: 3rem 0;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1.25rem;
}

.footer-brand .brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--cream);
    display: block;
}

.footer-brand .brand-tagline {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--pink);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-copy p {
    font-size: 0.75rem;
    color: rgba(217, 184, 201, 0.5);
}

/* ---------- Cookie banner ---------- */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--plum);
    z-index: 200;
    padding: 1rem;
}

.cookie-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-inner p {
    color: var(--pink);
    font-size: 0.8125rem;
    margin: 0;
}

.cookie-inner a {
    color: var(--cream);
    text-decoration: underline;
}

/* ---------- 404 ---------- */

.section-404 {
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ---------- Pagination ---------- */

.pagination {
    margin-top: 2rem;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.pagination a, .pagination span {
    padding: 0.5rem 0.85rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.pagination .current {
    background: var(--bordo);
    color: var(--white);
}

/* ---------- Sub-menus ---------- */

.nav-list li {
    position: relative;
}

.nav-list li.menu-item-has-children {
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}

.nav-list .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--plum);
    border-radius: 0.5rem;
    padding: 0.75rem 0;
    min-width: 220px;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-list li.menu-item-has-children::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.75rem;
}

.nav-list li:hover > .sub-menu {
    display: block;
}

.nav-list .sub-menu li a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .site-header {
        box-shadow: 0 4px 12px rgba(61, 31, 51, 0.25);
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--plum);
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid rgba(245, 237, 228, 0.1);
        box-shadow: 0 4px 12px rgba(61, 31, 51, 0.25);
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-list li a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(245, 237, 228, 0.06);
    }

    .nav-list li:last-child a {
        display: inline-block;
        margin-top: 0.75rem;
        text-align: center;
    }

    .nav-list .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0 0 0 1rem;
    }

    .nav-list li:hover > .sub-menu {
        display: block;
    }

    .hero { padding: 4rem 0; }

    .section-poznato,
    .section-pristup,
    .section-o-meni,
    .section-cta {
        padding: 3.5rem 0;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

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

@media (min-width: 769px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
