/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
  font-family: 'ArianaProBlack';
  src: url('fonts/ArianaPro-Black.woff2') format('woff2'),
       url(fonts/ArianaPro-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Mukta", sans-serif;
    overflow-x: hidden;
    background-color: #0d2b5e;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.navbar-bar {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.navbar-img {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    transform: scaleY(1.0);
    transform-origin: top center;
}

.navbar-logo {
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 80px;
    height: auto;
    z-index: 10;
}

/* Navbar scroll states */
.navbar-scrolled {
    background: rgba(13, 43, 94, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Blue textured background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-background.png') center center / cover no-repeat;
    z-index: 0;
}

/* ===== HERO BADGE (Top Right) ===== */
.hero-badge {
    position: absolute;
    top: 100px;
    right: 100px;
    z-index: 10;
}

.hero-badge img {
    width: 180px;
    height: auto;
}

/* ===== HERO CONTENT ===== */
.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 20px 40px;
    min-height: 100vh;
}

/* Left - Banner with slideshow */
.hero-left {
    flex: 0 0 42%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    margin-top: 55px;
    padding-left: 80px;
}

.banner-container {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.banner-bg {
    width: 100%;
    height: auto;
    display: block;
}

.banner-text {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    z-index: 5;
}

/* Slideshow - rotating food images */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
}

.slideshow .slide {
    position: absolute;
    top: 40%;
    left: 58%;
    transform: translate(-50%, -40%);
    width: 160%;
    max-width: none;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slideshow .slide.active {
    opacity: 1;
}

/* Center - Product */
.hero-center {
    flex: 0 0 22%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    align-self: center;
}

.vegeta-product {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

/* Right - Text & Arrow */
.hero-right {
    flex: 0 0 36%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    align-self: center;
}

.hero-right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Text slideshow - slot machine style */
.text-slideshow {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 120px;
    overflow: hidden;
    margin-bottom: -10px;
}

.text-slideshow .text-slide {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 120px;
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
    transform: translateY(-120%);
    opacity: 0;
    transition: none;
}

.text-slideshow .text-slide.active {
    animation: slotIn 0.5s ease-out forwards;
}

.text-slideshow .text-slide.exit {
    animation: slotOut 0.4s ease-in forwards;
}

@keyframes slotIn {
    0% {
        transform: translateY(-120%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slotOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(150%);
        opacity: 0;
    }
}

/* Static "uz Vegetu." */
.uz-vegetu-text {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-top: 0;
    line-height: 1;
}

.arrow-img {
    width: 90px;
    height: auto;
    align-self: flex-start;
    margin-top: 20px;
    margin-left: -80px;
}

/* ===== ANIMATIONS ===== */
/* Fade in animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-left {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-center {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-right {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-badge {
    animation: fadeIn 1s ease-out 1s both;
}

/* ===== NAGRADNA IGRA SECTION ===== */
.nagradna-section {
    position: relative;
    width: 100%;
    background-color: #002855;
    padding: 80px 0 100px;
    overflow: hidden;
}

.nagradna-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 40px;
    align-items: flex-start;
}

/* Left Column */
.nagradna-left {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nagradna-badge {
    width: 320px;
    height: auto;
}

.nagradna-heading {
    font-family: 'ArianaProBlack', sans-serif;
    font-weight: 900;
    font-size: 3.2rem;
    line-height: 1.15;
    color: #ffffff;
}

.nagradna-heading em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: #e8c84a;
}

.nagradna-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #ffffff;
}

.nagradna-subtitle {
    margin-top: 5px;
}

.nagradna-steps {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #ffffff;
}

.nagradna-note {
    color: #ffffff;
}

.pravila-link {
    color: #F8E08E;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
}

.pravila-link:hover {
    color: #f5d85e;
}

/* Buttons */
.nagradna-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    align-items: flex-start;
}

