/*
Theme Name: Klepet123 Tema
Description: Unikatna, hitra in dostopna tema za portal Klepet123.
Author: S.P.
Version: 1.0
*/

/* Osnovne nastavitve */
:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #2980b9;
    --accent-hover: #3498db;
    --box-bg: #1e1e1e;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Preskok za bralnike zaslona (Skip to content) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Glava in navigacija */
header {
    background-color: var(--box-bg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
}
.site-title {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}
nav a:hover, nav a:focus {
    color: var(--accent-hover);
}

/* Glavna vsebina */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Gumb za vstop in pogoji */
.entry-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--box-bg);
    border-radius: 10px;
    border: 1px solid #333;
}
.checkbox-container {
    margin-bottom: 20px;
    font-size: 1.1em;
}
.checkbox-container a {
    color: var(--accent-color);
}
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: white !important;
    background-color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, opacity 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover:not(.disabled) {
    background-color: var(--accent-hover);
}
.btn.disabled {
    background-color: #555;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mreža novic */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.news-card {
    background-color: var(--box-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}
.news-card h3 {
    margin-top: 0;
}
.news-card a {
    color: var(--accent-color);
    text-decoration: none;
}
.news-meta {
    font-size: 0.85em;
    color: #aaa;
    margin-bottom: 15px;
}

/* Posamezna novica */
.single-post-content {
    background-color: var(--box-bg);
    padding: 40px;
    border-radius: 10px;
}
.share-buttons {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.share-btn {
    background: #333;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 0.9em;
}

/* Noga */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #333;
    margin-top: 40px;
    font-size: 0.9em;
    color: #888;
}

/* Mobilna prilagoditev */
@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .entry-section { padding: 20px; }
}

.logo-link img {
    max-height: 50px; /* Tukaj lahko prilagodiš višino logotipa */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-link img {
        max-height: 40px; /* Nekoliko manjši logotip na telefonih */
        margin: 0 auto;
    }
}