/*
Theme Name: odziom.pl
Theme URI: https://odziom.pl
Author: OdzioM
Author URI: https://odziom.pl
Description: Motyw WordPress dla strony odziom.pl - Linux • Gry • Muzyka • Winyle. Ciemny motyw z Bootstrap 5 i charakterystyczną paletą kolorystyczną.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: odziom
Tags: dark, two-column, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* FONTS */
@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/InterVariable.woff2?v=4.1') format('woff2');
}
@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/InterVariable-Italic.woff2?v=4.1') format('woff2');
}

/* MAIN */
body {
    font-family: InterVariable, Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2e3440 !important;
    color: #f8f8f2 !important;
    line-height: 1.6;
}

.site-mockup {
    background-color: #2e3440;
    padding: 40px;
    border-radius: 12px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

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

/* HEADER */
.site-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #414a5e;
}

/* LOGO */
.logo {
    font-size: 36px;
    font-weight: bold;
    color: #ffb86c !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-logo {
    max-width: 80%;
    height: auto;
    max-height: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .site-logo {
        max-width: 90%;
        max-height: 120px;
    }
}
@media (max-width: 480px) {
    .site-logo {
        max-width: 95%;
        max-height: 100px;
    }
}

/* NAVIGATION BAR */
nav { 
    margin-bottom: 40px; 
}

.nav-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-pills > li > a {
    display: inline-block;
    background-color: #414a5e !important; /* Tło przycisku */
    color: #cdd6f4 !important;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 30px; /* PÓŁOKRĄGŁE JAK CHCIAŁEŚ! */
    transition: all 0.3s ease;
    border: none;
    font-size: 15px;
}

.nav-pills > li > a:hover {
    background-color: #ffb86c !important; /* Pomarańczowy przy najechaniu */
    color: #2e3440 !important;
}

@media (max-width: 992px) {
    .nav-pills {
        flex-direction: column;
        align-items: center;
    }

    .logo { font-size: 28px !important; }
}

/* FOOTER */
footer {
    text-align: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid #414a5e;
    color: #d8dee9 !important;
    font-size: 14px;
}
/*
.article-title {
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0;
    color: #f8f8f2 !important;
}

.personal-category + .article-title {
    color: #ff79c6 !important;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #d8dee9 !important;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #f8f8f2 !important;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid #ffb86c !important;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #d8dee9 !important;
}

.article-content code {
    background-color: #3b4252 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #ff79c6 !important;
}

.article-content pre {
    background-color: #3b4252 !important;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background-color: transparent !important;
    padding: 0;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: #ffb86c !important;
    text-decoration: underline;
}

.article-content a:hover {
    color: #ff79c6 !important;
}
*/
/* Responsywność na mobile */
/*@media (max-width: 992px) {
    .article-card {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
}*/
