/*
Theme Name: Правовая Гарантия
Theme URI: http://prav-garant.ru
Description: Кастомная тема для адвокатского бюро "Правовая Гарантия"
Version: 1.0
Author: Правовая Гарантия
Author URI: http://prav-garant.ru
Text Domain: pravgarant
*/

/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Philosopher', serif;
    font-size: 13px;
    margin: 0;
    background: #110192 url(images/fon.jpg) no-repeat center top;
    background-attachment: fixed;
    color: #2f2f2f;
}

/* Верхняя часть - логотип и меню */
#top {
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

.logo {
    margin-bottom: 20px;
}

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

/* Навигационное меню */
.menu {
    margin: 20px 0;
}

.menu ul {
    list-style: none;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 7px;
    border-radius: 20px;
}

.menu ul li {
    display: inline-block;
    margin: 0 7px;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    display: block;
    transition: all 0.3s;
}

.menu ul li a:hover,
.menu ul li.current-menu-item a {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Основной контейнер с эффектом книги */
#main {
    width: 94%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0;
}

.book-container {
    display: flex;
    background: #f2f2f2;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    min-height: 600px;
}

.book-left {
    width: 49%;
    background: #e8e8e8;
    padding: 40px 30px;
    border-right: 2px solid #ccc;
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.book-left img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.quote {
    position: relative;
    margin-top: 30px;
}

.quote img {
    width: 60px;
    margin-bottom: 10px;
}

.quote p {
    font-size: 18px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.book-right {
    width: 51%;
    background: #fff;
    padding: 40px 30px;
    box-shadow: inset 5px 0 10px rgba(0, 0, 0, 0.1);
}

.book-right h1 {
    font-size: 22px;
    color: #8b0000;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 15px;
}

.book-right h2 {
    font-size: 20px;
    color: #8b0000;
    margin: 25px 0 15px 0;
}

.book-right h3 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 10px 0;
}

.book-right p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
    color: #333;
}

.book-right ul {
    margin: 15px 0 15px 30px;
}

.book-right ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.book-right a {
    color: #8b0000;
    text-decoration: none;
}

.book-right a:hover {
    text-decoration: underline;
}

/* Футер */
footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left,
.footer-right {
    flex: 1;
    color: #fff;
    font-size: 14px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer-center {
    flex: 0 0 auto;
}

.footer-center img {
    width: 80px;
    height: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .book-container {
        flex-direction: column;
    }
    
    .book-left,
    .book-right {
        width: 100%;
        border: none;
    }
    
    .menu ul li {
        display: block;
        margin: 5px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
}
