/**
 * grafiXnetz Theme Styles
 *
 * @package grafiXnetz
 */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* Layout Structure */
.site {
    position: relative;
    min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
    height: 60px;
}

.mobile-header .uk-navbar-item {
    font-weight: 600;
    color: #333;
}

/* Header Styles */
.site-header {
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.site-header .header-content {
    padding: 2rem 1.5rem;
}

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

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

.site-title a:hover {
    color: #007cba;
}

.site-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Off-canvas Styles */
.uk-offcanvas-bar {
    width: 270px;
    padding: 2rem 1.5rem;
}

.uk-offcanvas-bar .site-title {
    font-size: 1.2rem;
}

/* Navigation Styles */
.main-navigation .uk-nav > li > a,
.uk-offcanvas-bar .uk-nav > li > a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-navigation .uk-nav > li > a:hover,
.uk-offcanvas-bar .uk-nav > li > a:hover {
    color: #007cba;
    background: #f1f3f4;
    padding-left: 1rem;
}

.main-navigation .uk-nav > li.current-menu-item > a,
.main-navigation .uk-nav > li.current_page_item > a,
.uk-offcanvas-bar .uk-nav > li.current-menu-item > a,
.uk-offcanvas-bar .uk-nav > li.current_page_item > a {
    color: #007cba;
    background: #e7f3ff;
    border-left: 3px solid #007cba;
}

/* Content Area */
.site-content {
    padding: 2rem;
}

.mobile-content .site-content {
    padding: 1rem;
}

/* Article Styles */
.uk-article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.uk-article:last-child {
    border-bottom: none;
}

.entry-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: #007cba;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

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

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 4rem;
}

.site-footer .widget-title {
    color: #ecf0f1;
}

.site-footer a {
    color: #3498db;
}

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

/* Responsive Design */
@media (max-width: 960px) {
    .site-header {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .site-content,
    .site-footer {
        margin-left: 0 !important;
    }
    
    .header-content {
        padding: 1rem !important;
    }
    
    .main-navigation .uk-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .main-navigation .uk-nav > li {
        flex: 1;
        min-width: 120px;
    }
    
    .main-navigation .uk-nav > li > a {
        text-align: center;
        border: 1px solid #e9ecef;
        border-radius: 4px;
        padding: 0.5rem;
    }
}

/* Utility Classes */
.uk-link-reset {
    color: inherit !important;
    text-decoration: none !important;
}

.uk-link-reset:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Custom Button Styles */
.uk-button-primary {
    background: #007cba;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.uk-button-primary:hover {
    background: #005a87;
    color: white;
}

/* Search Form */
.search-form {
    display: flex;
    margin: 1rem 0;
}

.search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-submit {
    padding: 0.5rem 1rem;
    background: #007cba;
    color: white;
    border: 1px solid #007cba;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-submit:hover {
    background: #005a87;
}

/* ===== CUSTOM CSS ADDITIONS ===== */

/* Enter Your Custom CSS Here */
/* Enter Your Custom CSS Here */
body {}

h1, h2, h3, .tb_text_wrap h1, .tb_text_wrap h2, .tb_text_wrap h3 {
    font-family: kazimirtext, sans-serif !important;
    font-style: normal;
    font-weight: 400;
}

header {
    background-color: #fefefe;
    width: 100%;
}

#gn.navbar-wrapper {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#gn.menu-item a {
    font-size: 30px;
    color: #77a2b4;
    font-family: Arial Black, Gadget, sans-serif;
    text-shadow: 0px 0px 0 rgb(98,141,159),
                 0px 1px 0 rgb(76,119,137),
                 0px 2px  0 rgb(55,98,116),
                 0px 3px 2px rgba(204,204,204,0.18),
                 0px 3px 1px rgba(204,204,204,0.5),
                 0px 0px 2px rgba(204,204,204,.2);
}

.module-slider {
    margin-bottom: 0;
}

.themify_builder_content-28 .tb_9oii268.module_row {
    padding-top: 0;
    padding-bottom: 0;
}

/* ##### photo-pages #### */
#waving-crow img {
    border-radius: 50%;
    border: 1px solid #fff;
}

/* #### */
#gn h3.slide-title {
    color: #cccccc !important;
}

#gn.spacer {
    background-color: #3A5A67;
    height: 3rem;
    width: 100%;
    border-top: 2px solid #6192a6;
    border-bottom: 2px solid #77a2b4;
    background: -moz-linear-gradient(top, #77a2b4, #3A5A67);
}

dl.gallery-item {
    background-color: #e6e6e6;
    padding-top: 1.5rem;
}

.mec-title h2 {
    font-size: 50px;
    color: #77a2b4;
    font-family: Arial Black, Gadget, sans-serif;
    text-shadow: 0px 0px 0 rgb(105,148,166),
                 0px 1px 0 rgb(90,133,151),
                 0px 2px 0 rgb(76,119,137),
                 0px 3px  0 rgb(62,105,123),
                 0px 4px 3px rgba(204,204,204,0.18),
                 0px 4px 1px rgba(204,204,204,0.5),
                 0px 0px 3px rgba(204,204,204,.2);
    padding-left: 1em;
}

#gn h2 {
    margin: 0;
}

.mec-title > .tb_text_wrap {
    background-color: #ffffff;
}
