/*
Theme Name: Dabet Theme
Theme URI: https://dabet.se.net/
Author: Dabet
Author URI: https://dabet.se.net/
Description: A professional WordPress theme optimized for SEO with dabet io focus
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: dabet
Tags: responsive, seo-optimized, custom-menu, featured-images
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: #0073aa;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: #0073aa;
    border: 2px solid #0073aa;
}

.btn-login:hover {
    background: #0073aa;
    color: #fff;
}

.btn-register {
    background: #0073aa;
    color: #fff;
    border: 2px solid #0073aa;
}

.btn-register:hover {
    background: #005f8b;
    border-color: #005f8b;
}

.main-content {
    padding: 60px 0;
    min-height: 60vh;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.primary-content {
    flex: 1;
    max-width: 800px;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.widget h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget li:last-child {
    border-bottom: none;
}

.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #3498db;
}

.footer-seo {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #bdc3c7;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #34495e;
}

h3 {
    font-size: 1.75rem;
    margin: 30px 0 15px;
    color: #34495e;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .auth-buttons {
        display: none;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .header-container {
        padding: 15px;
    }

    .main-content {
        padding: 40px 0;
    }

    .responsive-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px auto;
    }
}
