/*
Theme Name: Doubene Klientų Tema
Theme URI: https://doubene.lt
Author: MB Bluejuice
Author URI: https://bluejuice.pro/lt/
Description: Klientų sistemos tema, sukurta dirbti kartu su Doubene Klientai įskiepiu. Be įrašų ir komentarų funkcionalumo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doubene-theme
Tags: custom-background, custom-logo, custom-menu, translation-ready

Doubene Klientų Tema - sukurta klientų aptarnavimo sistemai.
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #343a40;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1d2327;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: #0a69a5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #085a8f;
    text-decoration: underline;
}

/* Layout */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #58a864 0%, #0a69a5 100%);
    color: #fff;
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-title a:hover {
    opacity: 0.9;
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

/* Main Content */
.site-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #58a864;
}

.entry-title {
    margin: 0;
    font-size: 1.75rem;
}

.entry-content {
    line-height: 1.7;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: #343a40;
    color: #adb5bd;
    padding: 30px 0;
    text-align: center;
}

.site-footer a {
    color: #58a864;
}

.site-footer a:hover {
    color: #fff;
}

.site-info {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        width: 100%;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    .main-navigation a {
        text-align: center;
    }
    
    .site-main {
        padding: 20px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.25rem; }
}

/* Utility Classes */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

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

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .main-navigation {
        display: none;
    }
    
    .site-main {
        box-shadow: none;
    }
}
