html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #2f2b26;
    background-color: #ffffff;
}

/* NAVBAR */

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-brand {       
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -225px;
    padding-right: 200px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #c76c6c;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

.nav-link {
    text-decoration: none;
    color: #726c65;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: #c76c6c;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.nav-link-active::after {
    transform: scaleX(1);
}

.nav-link.nav-link-active {
    color: #c76c6c;
}

.nav-lang .lang-picker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-picker .flag {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lang-picker .flag:hover {
    transform: scale(1.15);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* HERO SECTION */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background-color: #f7f4f0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f7f4f0;
    clip-path: polygon(0 0, 40% 0, 30% 100%, 0 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(199, 108, 108, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 72px 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 500px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: #b0a79d;
    margin: 0 0 12px;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.15;
    margin: 0 0 18px;
    max-width: 420px;
}

.hero-text {
    max-width: 460px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #6e655e;
    margin: 0 0 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary {
    background-color: #c76c6c;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(199, 108, 108, 0.45);
}

.hero-btn-primary:hover {
    background-color: #b35b5b;
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4c4741;
    border-color: rgba(0, 0, 0, 0.08);
}

.hero-btn-secondary:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* CVEĆARA PAGE – promo kartice + redovne usluge */

.cvecara-page {
    flex: 1;
    padding-top: 72px;
    background-color: #fafafa;
}

/* Marquee galerija – animacija desna → levo */
.marquee-wrap {
    overflow: hidden;
    padding: 28px 0 36px;
    background: linear-gradient(180deg, #fdf8f8 0%, #fafafa 100%);
    margin-bottom: 16px;
}

.marquee-wrap .products-heading,
.marquee-wrap .products-subtitle {
    margin-bottom: 20px;
}

.marquee-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    flex-shrink: 0;
    animation: marquee 70s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track-inner {
    display: flex;
    flex-shrink: 0;
    min-width: max-content;
    gap: 20px;
}

.marquee-item {
    flex-shrink: 0;
    width: 380px;
    min-width: 380px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(199, 108, 108, 0.12);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /*vertical-align: middle;*/
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cvecara-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 60px;
}

/* Akcijske kartice (Valentine's Day, 8. mart) */
.promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 56px;
}

.promo-card {
    display: flex;
    align-items: stretch;
    background-color: #f8e8e8;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(199, 108, 108, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(199, 108, 108, 0.18);
}

.promo-card-image {
    width: 45%;
    min-height: 200px;
    background-color: #f0e0e0;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-card-content {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-kicker {
    font-size: 0.85rem;
    color: #c76c6c;
    font-style: italic;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f2b26;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.promo-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #c76c6c;
}

/* Redovne usluge – tipovi cveća */
.products-section {
    margin-top: 0;
}

.products-heading {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: #2f2b26;
    margin: 0 0 10px;
    letter-spacing: 0.03em;
}

.products-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #6e655e;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(199, 108, 108, 0.15);
    transform: translateY(-2px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background-color: #f0e8e8;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #c76c6c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.product-badge-new {
    background-color: #2f2b26;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2f2b26;
    margin: 14px 14px 4px;
    letter-spacing: 0.02em;
}

.product-desc {
    font-size: 0.85rem;
    color: #6e655e;
    margin: 0 14px 14px;
    line-height: 1.4;
}




footer{
    width: 100%;
    justify-content: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
footer .footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
footer .footer-brand .footer-logo{
    width: 80px;
    height: 40px;
    object-fit: contain;
}
footer .footer-brand{
    display: flex;
    align-items: center;
    gap: 10px;    
}

footer .footer-links{
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-icon{
    width: 35px;
    height: 35px;
    
}

/* Responsive – cvecara page */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
    }

    .hero-content {
        padding: 48px 20px 32px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero::before {
        clip-path: polygon(0 0, 55% 0, 40% 100%, 0 100%);
    }

    .cvecara-inner {
        padding: 24px 16px 40px;
    }

    .promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .promo-card {
        flex-direction: column;
    }

    .promo-card-image {
        width: 100%;
        min-height: 180px;
    }

    .promo-card-content {
        padding: 20px 20px;
    }

    .promo-title {
        font-size: 1.3rem;
    }

    .products-heading {
        font-size: 1.5rem;
    }

    .products-subtitle {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* jednostavan responsive prilagođaj – navbar */
@media (max-width: 768px) {
    .navbar-inner {
        padding-inline: 16px;
        gap: 16px;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.35s ease, padding 0.25s ease;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 24px 0;
    }
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #c76c6c;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-brand {
        margin-left: 0;
        padding-right: 0;
    }

    .nav-lang {
        display: none;
    }

    .nav-menu .nav-lang {
        display: block;
        margin-top: 16px;
    }

    .nav-menu .lang-picker {
        justify-content: center;
    }


    /* RESPONSIVE */

@media (max-width: 768px) {

    body {
        padding-top: 64px;
    }

    /* NAVBAR */
    .navbar-inner {
        padding: 12px 16px;
        gap: 12px;
    }

    .nav-brand {
        margin-left: 0;
        padding-right: 0;
    }

    .nav-title {
        font-size: 0.8rem;
    }

    .nav-menu {
        display: none; /* za telefon – kasnije može hamburger */
    }

    /* HERO */
    .hero {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .hero::before {
        display: none;
    }

    .hero-video {
        position: static;
        width: 100%;
        max-width: 100%;
        height: 500px;
    }

    .hero-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        box-shadow: 0 8px 20px rgba(199, 108, 108, 0.35);
    }

    .hero-content {
        width: fit-content;
        margin-right: 0;
        padding: 24px 16px 40px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero-text {
        max-width: 100%;
    }

    .container{
        width: fit-content;
    }
   
    /* HERO 1/3 VISINE - podešeno kroz gornja pravila */
    .hero {
        min-height: auto;
    }

    /* FOOTER */
    footer .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
    }

    footer .footer-brand {
        flex-direction: column;
    }

    footer .footer-links {
        justify-content: center;
    }
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #c76c6c;
    transition: 0.3s ease;
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 20px;

        max-height: 0;
        overflow: hidden;
        padding: 0;

        transition:
            max-height 0.35s ease,
            padding 0.25s ease;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 24px 0;
    }
}

@media (max-width: 768px) {

    /* sakrij zastavice u headeru */
    .nav-lang {
        display: none;
    }

    /* prikaži ih unutar menija */
    .nav-menu .nav-lang {
        display: block;
        margin-top: 16px;
    }

    .nav-menu .lang-picker {
        justify-content: center;
    }
}
}