.nagradna-btn {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.nagradna-btn img {
    height: 60px;
    width: auto;
}

.nagradna-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Right Column */
.nagradna-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nagradna-prize-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prize-main-img {
    width: 100%;
    max-width: 550px;
    height: auto;
}

.prize-label {
    font-family: 'Mukta', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
    color: #e8c84a;
    text-transform: uppercase;
    margin-top: 10px;
}

.prize-name {
    font-family: 'Mukta', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #e8c84a;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
    margin-top: 5px;
}

.sedmicne-label {
    font-family: 'Mukta', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
    color: #e8c84a;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}

.nagradna-prize-weekly {
    width: 100%;
    display: flex;
    justify-content: center;
}

.prize-weekly-img {
    width: 100%;
    max-width: 550px;
    height: auto;
}

#dobitniciList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    
    #dobitniciList {
        grid-template-columns: 1fr;
    }

}

.termini-week.dobitnici {
    background: #0d2b5e;
    padding: 25px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.666);
}

/* ===== VEGETA 3D SECTION ===== */
.vegeta-3d-section {
    position: relative;
    width: 100%;
    background-color: #002855;
    padding: 80px 0 100px;
    overflow: hidden;
}

.vegeta-3d-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 0 40px;
}

.vegeta-3d-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    margin-left: -40px;
}

.vegeta-3d-title-text {

    color: #fff;
    font-family: 'ArianaProBlack', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    font-style: normal;
    white-space: nowrap;
    line-height: 1.1;
}

.vegeta-3d-svaki {
    height: auto;
    max-height: 120px;
    flex-shrink: 0;
    margin-left: 20px;
}

/* 3D Animation Wrapper */
.vegeta-3d-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vegeta-3d-video {
    width: 100%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
}

/* ===== RECEPTI SECTION ===== */
.recepti-section {
    position: relative;
    width: 100%;
    background-color: #0077C8;
    padding: 80px 0 100px;
}

.recepti-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recepti-title {
    text-align: center;
    margin-bottom: 50px;
}

.recepti-heading {
    font-family: 'ArianaProBlack', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    font-style: normal;
    margin: 0 0 5px;
    letter-spacing: 2px;
}

.recepti-bez-straha {
    max-width: 320px;
    height: auto;
}

/* Recipe Grid */
.recepti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.recipe-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-time {
    display: none;
}

.recipe-card-img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.recipe-card-content {
    padding: 14px 2px 0;
}

.recipe-card-category {
    color: #f8e08e;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recipe-card-category::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: #f8e08e;
}

.recipe-card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

/* ===== RESPONSIVE - TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .hero-badge {
        top: 70px;
        right: 20px;
    }

    .hero-badge img {
        width: 140px;
    }

    .hero-left {
        flex: 0 0 40%;
    }

    .banner-container {
        max-width: 320px;
    }

    .hero-center {
        flex: 0 0 25%;
    }

    .vegeta-product {
        max-width: 220px;
    }

    .hero-right {
        flex: 0 0 35%;
    }

    .arrow-img {
        width: 60px;
    }

    /* Nagradna - tablet */
    .nagradna-container {
        padding: 0 30px;
        gap: 40px;
    }

    .nagradna-heading {
        font-size: 2.2rem;
    }

    .nagradna-badge {
        width: 220px;
    }

    .prize-main-img,
    .prize-weekly-img {
        max-width: 380px;
    }

    /* Vegeta 3D - tablet */
    .vegeta-3d-title-text {
        font-size: 2.8rem;
    }

    .vegeta-3d-svaki {
        max-height: 58px;
    }

    .vegeta-3d-video {
        max-width: 450px;
    }

    /* Recepti - tablet */
    .recepti-grid {
        gap: 25px;
    }

    .recepti-heading {
        font-size: 2.8rem;
    }

    .recepti-bez-straha {
        max-width: 260px;
    }
}

