/*
Theme Name: Sajber Sfera
Theme URI: https://sajbersfera.in.rs 
Author: Mixxa Axxim
Author URI: https://sajbersfera.in.rs 
Description: A fast, modern WordPress theme based on sajbersfera.in.rs.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sajbersfera
Tags: blog, clean, responsive, speed, bootstrap, tech-news
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1140px;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

/* Posts List */
.card {
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-title a {
    color: #222;
}

.card-title a:hover {
    color: #007bff;
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    font-size: 0.95rem;
}

footer a {
    color: #555;
}

footer a:hover {
    color: #007bff;
    text-decoration: none;
}

footer ul {
    padding-left: 0;
}

footer li {
    list-style: none;
    margin-bottom: 0.5rem;
}

footer hr {
    margin: 2rem 0;
}

/* Search Overlay (if used) */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#search-overlay.active {
    opacity: 1;
    visibility: visible;
}

#search-overlay .search-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

#search-overlay form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
}

#search-overlay input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.5rem;
    border: none;
    outline: none;
    border-radius: 30px;
    font-weight: 300;
}

/* Sidebar */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .card img {
        height: auto;
    }
}