/*======================================================
    Stowe's – custom overrides
    (učitava se posle svih ostalih CSS fajlova)
=======================================================*/

/* ---------- 1. Promo slider: sve kartice iste visine ---------- */
.promo-section .food-carousel .swiper-wrapper {
    align-items: stretch;
}

.promo-section .food-carousel .swiper-slide {
    height: auto;
    display: flex;
}

.promo-section .food-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.promo-section .food-content {
    flex: 1 1 auto;          /* tekst zauzima prostor koliko god da je dug */
}

.promo-section .food-thumb {
    margin-top: auto;         /* slika proizvoda uvek poravnata na dno kartice */
    padding-top: 10px;
}

/* ---------- 2. Dostava po celom gradu ---------- */
.content-section.delivery .order-content h3 a {
    color: inherit;
}

.content-section.delivery .order-content h3 a:hover {
    color: #fff;
}

/* ---------- 3. Glovo / Wolt sekcija ---------- */
.app-order-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    height: 58px;
    padding: 0 24px;
    border-radius: 10px;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.app-btn:focus-visible {
    outline: 3px solid #D6001C;
    outline-offset: 3px;
}

.app-btn-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.1;
    opacity: 0.9;
}

.app-btn-logo {
    height: 28px;
    width: auto;
    display: block;
}