/* ===== RESPONSIVE - SMALL TABLET (max-width: 768px) ===== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        padding: 70px 0 0;
        min-height: auto;
        gap: 0;
        align-items: center;
        position: relative;
    }

    /* Banner/text takes full width, centered */
    .hero-left {
        flex: none;
        width: 100%;
        order: 1;
        margin-top: 0;
        padding-left: 0;
        justify-content: center;
    }

    .banner-container {
        max-width: 70%;
        margin: 0 auto;
    }

    .banner-text {
        width: 70%;
        top: 5%;
    }

    .slideshow .slide {
        width: 100%;
    }

    /* Navbar bigger on mobile */
    .navbar-img {
        transform: scaleY(2.0);
        transform-origin: top center;
    }

    .navbar-logo {
        width: 96px;
        top: 45%;
    }

    /* Badge centered below banner text, above slideshow */
    .hero-badge {
        position: absolute;
        top: auto;
        bottom: 48%;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .hero-badge img {
        width: 200px;
    }

    /* Hide arrow on mobile */
    .arrow-img {
        display: none;
    }

    /* Bottom area: product overlaps left, text on right */
    .hero-center {
        flex: none;
        width: auto;
        order: 2;
        position: absolute;
        bottom: 20px;
        left: 5%;
        z-index: 6;
        align-self: auto;
    }

    .vegeta-product {
        max-width: 140px;
        margin: 0;
    }

    /* Right text at bottom */
    .hero-right {
        flex: none;
        width: 100%;
        order: 3;
        align-self: flex-end;
        padding: 25px 20px 25px 38%;
    }

    .hero-right-content {
        align-items: flex-start;
    }

    .text-slideshow {
        max-width: 220px;
        height: 70px;
    }

    .text-slideshow .text-slide {
        height: 100px;
    }

    .uz-vegetu-text {
        max-width: 220px;
    }

    /* Nagradna - small tablet */
    .nagradna-container {
        flex-direction: column;
        padding: 0 30px;
        gap: 50px;
        align-items: center;
    }

    .nagradna-left {
        flex: none;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .nagradna-heading {
        font-size: 2rem;
    }

    .nagradna-text {
        text-align: left;
    }

    .nagradna-buttons {
        align-items: center;
    }

    .nagradna-right {
        width: 100%;
    }

    .prize-main-img,
    .prize-weekly-img {
        max-width: 400px;
    }

    /* Vegeta 3D - small tablet */
    .vegeta-3d-section {
        padding: 60px 0 80px;
    }

    .vegeta-3d-container {
        gap: 35px;
        padding: 0 25px;
    }

    .vegeta-3d-title-row {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
    }

    .vegeta-3d-title-text {
        font-size: 2.2rem;
        white-space: normal;
        text-align: center;
    }

    .vegeta-3d-svaki {
        max-height: 55px;
        margin-left: 0;
    }

    .vegeta-3d-video {
        max-width: 90%;
    }

    /* Recepti - small tablet */
    .recepti-section {
        padding: 60px 0 80px;
    }

    .recepti-container {
        padding: 0 25px;
    }

    .recepti-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recipe-card-category {
        font-size: 0.82rem;
    }

    .recipe-card-title {
        font-size: 1.3rem;
    }

    .recepti-heading {
        font-size: 2.4rem;
    }

    .recepti-bez-straha {
        max-width: 220px;
    }
}

/* ===== RESPONSIVE - MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .hero-content {
        padding: 60px 0 0;
        gap: 0;
    }

    .navbar-img {
        transform: scaleY(4.5);
    }

    .navbar-logo {
        width: 82px;
        top: 66%;
        transform: translate(-50%, -10%);
    }

    .banner-container {
        max-width: 75%;
    }

    .vegeta-product {
        max-width: 120px;
    }

    .hero-center {
        bottom: 15px;
        left: 3%;
    }

    .hero-right {
        padding: 20px 15px 20px 36%;
    }

    .text-slideshow {
        max-width: 180px;
        height: 90px;
    }

    .text-slideshow .text-slide {
        height: 100px;
    }

    .uz-vegetu-text {
        max-width: 180px;
    }

    .hero-badge img {
        width: 180px;
    }

    /* Nagradna - mobile */
    .nagradna-section {
        padding: 50px 0 60px;
    }

    .nagradna-container {
        padding: 0 20px;
    }

    .nagradna-heading {
        font-size: 1.6rem;
    }

    .nagradna-badge {
        width: 200px;
    }

    .nagradna-btn img {
        height: 45px;
    }

    .prize-main-img,
    .prize-weekly-img {
        max-width: 320px;
    }

    /* Vegeta 3D - mobile */
    .vegeta-3d-section {
        padding: 50px 0 60px;
    }

    .vegeta-3d-container {
        gap: 25px;
        padding: 0 15px;
    }

    .vegeta-3d-title-text {
        font-size: 1.8rem;
    }

    .vegeta-3d-svaki {
        max-height: 45px;
    }

    .vegeta-3d-video {
        max-width: 95%;
    }

    /* Recepti - mobile */
    .recepti-section {
        padding: 50px 0 60px;
    }

    .recepti-container {
        padding: 0 15px;
    }

    .recepti-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .recipe-card-content {
        padding: 12px 2px 0;
    }

    .recipe-card-category {
        font-size: 0.78rem;
        margin-bottom: 8px;
    }

    .recipe-card-title {
        font-size: 1.12rem;
    }

    .recepti-heading {
        font-size: 2rem;
    }

    .recepti-bez-straha {
        max-width: 180px;
    }

}

