/* ═══════════════════════════════════════════════════════════════
   includes/style.css
   Централен, ЕДИНСТВЕН стилски фајл за целиот јавен дел на сајтот.
   Претходно стиловите беа расфрлани по <style> блокови во секоја
   страница одделно — сега сѐ е тука, на едно место.
   ═══════════════════════════════════════════════════════════════ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcfcfc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.site-section,
section {
    scroll-margin-top: 70px; /* Спречува менито да ја покрива заглавната содржина на секциите */
}

/* ── Навигација — фиксирана на врвот (sticky) ── */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.8rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

nav ul li a:hover,
nav ul li a.active {
    color: #27ae60;
}

/* ── Хамбургер мени (мобилен приказ) — сега важи на СИТЕ страници ── */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    .hamburger-btn {
        display: block;
    }
    .nav-container nav {
        display: none;
        width: 100%;
        background-color: #1e293b;
    }
    .nav-container nav.active {
        display: block;
    }
    .nav-container nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        margin: 0;
        list-style: none;
    }
    .nav-container nav ul li {
        width: 100%;
        text-align: center;
    }
    .nav-container nav ul li a {
        display: block;
        padding: 0.8rem 0;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ── Херо секција со панорамска слика (се користи на index.php) ── */
.hero {
    position: relative;
    min-height: 520px;
    background: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.65)),
                url('/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 8rem 1rem 3rem 1rem;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-shadow: 0 3px 6px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

/* ── Општ контејнер за внатрешните страници (вести, контакт, поединечна вест) ── */
.container {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

section, article {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

section h2, article h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 3px solid #27ae60;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.btn-send {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

/* ═══════════════════════════════════════════════════════════════
   ПОЧЕТНА СТРАНИЦА (index.php) — секции
   ═══════════════════════════════════════════════════════════════ */

.site-section {
    width: 100%;
    padding: 4rem 1rem;
    box-sizing: border-box;
}

.inner-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* 1. Зачувано од заборавот (јасна свежа зелена боја) */
.section-zacuvano {
    background: linear-gradient(135deg, #c99846 0%, #DCE6D3 55%, #e6ae8c 100%);
    color: #ffffff;
}

.cards-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.info-card-top-bar {
    height: 5px;
    background: #C1673A;
}
.info-card-body {
    padding: 1.8rem;
}
.info-card-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(193, 103, 58, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
}
.info-card h3 {
    color: #1e5631;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}
.info-card .card-text {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Варијации на бои по картичка (се додава рачно во index.php по редослед) */
.info-card-accent-1 .info-card-top-bar { background: #C1673A; }
.info-card-accent-1 .info-card-icon-circle { background: rgba(193, 103, 58, 0.12); }

.info-card-accent-2 .info-card-top-bar { background: #5C7C3F; }
.info-card-accent-2 .info-card-icon-circle { background: rgba(92, 124, 63, 0.12); }

.info-card-accent-3 .info-card-top-bar { background: #8B6F47; }
.info-card-accent-3 .info-card-icon-circle { background: rgba(139, 111, 71, 0.12); }

.info-card-accent-4 .info-card-top-bar { background: #4A7C8C; }
.info-card-accent-4 .info-card-icon-circle { background: rgba(74, 124, 140, 0.12); }

/* 2. Најнови вести (избледена црно-бела фотографија) */
.section-vesti {
    position: relative;
    overflow: hidden;
    background-color: #e5e5e5; /* резервна боја додека сликата се вчитува / ако недостасува */
    color: #1e293b;
}
.section-vesti::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/vesti-bg.jpg') center/cover no-repeat fixed;
    filter: grayscale(100%);
    z-index: 1;
}
.section-vesti::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 2;
}
.section-vesti .inner-container {
    position: relative;
    z-index: 3;
}
.section-vesti h2 {
    color: #1e293b;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.news-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.news-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    display: block;
}
.news-title:hover {
    color: #27ae60;
}
.news-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.6rem;
}
.news-excerpt {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.btn-more {
    color: #27ae60;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}
.btn-more:hover {
    text-decoration: underline;
}

/* ── Слики внатре во текстот на веста (post.php) ── */
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1.2rem 0;
}

/* Кога параграфот содржи 2 (или повеќе) слики со класа "img-half",
   целиот параграф станува flex-контејнер — слика до слика, без
   чувствителност на празни места/нови редови во HTML изворот
   (за разлика од inline-block пристапот). */
.post-body p:has(img.img-half + img.img-half) {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}
.post-body p:has(img.img-half + img.img-half) img.img-half {
    display: block;
    width: calc(50% - 0.5rem);
    margin: 0.6rem 0;
    flex-shrink: 0;
}

/* Ако е само ЕДНА слика означена "img-half" (сама во параграф,
   без пар до неа) — прикажи ја едноставно на половина ширина. */
.post-body img.img-half {
    max-width: 48%;
}

@media (max-width: 600px) {
    .post-body p:has(img.img-half + img.img-half) img.img-half {
        width: 100%;
    }
    .post-body img.img-half {
        max-width: 100%;
    }
}


/* 3. Галерија преглед на почетна (мек градиент инспириран од природата) */
.section-galerija {
    background: linear-gradient(135deg, #e6ae8c 0%, #DCE6D3 55%, #FAF7F0 100%);
}
.section-galerija h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    height: 170px;
    background: #cbd5e1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.08);
}

/* 4. Контакт (избледена црно-бела фотографија) */
.section-kontakt {
    position: relative;
    overflow: hidden;
    background-color: #e5e5e5;
}
.section-kontakt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/kontakt-bg.jpg') center/cover no-repeat fixed;
    filter: grayscale(100%);
    z-index: 1;
}
.section-kontakt::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 2;
}
.section-kontakt .inner-container {
    position: relative;
    z-index: 3;
}
.section-kontakt h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
}
.contact-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #cbd5e1;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}
.contact-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.contact-card-top-bar {
    height: 5px;
}
.contact-card-body {
    padding: 1.5rem;
}
.contact-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.7rem auto;
}
.contact-card h4 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.contact-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.contact-card-accent-1 .contact-card-top-bar { background: #C1673A; }
.contact-card-accent-1 .contact-icon-circle { background: rgba(193, 103, 58, 0.12); }

.contact-card-accent-2 .contact-card-top-bar { background: #5C7C3F; }
.contact-card-accent-2 .contact-icon-circle { background: rgba(92, 124, 63, 0.12); }

.contact-card-accent-3 .contact-card-top-bar { background: #4A7C8C; }
.contact-card-accent-3 .contact-icon-circle { background: rgba(74, 124, 140, 0.12); }

.contact-form-container {
    max-width: 650px;
    margin: 2.5rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: left;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: #334155;
}
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
}
.form-control:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}
.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: #27ae60;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-submit:hover {
    background: #219150;
}
.alert-success {
    padding: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
}
.alert-danger {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ── Поп-ап (modal) за картичките во „Зачувано од заборавот" ── */
.info-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}
.info-modal-overlay.active {
    display: flex;
}
.info-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}
.info-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}
.info-modal-close:hover {
    color: #1e293b;
}
.info-modal-title {
    color: #1e5631;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-right: 2rem;
}
.info-modal-body {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   ГАЛЕРИЈА (galerija.php) — целосна страница
   ═══════════════════════════════════════════════════════════════ */

.gallery-main-wrapper {
    flex: 1 0 auto;
    padding-top: 100px;
    padding-bottom: 3rem;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.gallery-header h1 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.gallery-header p {
    color: #64748b;
    font-size: 1rem;
}

.gallery-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}
.gallery-card:hover .img-wrapper img {
    transform: scale(1.05);
}
.card-caption {
    padding: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    text-align: center;
    background: #ffffff;
}

/* Lightbox за галерија */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lightbox-caption {
    color: #ffffff;
    margin-top: 1rem;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    user-select: none;
}
.lightbox-close:hover {
    color: #27ae60;
}

/* ═══════════════════════════════════════════════════════════════
   ВРЕМЕНСКА ПРОГНОЗА (index.php)
   ═══════════════════════════════════════════════════════════════ */

.section-vreme {
    background: linear-gradient(135deg, #fffbd5 0%, #e1eec3 100%);
    padding: 2.5rem 1rem;
}
.section-vreme h2 {
    text-align: center;
    color: #1e293b;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.vreme-card {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.vreme-card-top-bar {
    height: 5px;
    background: #4A7C8C;
}
.vreme-card-inner {
    padding: 1.3rem 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.2rem;
    justify-content: flex-start;
}

.vreme-current {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-right: 1.3rem;
    border-right: 1px solid #e2e8f0;
}

@keyframes vremeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.vreme-icon-anim {
    font-size: 2.3rem;
    display: inline-block;
    animation: vremeFloat 3s ease-in-out infinite;
}
.vreme-temp-blok { line-height: 1.1; }
.vreme-temp {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1e293b;
}
.vreme-opis {
    color: #64748b;
    font-size: 0.8rem;
}

.vreme-detalji {
    display: flex;
    gap: 1.1rem;
    padding-right: 1.3rem;
    border-right: 1px solid #e2e8f0;
}
.vreme-detalj {
    text-align: center;
}
.vreme-detalj-ikona { font-size: 0.95rem; }
.vreme-detalj-vrednost {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
    display: block;
}
.vreme-detalj-label {
    color: #94a3b8;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.vreme-prognoza-grid {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 0.5rem;
}
.vreme-den-card {
    text-align: center;
    min-width: 48px;
}
 

.vreme-den-ime {
    font-weight: 600;
    color: #475569;
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}
.vreme-den-ikona { font-size: 1.3rem; line-height: 1; }
.vreme-den-temp { color: #1e293b; font-size: 0.78rem; font-weight: 600; }
.vreme-den-dozd { color: #94a3b8; font-size: 0.68rem; }

.vreme-datum-danes {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    background: #4A7C8C;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
}
.vreme-datum-danes::before {
    content: "📅";
    font-size: 0.9rem;
}
.vreme-oseka {
    color: #94a3b8;
    font-size: 0.72rem;
    margin-top: 0.15rem;
}
.vreme-den-datum {
    color: #cbd5e1;
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
}


@media (max-width: 640px) {
    .vreme-card { width: 100%; }
    .vreme-card-inner { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
    .vreme-current, .vreme-detalji {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 0.8rem;
        justify-content: center;
    }
    .vreme-prognoza-grid {
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.3rem;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
    .vreme-prognoza-grid::-webkit-scrollbar {
        height: 5px;
    }
    .vreme-prognoza-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }
    .vreme-den-card {
        flex: 0 0 auto;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ЧАСОВНА ПРОГНОЗА (24 часа, лизгач) — index.php
   ═══════════════════════════════════════════════════════════════ */
.vreme-chasovna-blok {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem 1.3rem 1.5rem;
}
.vreme-chasovna-naslov {
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}
.vreme-chasovna-scroll {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.vreme-chasovna-scroll::-webkit-scrollbar {
    height: 5px;
}
.vreme-chasovna-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.vreme-chasovna-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.vreme-chas-card {
    flex: 0 0 auto;
    min-width: 58px;
    text-align: center;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.6rem 0.4rem;
}
.vreme-chas-vreme {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.vreme-chas-ikona {
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.vreme-chas-temp {
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 700;
}
.vreme-chas-dozd {
    color: #94a3b8;
    font-size: 0.65rem;
    margin-top: 0.15rem;
}


/* ── Modal со вградена карта на локацијата ── */
.mapa-embed-wrapper {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
@media (max-width: 640px) {
    .mapa-embed-wrapper {
        height: 280px;
    }
}

/* ── Modal со категории за "Соработка" ── */
.sorabotka-opcii {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.sorabotka-opcija {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.15s ease;
}
.sorabotka-opcija:hover {
    background: #eef3ea;
    transform: translateX(3px);
}
.sorabotka-ikona {
    font-size: 1.7rem;
    line-height: 1;
    flex-shrink: 0;
}
.sorabotka-opcija strong {
    display: block;
    color: #1e5631;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}
.sorabotka-opcija p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* ── Позадина за целата kontakt.php страница (иста фотографија како кај секцијата) ── */
.kontakt-page-bg {
    position: relative;
    overflow: hidden;
    background-color: #e5e5e5;
    min-height: calc(100vh - 250px); /* да не биде премногу кратка на голем екран */
}
.kontakt-page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/kontakt-bg.jpg') center/cover no-repeat fixed;
    filter: grayscale(100%);
    z-index: 1;
}
.kontakt-page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    z-index: 2;
}
.kontakt-page-bg .container {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 2rem;
}

/* ── Копчиња во lightbox-от на галеријата ── */
.lightbox-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.lightbox-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}
.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ── Порака за успех со маскота (контакт форма, коментари) ── */
.alert-success-maskota {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.alert-success-maskota .maskota-img {
    height: 80px;
    width: auto;
    flex-shrink: 0;
}
.alert-success-maskota p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .alert-success-maskota {
        flex-direction: column;
        text-align: center;
    }
}

/* ── "За нас" страница — избледена, заматена позадина (симболика за заборав/бришење) ── */
.za-nas-page-bg {
    position: relative;
    overflow: hidden;
    background-color: #d4d4d4;
    min-height: calc(100vh - 250px);
}
.za-nas-page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/dom.jpg') center/cover no-repeat fixed;
    filter: grayscale(100%) blur(3px);
    transform: scale(1.05);
    z-index: 1;
}
.za-nas-page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    z-index: 2;
}
.za-nas-page-bg .container {
    position: relative;
    z-index: 3;
}

.za-nas-card {
    position: relative;
    overflow: hidden;
}
.za-nas-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/cesma.jpg') center/cover no-repeat;
    opacity: 0.10;
    z-index: 0;
}
.za-nas-card > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .za-nas-page-bg::before {
        background-attachment: scroll;
    }
}

/* ── Навлекување на вгнездени листи во текст на вест (post.php) ──
   Глобалниот "* { padding: 0 }" reset ги брише стандардните browser
   padding-left вредности за вгнездени <ul>/<ol>, па навлекувањето
   визуелно исчезнува иако структурата во HTML е точна. */
.post-body ul,
.post-body ol {
    padding-left: 1.6rem;
    margin: 0.8rem 0;
}
.post-body li {
    margin-bottom: 0.3rem;
}

/* ── Цитат (blockquote) во текст на вест ── */
.post-body blockquote {
    border-left: 4px solid #27ae60;
    background: #f0f9f4;
    padding: 1rem 1.3rem;
    margin: 1.3rem 0;
    border-radius: 6px;
    font-style: italic;
    color: #1e5631;
    font-size: 1.02rem;
}
.post-body blockquote p {
    margin: 0;
}

/* ── Хоризонтална линија (разделник) во текст на вест ── */
.post-body hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2rem 0;
}
