@font-face{
    font-family:"Inter";
    src:url("../assets/fonts/Inter Variable.ttf");
}
html {
    scroll-behavior: smooth;
}

body{
    font-family: 'Nunito', sans-serif;
    padding:0px;
    margin:0px;
}

.xmas-hero {
    background: linear-gradient(135deg, #b0b0b0, #c9c9c9);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    border-radius: 0 0 20px 20px;
}

.xmas-hero h1 {
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.xmas-hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.xmas-btn {
    background: #fff;
    color: #e28413;
    padding: 12px 25px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #e28413;
}

.xmas-btn:hover {
    background: #ffecec;
}

/* ---------------- GRID ---------------- */
.xmas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    width: 80%;
    margin: 0px auto;
}

.xmas-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
    padding-bottom: 20px;
    transition: 0.3s;
}

.xmas-item:hover {
    transform: scale(1.03);
}

.xmas-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.xmas-item h3 {
    margin: 15px 0;
    font-size: 20px;
}

.xmas-item a {
    padding: 10px 18px;
    background: #e28413;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.xmas-item a:hover {
    background: #b66709;
}

/* ---------------- CTA ---------------- */
.xmas-cta {
    background: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
    margin-top: 40px;
    border-radius: 20px;
}

.xmas-cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.xmas-cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

.xmas-btn-light {
    background: #e28413;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.xmas-btn-light:hover {
    background: #b66709;
}

.xmas-seo {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.xmas-seo h2 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.xmas-seo p {
    font-size: 17px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
}
.discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e28413;
    padding: 6px 12px;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.xmas-item {
    position: relative;
}

/*----------------------*/

/* ---- KALENDAR COUNTDOWN ---- */
.calendar-countdown {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 40px;
    padding: 20px;
    position: relative;
}


/* REALISTIČNA METALNA SPIRALA */
.calendar-countdown::before {
    content: "";
    position: absolute;
    top: -25px;
    width: 80%;
    height: 28px;

    background:
            repeating-linear-gradient(
                    to right,
                        /* metalni cilindar */
                    #d6d6d6 0px,
                    #d6d6d6 8px,
                    #b5b5b5 8px,
                    #b5b5b5 12px,
                    transparent 12px,
                    transparent 32px
            );

    /* metalni sjaj */
    background-blend-mode: overlay;

    /* zaobljena spirala */
    border-radius: 10px;

    /* senka ispod ringa */
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.22));

    opacity: 0.9;
}



/* Svaka jedinica (dani / sati / min / sek) */
.flip-unit {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* Labela */
.flip-unit .label {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: #e28413;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Kalendar list */
.flip {
    background: #fff;
    border-radius: 10px;
    width: 100px;
    height: 125px;
    position: relative;
    overflow: hidden;
    border: 2px solid #e28413;

    /* bolji 3D efekat */
    box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.08),
            inset 0 -4px 12px rgba(0,0,0,0.06),
            inset 0 2px 4px rgba(255,255,255,0.8);

    /* suptilna tekstura papira */
    background-image:
            url("https://www.transparenttextures.com/patterns/paper-fibers.png");
    background-size: 300px;
}

/* Horizontalna linija preseka papira */
.flip::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: rgba(226,132,19,0.25);
    box-shadow:
            0 1px 1px rgba(0,0,0,0.06),
            0 -1px 1px rgba(255,255,255,0.4);
}

/* Gornji deo papira – kao zakaljen rub */
.flip::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(to bottom, #e28413, #b66709);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* Brojevi – centrirani */
.flip span {
    position: absolute;
    width: 100%;
    left: 0;
    font-size: 52px;
    font-weight: 800;
    color: #e28413;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;

    /* još bolji 3D */
    text-shadow:
            0 2px 4px rgba(0,0,0,0.15),
            0 1px 1px rgba(255,255,255,0.6);
}

/* Trenutni broj */
.flip .current {
    top: 0;
}

/* Sledeći list dolazi odozdo */
.flip .next {
    top: 100%;
}

/* Flip animacija */
.flip.flip-animate .current {
    animation: flipUp 0.65s forwards cubic-bezier(0.45, 0.05, 0.2, 1);
}

.flip.flip-animate .next {
    animation: flipDown 0.65s forwards cubic-bezier(0.45, 0.05, 0.2, 1);
}

/* List se podiže na gore */
@keyframes flipUp {
    0% { top: 0; }
    100% { top: -100%; }
}

/* Sledeći list pada dole */
@keyframes flipDown {
    0% { top: 100%; }
    100% { top: 0; }
}

/* Mobilna prilagodljivost */
@media (max-width: 480px) {
    .calendar-countdown {
        gap: 10px;
        transform: scale(0.88);
    }
    .flip{
        width: 95px;
        height: 100px;
    }
    .flip span{
        font-size: 35px;
    }
}



/*----------------------*/

.snow, .snow2, .snow3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("");
    animation: snowfall 12s linear infinite;
    z-index: 9999;
    opacity: 0.7;
}

.snow2 {
    animation-duration: 18s;
    opacity: 0.5;
}

.snow3 {
    animation-duration: 25s;
    opacity: 0.3;
}

@keyframes snowfall {
    0% { background-position: 0px 0px; }
    100% { background-position: 0px 1000px; }
}


.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/*search*/
.novogodisnji{
    top: -5vh;
}

/*Risponsiv*/

@media (max-width: 500px) {
    .xmas-hero h1{
        font-size: 35px;
    }
}