/* ===== RESPONSIVE - SMALL MOBILE (max-width: 360px) ===== */
@media (max-width: 360px) {
    .hero-content {
        padding: 55px 0 0;
        gap: 0;
    }

    .navbar-img {
        transform: scaleY(4.2);
    }

    .navbar-logo {
        width: 72px;
        top: 64%;
        transform: translate(-50%, -10%);
    }

    .banner-container {
        max-width: 80%;
    }

    .vegeta-product {
        max-width: 100px;
    }

    .hero-right {
        padding: 18px 10px 18px 33%;
    }

 

    .uz-vegetu-text {
        max-width: 150px;
    }

    .hero-badge img {
        width: 160px;
    }

    /* Vegeta 3D - small mobile */
    .vegeta-3d-section {
        padding: 40px 0 50px;
    }

    .vegeta-3d-title-text {
        font-size: 1.5rem;
    }

    .vegeta-3d-svaki {
        max-height: 40px;
    }

    .vegeta-3d-video {
        max-width: 100%;
    }

    /* Recepti - small mobile */
    .recepti-section {
        padding: 40px 0 50px;
    }

    .recepti-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recipe-card-title {
        font-size: 1rem;
    }

    .recipe-card-category {
        font-size: 0.72rem;
    }

    .recepti-heading {
        font-size: 1.8rem;
    }

    .recepti-bez-straha {
        max-width: 160px;
    }
}

