/* ===========================
   Osnovne nastavitve & barve
   =========================== */

:root {
    --primary: #6b3f2b;       /* rjava iz logotipa */
    --primary-light: #9b5a3a;
    --accent: #c0392b;        /* rdeča iz logotipa */
    --bg: #f7f4f1;
    --text: #2d2825;
    --muted: #7a6f69;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    top: 0px;
}


body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}
img-podpis {
    display: block;
    height: 50px;
    margin-top: 1rem;
    border-width: 2px;
    border-color: #000000;
}

/* ===========================
   Layout strani
   =========================== */

.page {
    min-height: 100vh;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

main {
    flex: 1;
    background-color: #FBEEE4;
}

/* ===========================
   Header: logo + žlikrofi + meni
   =========================== */

header {
    position: static;
    z-index: 10;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e1d6cf;
}

/* blok z dvema slikama – logo + žlikrofi */
.slike {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* vsaka slika je nominalno 300 px */
.slike img {
    width: 300px;
    max-width: 100%;
}

/* meni */
.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-right: 3.5rem;
    padding-left: 3.5rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
    justify-content: center;
}

nav a {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--muted);
    transition: background 0.2s, color 0.1s, transform 0.1s;
}

nav a:hover,
nav a.nav-active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

#meni_zgoraj .trenutna {
    border: 2px solid #7b5a3b;
}

.nav a.aktivni {
    border: 2px solid #7b5a3b;
    margin-top: 10px;
}


/* ===========================
   Sekcije & naslovi
   =========================== */

section {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.section-inner {
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    vertical-align: top;
    align-items: flex-start;
    align-content: center;
}
.section-izdelki {
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    margin-top: -10px;
}

.section-header {
    margin-bottom: 2rem;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 1rem;
    max-width: none;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 0px;
    text-align: center;
    color: rgba(160,42,42,1.00);
}
.section-kicker_center {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    max-width: none;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 0px;
    text-align: center;
    color: rgba(0,0,0,1.00);
}

.section-title {
    font-size: 1.7rem;
    margin-right: 0;
    margin-left: 0;
    color: #1f1713;
}
.section-title-center {
    font-size: 1.7rem;
    margin: 0.2rem 0;
    color: #1f1713;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0.5rem auto 0;
    text-align: center;
}
.section-subtitle-C {
    font-size: 0.95rem;
    color: #000000;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    text-align: justify;
}
.section-subtitle-C-bold {
    font-size: 0.95rem;
    color: #000000;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    text-align: justify;
    font-weight: bold;
}
.section-subtitle-D-o-nas {
    font-size: 0.95rem;
    color: #000000;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    text-align: justify;
    max-width: 200px;
}
.section-cenik {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 34rem;
    margin: 0.5rem auto 0;
    text-align: justify;
}
.section-subtitle-B {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 34rem;
    margin: 0.5rem auto 0;
    font-weight: bold;
}

/* ===========================
   Hero (uvodna sekcija)
   =========================== */

.hero {
    background-color: #fbeee4;
    border-bottom: 1px solid #e1d6cf;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.0fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hero-content {
    text-align: center;
    vertical-align: top;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 0.2rem 0.9rem;
    font-size: 0.8rem;
    color: var(--primary);
    border: 1px solid #f1d7c7;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #1f1713;
    margin-right: 0;
    margin-left: 0;
}

.hero p {
    margin: 0.5rem 0 1.6rem;
    color: var(--muted);
    max-width: 35rem;
}

.hero-actions {
    display: block;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    text-align: center;
    padding-top: 1rem;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #C0392B;
    color: var(--white);
    font-weight: 500;
    box-shadow: 0 0 15px #434040;
    -webkit-box-shadow: 0 0 15px #434040;
    left: 50%;
    right: 50%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.btn-primary:hover {
    background: #C0392B;
    transform: translateY(1px);
    box-shadow: 0 0 22px rgba(0,0,0,0.30);
    -webkit-box-shadow: 0 0 22px rgba(0,0,0,0.30);
}

.btn-ghost {
    border: 1px dashed #d6c7bd;
    color: var(--muted);
    transition: none;
}

.btn-ghost:hover {
    background: #f3ebe5;
    border-color: var(--primary);
}

.hero-note {
    font-size: 0.85rem;
    color: var(--muted);
    padding-top: 2rem;
}

/* kartica desno v hero sekciji */

.hero-card {
    border-radius: 1.25rem;
    padding: 1.3rem 1.4rem;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.75);
    font-size: 0.92rem;
    color: #fff;
    background-color: #6B3F2B;
    text-align: right;
}

.hero-card h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.hero-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    text-align: right;
}

.hero-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-align: left;
}

.hero-value {
    font-weight: 600;
    margin-left: 20px;
    text-align: right;
}

/* ===========================
   Gridi in kartice
   =========================== */

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.0fr);
    gap: 2rem;
}

