/*
Theme Name: Профбизнесконсалт
Theme URI: https://prof-bk.com/
Author: Профбизнесконсалт
Author URI: https://prof-bk.com/
Description: Современная тема для ООО "ПРОФБИЗНЕСКОНСАЛТ". Легкий, современный и полностью адаптивный дизайн.
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profbk
Tags: business, legal, modern, responsive, custom-menu, custom-logo, featured-images, translation-ready
*/

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

:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2c6ba0;
    --accent-color: #ff6b35;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

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

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

/* Header */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.header-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-top a {
    color: white;
    opacity: 0.9;
}

.header-top a:hover {
    opacity: 1;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 10px;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

.main-menu .current-menu-item > a {
    color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    z-index: 9999;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.active {
    max-height: 80vh;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: var(--text-color);
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #e55a2a;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Features/Advantages */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--bg-light);
    display: block;
}

.team-member-info {
    padding: 25px;
}

.team-member-name {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team-member-position {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-member-specialties {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    border-left-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    margin-top: 15px;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Content Area */
.content-area {
    padding: 60px 0;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #cccccc;
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #cccccc;
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.bg-light {
    background-color: var(--bg-light);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .features-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .site-header {
        position: relative;
        overflow: visible;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
    }

    .mobile-menu.active {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
}