/* Tekstualna zamena dok ne ubaciš zvanične logoe u assets/img/partners/ */
.app-btn-name {
    display: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.app-btn-glovo {
    background-color: #FFC244;
    color: #00A082;
}

.app-btn-glovo:hover {
    color: #00A082;
}

.app-btn-wolt {
    background-color: #009DE0;
    color: #fff;
}

.app-btn-wolt:hover {
    color: #fff;
}

/* Skijaš umesto dostavljača na biciklu */
.delivery-skier {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.delivery-skier img {
    width: 78%;
    max-width: 460px;
    height: auto;
    transform: rotate(-4deg);
    animation: skier-glide 4s ease-in-out infinite;
}

@keyframes skier-glide {
    0%, 100% { transform: rotate(-4deg) translate(0, 0); }
    50%      { transform: rotate(-2deg) translate(12px, -10px); }
}

@media (prefers-reduced-motion: reduce) {
    .delivery-skier img { animation: none; }
}

/* ---------- 4. Footer: gradient umesto ilustracije ---------- */
.footer-section {
    background-color: #C5001D;
    background-image: linear-gradient(135deg, #7A0D10 0%, #D6001C 55%, #C5001D 100%);
    color: rgba(255, 255, 255, 0.85);
}

.footer-section .footer-illustration,
.footer-section .running-cycle {
    display: none;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section .footer-widget h3 {
    color: #fff;
}

.footer-section .footer-widget h3 span,
.footer-section .footer-widget h3 span:before {
    background: #fff;
}

.footer-section .footer-widget p,
.footer-section .opening-hours-list li,
.footer-section .contact-info-list li {
    color: rgba(255, 255, 255, 0.85);
}

.footer-section .contact-info-list li a {
    color: #fff;
    text-decoration: none;
}

.footer-section .contact-info-list li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-section .footer-widget .footer-social li a {
    background-color: #fff;
    color: #C5001D;
}

.footer-section .footer-widget .footer-social li a:hover {
    background-color: #7A0D10;
    color: #fff;
}

.footer-section .footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

/* Forma za narudžbinu (bela kartica u footeru) */
.footer-section .order-form h3 {
    color: #241A14;
}

.footer-section .order-form h3 span,
.footer-section .order-form h3 span:before {
    background: #D6001C;
}

.order-form .booking-form-group > div:last-child,
.order-form .booking-form-group > .span-2 {
    grid-column: span 2;
}

.order-form .form-control,
.order-form .form-select {
    color: #333;
}

.order-form .form-control::placeholder {
    color: #999;
}

.order-form .form-control:focus,
.order-form .form-select:focus {
    border-color: #D6001C;
}

.order-form .form-control.message {
    height: 80px;
    line-height: 22px;
    padding-top: 8px;
}

.order-form .book-btn {
    background-color: #D6001C;
    width: 100%;
}

.order-form .book-btn:hover {
    background-color: #7A0D10;
}

.order-form .book-btn:disabled {
    opacity: 0.7;
}

.order-form .alert:empty {
    display: none;
}

.order-form .alert {
    margin: 15px 0 0;
    font-size: 14px;
    line-height: 20px;
}

@media all and (max-width: 767px) {
    .order-form .booking-form-group > div:last-child,
    .order-form .booking-form-group > .span-2 {
        grid-column: auto;
    }

    .app-order-buttons {
        justify-content: center;
    }

    .delivery-info {
        text-align: center;
    }

    .delivery-skier img {
        width: 70%;
    }
}

/* ---------- 5. Navigacija ---------- */
#order-form,
#about {
    scroll-margin-top: 110px;
}

/*======================================================
    6. Stranice proizvoda (sauce-*.html)
=======================================================*/
.sauce-hero {
    --sauce-a: #FC0404;
    --sauce-b: #AE2529;
    --sauce-c: #6B1719;
    --sauce-d: #280909;
    --sauce-text: #fff;
    --sauce-accent: #FFD27A;
    position: relative;
    overflow: hidden;
    padding: 190px 0 110px;
    background-color: var(--sauce-c);
    background-image:
        radial-gradient(circle at 78% 45%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(135deg, var(--sauce-a) 0%, var(--sauce-b) 33%, var(--sauce-c) 66%, var(--sauce-d) 100%);
    color: var(--sauce-text);
}

.sauce-hero.theme-nr2 {
    --sauce-a: #D9AE12;
    --sauce-b: #B98A06;
    --sauce-c: #8A6A0C;
    --sauce-d: #4A3804;
    --sauce-accent: #FFE58A;
}

.sauce-hero.theme-truffle {
    --sauce-a: #836F12;
    --sauce-b: #3B3208;
    --sauce-c: #1B1704;
    --sauce-d: #000000;
    --sauce-accent: #E3C35A;
}

.sauce-hero.theme-bbq {
    --sauce-a: #55A947;
    --sauce-b: #38702F;
    --sauce-c: #445F02;
    --sauce-d: #1B3717;
    --sauce-accent: #FFD27A;
}

.sauce-hero-info {
    max-width: 520px;
}

.sauce-badge {
    height: 62px;
    width: auto;
    margin-bottom: 22px;
    padding: 5px 8px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.sauce-hero h1 {
    color: var(--sauce-text);
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}

.sauce-tagline {
    color: var(--sauce-accent);
    font-size: 22px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 18px;
}

.sauce-desc {
    color: var(--sauce-text);
    opacity: 0.9;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 32px;
}

.sauce-hero-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.sauce-hero .default-btn {
    background: #D6001C;
}

.sauce-call {
    color: var(--sauce-text);
    font-weight: 500;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.sauce-call:hover {
    color: var(--sauce-accent);
}

.sauce-hero-img {
    text-align: center;
}

.sauce-hero-img img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 220px 220px 24px 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Detalji */
.sauce-detail {
    border-top: 4px solid #D6001C;
    padding-top: 22px;
    height: 100%;
}

.sauce-detail h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.sauce-detail p {
    margin: 0;
}

.sauce-order-strip {
    margin-top: 60px;
    padding: 36px 40px;
    border-radius: 14px;
    background-image: linear-gradient(135deg, #7A0D10 0%, #D6001C 55%, #C5001D 100%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sauce-order-strip h3 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 6px;
}

.sauce-order-strip p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 520px;
}

.sauce-order-strip .app-order-buttons {
    margin-top: 0;
}

/* Ostali sosovi */
.sauce-card {
    display: block;
    background: #fff;
    text-align: center;
    padding: 30px 20px 26px;
    height: 100%;
    border-bottom: 5px solid var(--card-color, #D6001C);
    box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, 0.06);
    transition: transform 0.25s ease;
}

.sauce-card:hover {
    transform: translateY(-6px);
}

.sauce-card.theme-nr1     { --card-color: #AE2529; }
.sauce-card.theme-nr2     { --card-color: #ECDB44; }
.sauce-card.theme-truffle { --card-color: #3B3208; }
.sauce-card.theme-bbq     { --card-color: #38702F; }

.sauce-card-img img {
    height: 220px;
    width: auto;
    margin: 0 auto 16px;
}

.sauce-card h3 {
    font-size: 21px;
    color: #0e1318;
    margin-bottom: 6px;
}

.sauce-card-link {
    color: #D6001C;
    font-weight: 500;
}

@media (max-width: 991px) {
    .sauce-hero {
        padding: 140px 0 70px;
        text-align: center;
    }

    .sauce-hero-info {
        margin: 40px auto 0;
    }

    .sauce-hero-btns {
        justify-content: center;
    }

    .sauce-hero h1 {
        font-size: 40px;
    }

    .sauce-hero-img img {
        max-width: 300px;
    }

    .sauce-order-strip {
        text-align: center;
        justify-content: center;
        padding: 30px 22px;
    }
}

/* ---------- SEO / pristupačnost ---------- */
/* H1 u heroju zadržava izgled postojećeg naslova */
.main-slider .slider-caption h1 {
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    letter-spacing: inherit;
    text-transform: inherit;
    line-height: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Kratak tekst na srpskom (BBQ sos Beograd) */
.about-info .seo-lead {
    font-size: 0.95em;
    opacity: .9;
}

.sauce-hero-info .seo-lead {
    font-size: 15px;
    line-height: 1.65;
    opacity: .92;
}

/* Anti-spam polje u formularu – ljudi ga ne vide */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Slike sosova na početnoj vode na stranicu sosa ---------- */
.sauce-img-link,
.sc-link {
    display: inline-block;
    cursor: pointer;
}
.sc-link { display: block; }
.sauce-img-link img { transition: transform .3s ease; }
.sauce-img-link:hover img { transform: scale(1.04); }
.sc-slide .sc-shot { cursor: pointer; }
