/*
Theme Name: HyDrAnTmC Minecraft
Theme URI: https://hydrantmc.xyz
Author: Twoja Nazwa
Author URI: https://hydrantmc.xyz
Description: Motyw dla serwera Minecraft HyDrAnTmC - styl Vanilla Survival
Version: 1.1.0
License: GPL v2 or later
Text Domain: hydrantmc
*/

/* ===== RESET I PODSTAWY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* GŁÓWNE TŁO - ABSOLUTNA ŚCIEŻKA */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    color: white;
    text-align: center;
    background: url('/content/image.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

/* ===== GŁÓWNY KONTENER ===== */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== NAGŁÓWEK ===== */
.site-header {
    background-color: rgba(80, 40, 0, 0.85);
    padding: 20px;
    border-bottom: 3px solid #ff8c00;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.site-title a {
    font-size: 2.8em;
    color: #ff8c00;
    text-decoration: none;
    text-shadow: 3px 3px 0 #000, 5px 5px 0 rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.site-description {
    font-size: 1.4em;
    color: #ffcc99;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 15px;
}

/* ===== MENU NAWIGACYJNE ===== */
.main-navigation {
    background-color: rgba(48, 30, 0, 0.9);
    padding: 15px;
    margin-top: 15px;
    border-radius: 12px;
    border: 2px solid #ff8c00;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #ffcc99;
    text-decoration: none;
    font-size: 1.2em;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.main-navigation a:hover {
    background-color: #ff8c00;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
}

.main-navigation .current-menu-item a {
    background-color: #ff8c00;
    color: #000;
    font-weight: bold;
}

/* ===== GŁÓWNA ZAWARTOŚĆ ===== */
.site-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    flex-grow: 1;
}

@media (max-width: 992px) {
    .site-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== POSTY I STRONY ===== */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post, .page {
    background-color: rgba(80, 40, 0, 0.75);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid #ff8c00;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover, .page:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.2);
}

.post-title, .page-title {
    color: #ff8c00;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #000;
    border-bottom: 2px solid rgba(255, 140, 0, 0.5);
    padding-bottom: 10px;
}

.post-title a, .page-title a {
    color: #ff8c00;
    text-decoration: none;
}

.post-title a:hover, .page-title a:hover {
    color: #ffaa33;
}

.post-content, .page-content {
    font-size: 1.1em;
    line-height: 1.7;
    color: #ffcc99;
}

.post-content p, .page-content p {
    margin-bottom: 20px;
}

/* ===== META POSTU ===== */
.post-meta {
    color: #ffaa33;
    margin-bottom: 25px;
    font-size: 0.95em;
    background-color: rgba(48, 30, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff8c00;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-meta i {
    color: #ff8c00;
}

/* ===== PRZYCISK CZYTAJ WIĘCEJ ===== */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, #ff8c00, #ff6600);
    color: #000;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 10px;
    border: 2px solid #ffcc00;
    box-shadow: 0 6px 0 #995200;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #995200;
    background: linear-gradient(145deg, #ff9900, #ff7700);
}

/* ===== PANEL BOCZNY ===== */
.sidebar {
    background-color: rgba(48, 30, 0, 0.85);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #ff8c00;
    align-self: start;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.widget {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title {
    color: #ff8c00;
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff8c00;
    text-shadow: 1px 1px 0 #000;
}

.widget ul {
    list-style: none;
    padding-left: 0;
}

.widget li {
    margin-bottom: 12px;
    padding: 12px;
    background-color: rgba(255, 140, 0, 0.15);
    border-radius: 8px;
    border-left: 3px solid #ff8c00;
    transition: all 0.3s;
}

.widget li:hover {
    background-color: rgba(255, 140, 0, 0.25);
    transform: translateX(5px);
}

.widget li a {
    color: #ffcc99;
    text-decoration: none;
    display: block;
}

.widget li a:hover {
    color: #ff8c00;
}

/* ===== STOPKA ===== */
.site-footer {
    background-color: rgba(80, 40, 0, 0.9);
    padding: 40px 20px;
    border-top: 3px solid #ff8c00;
    margin-top: 60px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.server-info {
    background-color: rgba(48, 30, 0, 0.8);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #ff8c00;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.server-info h3 {
    color: #ff8c00;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.ip-address {
    font-size: 1.8em;
    font-weight: bold;
    margin: 20px 0;
    color: #ff6600;
    border: 3px solid #ff8c00;
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s;
    background-color: rgba(48, 30, 0, 0.9);
    text-shadow: 1px 1px #000;
    cursor: pointer;
    user-select: all;
}

.ip-address:hover {
    transform: scale(1.05);
    background-color: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.5);
}

.highlight {
    color: #ff8c00;
    font-weight: bold;
    font-size: 1.2em;
}

.copyright {
    margin-top: 30px;
    color: #ffaa33;
    font-size: 1em;
    border-top: 1px solid rgba(255, 140, 0, 0.3);
    padding-top: 20px;
}

/* ===== PAGINACJA ===== */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    background-color: rgba(48, 30, 0, 0.7);
    color: #ffcc99;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ff8c00;
    transition: all 0.3s;
    font-weight: bold;
}

.page-numbers.current,
.page-numbers:hover {
    background-color: #ff8c00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* ===== KOMENTARZE ===== */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ff8c00;
}

.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment {
    background-color: rgba(48, 30, 0, 0.7);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 1px solid #ff8c00;
}

.comment-author {
    color: #ffaa33 !important;
    font-weight: bold;
    font-size: 1.2em;
}

.comment-author a {
    color: #ffaa33 !important;
}

.comment-meta {
    color: #ffcc99;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.comment-meta a {
    color: #ffaa33;
}

.comment-content {
    color: #ffcc99;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-reply-link {
    display: inline-block;
    background-color: #ff8c00;
    color: #000;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
    border: none;
}

.comment-reply-link:hover {
    background-color: #ffaa33;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* ===== FORMULARZ KOMENTARZA ===== */
.comment-form label {
    color: #ffaa33;
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff8c00;
    border-radius: 8px;
    color: #ffcc99;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1em;
}

.comment-form input[type="submit"] {
    background-color: #ff8c00;
    color: #000;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-form input[type="submit"]:hover {
    background-color: #ffaa33;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* ===== LINKI ===== */
a {
    color: #ffaa33;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff8c00;
}

/* ===== NAGŁÓWKI W TREŚCI ===== */
h1, h2, h3, h4, h5, h6 {
    color: #ff8c00;
}

/* ===== LISTY ===== */
ul, ol {
    color: #ffcc99;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* ===== CYTAty ===== */
blockquote {
    border-left: 4px solid #ff8c00;
    color: #ffaa33;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    background-color: rgba(48, 30, 0, 0.3);
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .site-title a {
        font-size: 2.2em;
    }
    
    .site-description {
        font-size: 1.1em;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation a {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .post, .page {
        padding: 25px;
    }
    
    .post-title, .page-title {
        font-size: 1.8em;
    }
    
    .ip-address {
        font-size: 1.5em;
        padding: 12px 20px;
    }
    
    .server-info {
        padding: 20px;
    }
}

/* ===== UTILITY ===== */
.no-posts {
    background-color: rgba(80, 40, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #ff8c00;
    text-align: center;
}

.no-posts h2 {
    color: #ff8c00;
    margin-bottom: 20px;
}

.no-posts p {
    color: #ffcc99;
    font-size: 1.2em;
}