.cards-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.card,
.product-card,
.info-card,
.contact-form {
    background: var(--white);
    border-radius: 1.25rem;
    padding-top: 0rem;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
    border: 1px solid #000000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    font-size: 0.93rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 25rem;
}
.card-RJAVA


 {
    background-color: #6B3F2B;
    border-radius: 1.25rem;
    padding-top: 0rem;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 2rem;
    border: 1px solid #000000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    font-size: 0.93rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.card h3,
.product-card h3 {
    margin-top: 0;
    font-size: 1rem;
}

.tagline {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.tagline_bp {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    top: 0px;
    bottom: 0px;
	text-align: center;
}
.tagline_link {
    font-size: 0.85rem;
    color: rgba(0,0,255,1.00);
    margin: 0;
    top: 0px;
    bottom: 0px;
    text-align: center;
    text-decoration: underline;
}

.card-images {
    display: flex;
    justify-content: center; /* vodoravno */
    align-items: center;     /* navpično */
    gap: 12px;               /* razmik med slikama */
}


/* ===========================
   Izdelki
   =========================== */

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.product-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.4rem;
}

/* slika v kartici izdelka, če obstaja */
.product-card img {
    margin: 0.75rem 0;
    border-radius: 0.9rem;
}

/* ===========================
   Lokacija & urnik
   =========================== */

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
}

.map-placeholder {
    border-radius: 1.25rem;
    border: 1px dashed #d6c7bd;
    padding: 1rem;
    background: var(--white);
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.map-placeholder strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours-table th,
.hours-table td {
    padding: 0.4rem 0.2rem;
}

.hours-table th {
    text-align: left;
    color: var(--muted);
    font-weight: 500;
    border-bottom: 1px solid #e1d6cf;
}

.hours-day {
    font-weight: 500;
}

.note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* ===========================
   Kontakt
   =========================== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-item {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.contact-label {
    font-weight: 600;
}

.form-row {
    margin-bottom: 0.8rem;
}

label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: var(--muted);
}

input,
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #d6c7bd;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fdfaf7;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.35);
}

/* ===========================
   Footer
   =========================== */

footer {
    border-top: 1px solid #e1d6cf;
    background: #fff;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===========================
   Responsive prilagoditve
   =========================== */

/* gridi v eno kolono na ožjih zaslonih */
@media (max-width: 1225px) {
    .hero-inner,
    .grid-2,
    .location-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        margin-top: 1.5rem;
    }
}

/* logo + žlikrofi pod seboj, meni bolj zgoščen */
@media (max-width: 600px) {
    .slike {
        flex-direction: column;
        padding: 0.75rem 1rem 0.25rem;
    }

    .slike img {
        width: 100%;
        max-width: 300px;
    }

    .nav-container {
        padding: 0.5rem 1rem 0.75rem;
    }

    nav ul {
        justify-content: flex-start;
    }

    .hero {
        padding: 2rem 1.2rem;
    }

    .hero-content {
    text-align: left;
    max-width: 25rem;
    }
}

/* še dodatno prilagajanje na zelo ozkih zaslonih */
@media (max-width: 300px) {
    nav ul {
        gap: 0.4rem;
    }

    nav a {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }

    section {
        padding: 1.6rem 1.1rem;
    }
}

/* izbriše spodnjo sliko v ožjih zaslonih */
@media (max-width: 600px) {
    .slike img:last-child {
        display: none;
    }
}

.izdelek {
    display: flex;
    justify-content: space-between; /* ime levo, cena desno */
    padding: 0.3rem 0;
    border-bottom: 1px solid #ddd;  /* po želji – črta med izdelki */
    max-width: 35rem;
	margin: 0.5rem auto 0;
}

.cena {
    font-weight: normal;
}
.ime {
}

.to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: 0.3s;
}

.to-top:hover {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}
.img_logo {
    text-shadow: 0 0 0;
    border-width: 5px;
    border-color: #FF0004;
    border-radius: 50%;
    -webkit-box-shadow: 1px 1px 10px 0 rgba(0,0,0,1.00);
    box-shadow: 1px 1px 10px 0 rgba(0,0,0,1.00);
}
.img_logo_m {
    text-shadow: 0 0 0;
    border-width: 5px;
    border-color: #FF0004;
    border-radius: 50%;
    -webkit-box-shadow: 1px 1px 10px 0 rgba(0,0,0,1.00);
    box-shadow: 1px 1px 10px 0 rgba(0,0,0,1.00);
    max-width: 70%;
    text-align: center;
}
.img_o_nas {
    text-shadow: 0 0 0;
    border-width: 5px;
    border-color: #FF0004;
    border-radius: 15px;
    -webkit-box-shadow: 1px 1px 10px 0 rgba(0,0,0,1.00);
    box-shadow: 1px 1px 10px 0 rgba(0,0,0,1.00);
}
.img_izd {
    text-shadow: 0 0 0;
    margin-top: -20px;
}
.img_izd_75 {
    text-shadow: 0 0 0;
    margin-top: -20px;
}


img {
    display: block;
    margin-top: 1rem;
    border-width: 2px;
    border-color: #000000;
    max-width: 100%;
}
.img {
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,1.00);
}

.pdf-link img {
    border-style: none;
    display: block;
}
