Theme Name: Apes Club
Theme URI: https://apes.co.il
Author: Apes Club Team
Author URI: https://apes.co.il
Description: Военная тема для аирсофт клуба с текстурами стали и бетона
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apes-club
*/

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;700;900&family=Russo+One&display=swap');

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили body */
body {
    font-family: 'Heebo', sans-serif !important;
    background: #495057 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        repeating-linear-gradient(0deg, #5a6268 0px, #5a6268 2px, #6c757d 2px, #6c757d 4px),
        linear-gradient(90deg, #495057, #6c757d, #495057) !important;
    background-attachment: fixed !important;
    color: #ecf0f1 !important;
    min-height: 100vh;
    direction: rtl !important;
}

/* Трафаретный шрифт */
.stencil {
    font-family: 'Russo One', 'Heebo', sans-serif !important;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffa500 !important;
    text-shadow: 
        3px 3px 0px rgba(0,0,0,0.8),
        -1px -1px 0px rgba(255,255,255,0.1),
        0 0 20px rgba(255,165,0,0.3);
}

/* Хедер */
header.site-header {
    background: #3a4149 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        repeating-linear-gradient(90deg, #4a5158 0px, #4a5158 1px, #525961 1px, #525961 2px),
        linear-gradient(180deg, #3a4149, #4a5158) !important;
    padding: 1rem 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #2a2e33;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

nav.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.site-logo {
    font-size: 2rem;
    color: #ffa500 !important;
    text-decoration: none !important;
}

.site-logo:hover {
    color: #ffa500 !important;
}

.main-menu {
    list-style: none !important;
    display: flex;
    gap: 2rem;
    margin: 0 !important;
    padding: 0 !important;
}

.main-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-menu a {
    color: #ecf0f1 !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: block;
}

.main-menu a:hover,
.main-menu .current-menu-item a,
.main-menu .current_page_item a {
    color: #f39c12 !important;
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

/* Hero секция */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: #626569 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)),
        linear-gradient(180deg, #7a7d82, #626569) !important;
    border-bottom: 5px solid #3a3d42;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ffa500 !important;
}

.hero p {
    font-size: 1.5rem;
    color: #bdc3c7 !important;
}

/* Контент */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-content {
    background: #7d8289 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        linear-gradient(135deg, #969ba3 0%, #7d8289 50%, #6c7179 100%) !important;
    padding: 3rem;
    margin: 3rem 0;
    border-right: 6px solid #3a3d42;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
}

.page-content h2 {
    color: #ffa500 !important;
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.page-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e8eaed !important;
}

.page-content strong {
    color: #ffa500 !important;
}

/* Сетка услуг */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.service-card {
    background: #7d8289 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        linear-gradient(135deg, #969ba3 0%, #7d8289 50%, #6c7179 100%) !important;
    padding: 2rem;
    border-right: 6px solid #3a3d42;
    transition: all 0.3s;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
}

.service-card:hover {
    transform: translateY(-5px);
    border-right-color: #f39c12;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f39c12 !important;
}

.service-card p {
    color: #bdc3c7 !important;
    line-height: 1.6;
}

/* Форма контактов */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: #4a4e54 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        linear-gradient(135deg, #5a5e64, #4a4e54) !important;
    padding: 3rem;
    border: 4px solid #3a3d42;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ffa500 !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f39c12 !important;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: #3a3e44 !important;
    background: linear-gradient(180deg, #3a3e44, #4a4e54) !important;
    border: 2px solid #2a2e33 !important;
    color: #ecf0f1 !important;
    font-family: 'Heebo', sans-serif !important;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: #f39c12 !important;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #ffa500 !important;
    background: linear-gradient(180deg, #ffa500, #ff8c00) !important;
    border: 3px solid #cc7a00 !important;
    color: #1a1d21 !important;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Heebo', sans-serif !important;
    box-shadow: 0 4px 0 #994d00;
}

.submit-btn:hover {
    background: linear-gradient(180deg, #ffb732, #ffa500) !important;
}

/* Футер */
footer.site-footer {
    text-align: center;
    padding: 2rem;
    background: #2a2e34 !important;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        linear-gradient(180deg, #2a2e34, #3a3e44) !important;
    margin-top: 4rem;
    border-top: 4px solid #1a1d21;
}

footer.site-footer p {
    color: #ecf0f1 !important;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #3a3d42;
    border: 3px solid #2a2e33;
    box-shadow: 
        5px 5px 15px rgba(0,0,0,0.4),
        inset 1px 1px 0 rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: #ffa500;
    box-shadow: 
        0 10px 30px rgba(255,165,0,0.3),
        inset 1px 1px 0 rgba(255,255,255,0.05);
}

.gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-link img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: #ffa500;
    text-shadow: 0 0 20px rgba(255,165,0,0.5);
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 4px solid #3a3d42;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-title {
    color: #ffa500;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(0,0,0,0.7);
    border: 2px solid #ffa500;
    color: #ffa500 !important;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,165,0,0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 2rem;
    left: 2rem;
    padding: 0.5rem 1rem;
}

.lightbox-prev {
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
}

/* WordPress Gallery Support */
.gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    margin: 2rem 0 !important;
}

.gallery-item {
    margin: 0 !important;
}

.gallery-item img {
    border: 3px solid #2a2e33 !important;
    transition: all 0.3s !important;
}

.gallery-item:hover img {
    border-color: #ffa500 !important;
    transform: scale(1.05) !important;
}

.gallery-caption {
    color: #bdc3c7 !important;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #ffa500;
    color: #ffa500 !important;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    font-family: 'Heebo', sans-serif;
}

/* Адаптив */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }
    
    .main-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0 !important;
        background: rgba(58, 65, 73, 0.98) !important;
        padding: 1rem 0 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }
    
    .main-menu.active {
        display: flex !important;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-menu a {
        padding: 1rem 2rem !important;
        border: none !important;
    }
    
    nav.main-nav {
        position: relative;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }
    
    .lightbox-prev {
        right: 1rem;
    }
    
    .lightbox-next {
        left: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        left: 1rem;
    }
}

/* Сброс стилей WordPress */
#wpadminbar {
    direction: ltr !important;
}

.admin-bar .site-header {
    top: 32px;
}