/* ===================== PRIČA / VIDEO SECTION ===================== */
.prica-section {
    background-color: #002855;
    padding: 80px 20px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prica-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prica-heading {
    font-family: 'ArianaProBlack', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    font-style: normal;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prica-title-row {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.prica-strasno {
    height: 90px;
    object-fit: contain;
}
img.strasno {
    max-width: 220px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -4px; /* fino poravnanje */
}

.prica-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prica-video-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #000;
}

.prica-video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Decorative scratch marks (images) */
.prica-crtice {
    position: absolute;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.prica-crtice-right {
    top: -55px;
    right: -70px;
}

.prica-crtice-left {
    bottom: -55px;
    left: -70px;
}

/* Responsive - Priča Section */
@media (max-width: 1024px) {
    .prica-heading {
        font-size: 2.6rem;
    }

    .prica-strasno {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .prica-section {
        padding: 60px 15px 80px;
    }

    .prica-heading {
        font-size: 2rem;
    }

    .prica-strasno {
        height: 40px;
    }

    .prica-crtice {
        display: none;
    }

    img.strasno {
    max-width: 140px;
}
}

@media (max-width: 480px) {
    .prica-section {
        padding: 40px 10px 60px;
    }

    .prica-heading {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .prica-strasno {
        height: 30px;
    }

    .prica-title-row {
        gap: 8px;
    }

    .prica-video-container {
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .prica-heading {
        font-size: 1.3rem;
    }

    .prica-strasno {
        height: 25px;
    }
}

/* ===================== FOOTER ===================== */
.footer {
    background: url('images/Footer.png') center center / cover no-repeat;
    background-color: #002855;
    position: relative;
    padding-bottom: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 60px 60px;
    gap: 40px;
}

/* Left - Podravka */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex: 0 0 auto;
}

.footer-podravka-logo {
    height: 50px;
    object-fit: contain;
}

.footer-copyright {
    font-family: 'Mukta', sans-serif;
    font-size: 0.75rem;
    color: #fff;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-copyright em {
    font-style: italic;
}

/* Links columns */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 40px;
}

.footer-links a {
    font-family: 'Mukta', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Right - Vegeta Logo */
.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.footer-vegeta-logo {
    width: 250px;
    object-fit: contain;
    opacity: 0.3;
}

/* Shape / Go to top */
.footer-shape-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.footer-go-top {
    display: block;
    width: 60%;
    max-width: 600px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-go-top:hover {
    opacity: 0.8;
}

.footer-shape {
    width: 100%;
    display: block;
}

/* Responsive - Footer */
@media (max-width: 1024px) {
    .footer-content {
        padding: 60px 40px 40px;
        gap: 30px;
    }

    .footer-vegeta-logo {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-wrap: wrap;
        padding: 50px 30px 30px;
        gap: 30px;
    }

    .footer-left {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        border-left: none;
        padding-left: 0;
        align-items: center;
        text-align: center;
        width: 45%;
    }

    .footer-right {
        width: 100%;
        justify-content: center;
    }

    .footer-vegeta-logo {
        width: 200px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 20px 20px;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        width: 100%;
    }

    .footer-vegeta-logo {
        width: 160px;
    }
}

/* ===================== FOOTER LEGAL POPUP ===================== */
.footer-legal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 10, 30, 0.82);
    z-index: 9997;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.footer-legal-overlay.active {
    display: flex;
}

.footer-legal-modal {
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    overflow: auto;
    background: #002855;
    border: 2px solid #f8e08e;
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.footer-legal-modal h3, .footer-legal-modal h4 {
    color: #f8e08e;
}
.footer-legal-modal table {
    color: #f8e08e;
}
.footer-legal-content h3 {
    margin-top: 24px;
}

.footer-legal-content h4 {
    margin-top: 16px;
}

.footer-legal-content p {
    line-height: 1.6;
}

.footer-legal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #1f4f95;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.footer-legal-title {
    font-family: 'Mukta', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #f8e08e;
    margin: 0 30px 14px 0;
}

.footer-legal-body p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 12px;
}
div#cc-main {
    z-index: 100;
}

@media (max-width: 768px) {
    .footer-legal-modal {
        max-width: 95%;
        padding: 20px 16px 16px;
    }

    .footer-legal-title {
        font-size: 1.2rem;
    }

    .footer-legal-body p {
        font-size: 0.92rem;
    }
}

/* ===================== IZAZOV POPUP/MODAL ===================== */
.izazov-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 30, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.izazov-overlay.active {
    display: flex;
}

.izazov-modal {
    width: 100%;
    max-width: 900px;
    position: relative;
    max-height: calc(100vh - 40px);
}

/* Screens */
.izazov-screen {
    display: none;
    width: 100%;
}

.izazov-screen.active {
    display: flex;
    justify-content: center;
    animation: izazovFadeIn 0.4s ease;
}

@keyframes izazovFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Card */
.izazov-card {
    justify-content: center;
    min-height: 420px;
    background: #002855;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.izazov-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #4A8BC2;
    border-radius: 20px;
    z-index: 0;
}

.izazov-card > * {
    position: relative;
    z-index: 1;
}

/* Typography */
.izazov-title {
    font-family: 'ArianaProBlack', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 0px;
    line-height: 1.3;
}

.izazov-title-gold {
    color: #F8E08E;
}

.izazov-recipe-name {
    font-family: 'ArianaProBlack', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.izazov-question {
    font-family: 'Mukta', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
}

.izazov-progress {
    font-family: 'Mukta', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.izazov-subtitle {
    font-family: 'Mukta', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}

.izazov-result-text {
    font-family: 'Mukta', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 25px;
    padding: 0 20px;
}

.izazov-result-image {
    width: 100%;
    max-width: 420px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 26px;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.izazov-confirm-title {
    color: #fff;
    margin-top: 50px;
}

.izazov-confirm-text {
    font-family: 'Mukta', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.izazov-share-box {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.izazov-share-image {
    width: 100%;
    max-width: 380px;
    height: 190px;
    border-radius: 14px;
    object-fit: cover;
}

.izazov-share-text {
    font-family: 'Mukta', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.55;
    margin: 0;
}

/* Options */
.izazov-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

.izazov-option {
    background: #fff;
    color: #333;
    border: none;
    border-radius: 30px;
    padding: 14px 20px;
    font-family: 'Mukta', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.izazov-option:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.izazov-option:active {
    transform: scale(0.98);
}

/* Buttons */
.izazov-btn-start {
    background: #C4E54C;
    color: #1a1a1a;
    border: none;
    border-radius: 30px;
    padding: 14px 60px;
    font-family: 'Mukta', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 30px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.izazov-btn-start:hover {
    background: #b5d843;
    transform: scale(1.05);
}

.izazov-btn-next {
    background: #fff;
    color: #333;
    border: none;
    border-radius: 30px;
    padding: 14px 50px;
    font-family: 'Mukta', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: transform 0.2s ease;
    margin-bottom: 30px;
}

.izazov-btn-next:hover {
    transform: scale(1.05);
}

/* Form */
.izazov-form-label {
    font-family: 'Mukta', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 5px;
}

.izazov-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 30px;
}

.izazov-input {
    background: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-family: 'Mukta', sans-serif;
    font-size: 0.9rem;
    color: #333;
    outline: none;
    width: 100%;
}

.izazov-input::placeholder {
    color: #999;
}

.izazov-input-row {
    display: flex;
    gap: 10px;
}

.izazov-input-row .izazov-input {
    flex: 1;
}

.izazov-btn-submit {
    background: #F8E08E;
    color: #1a1a1a;
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-family: 'Mukta', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.izazov-btn-submit:hover {
    background: #f5d85e;
    transform: scale(1.05);
}

/* Close button */
.izazov-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #4A8BC2;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease;
}

.izazov-close:hover {
    background: #3a7ab2;
}

/* Responsive - Izazov Modal */
@media (max-width: 768px) {
    .izazov-modal {
        max-width: 95%;
        max-height: calc(100vh - 20px);
    }

    .izazov-title {
        font-size: 1.4rem;
    }

    .izazov-recipe-name {
        font-size: 1.3rem;
    }

    .izazov-question {
        font-size: 1rem;
    }

    .izazov-result-image {
        max-width: 100%;
        height: 190px;
        border-radius: 12px;
    }

    .izazov-share-image {
        max-width: 100%;
        height: 170px;
    }

    .izazov-share-text {
        font-size: 0.9rem;
    }

    .izazov-card {
        padding: 20px;
        max-height: calc(100vh - 30px);
    }

    .izazov-card::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .izazov-title {
        font-size: 1.2rem;
    }

    .izazov-recipe-name {
        font-size: 1.1rem;
    }

    .izazov-option {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .izazov-card {
        padding: 15px;
        max-height: calc(100vh - 22px);
    }

    .izazov-card::before {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .izazov-result-image {
        height: 160px;
    }

    .izazov-share-image {
        height: 145px;
    }

    .izazov-share-text {
        font-size: 0.84rem;
    }

    .izazov-input {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* ===================== TERMINI SEDMICNIH RECEPATA POPUP ===================== */
.termini-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 30, 0.8);
    z-index: 9998;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.termini-overlay.active {
    display: flex;
}

.termini-modal {
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    overflow: auto;
    background: #0d2b5e;
    border: 2px solid #f8e08e;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.termini-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: #1f4f95;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.termini-title {
    font-family: 'Mukta', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #f8e08e;
    margin-bottom: 18px;
    text-align: center;
    padding-right: 30px;
}

.termini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.termini-week {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px;
}

.termini-week-header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 8px;
}

.termini-week-name {
    font-family: 'Mukta', sans-serif;
    font-weight: 800;
    color: #fff;
}

.termini-week-range {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    color: #c4e54c;
}

.termini-week-theme {
    font-family: 'Mukta', sans-serif;
    color: #dbe8ff;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.termini-recipe {
    font-family: 'Mukta', sans-serif;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 4px;
}

.termini-recipe strong {
    color: #f8e08e;
}

.termini-recipe-active {
    color: #ffffff;
    font-weight: 700;
}

.termini-check {
    display: inline-block;
    color: #c4e54c;
    font-weight: 900;
    margin-right: 6px;
}

@media (max-width: 768px) {
    .termini-modal {
        max-width: 95%;
        padding: 20px 16px;
    }

    .termini-title {
        font-size: 1.2rem;
    }

    .termini-recipe,
    .termini-week-theme {
        font-size: 0.9rem;
    }
}
.dobitnici-week h3 {
    color: #c4e54c;
}
.termini-week.dobitnici h3 {
    color: #c4e54c;
    line-height: 1.1em;
}
.termini-week.dobitnici {
    margin-bottom: 20px;
    color: #fff;
}