/* ==========================================================================
   Глобальные стили и переменные
   ========================================================================== */
   :root {
    --primary-color: #abae98;
    --secondary-color: #add899;
    --accent-color: #c5d6b5;
    --title-color: #8a8d7a;
    --text-color: #4a4a4a;
    --light-gray: #f5f7f3;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --hover-transform: translateY(-5px);
    --price-btn: #e8f0e5;
    --price_btn_hover: #d4e5d0;
    --icons-color: #abae98;
    --primary-color-rgb: 171, 174, 152;
    --secondary-color-rgb: 173, 216, 153;
    --title-color-rgb: 138, 141, 122;
    --font-primary: 'Noto Sans Armenian';
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --font-weight-medium: 500;
}

/* Базовые стили для всех элементов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили body */
body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-color);
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}

/* Контейнер для центрирования контента */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Стили Header (header.php)
   ========================================================================== */
/* Фиксированный header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
    height: 80px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    height: 100%;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    color: var(--title-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo:hover {
    transform: translateY(-2px);
}

/* Навигационные ссылки */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--title-color);
    background: rgba(var(--primary-color-rgb), 0.1);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Кнопка в навигации */
.nav-links .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.nav-links .btn-primary i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2);
}

.nav-links .btn-primary:hover i {
    transform: translateX(3px);
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ==========================================================================
   Стили кнопок (используются во всех файлах)
   ========================================================================== */
.btn {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}

.btn i {
    font-size: 1.1rem;
}

a.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: #2ecc71;
    color: var(--white);
}

.btn-success:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: #e74c3c;
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-warning {
    background: #f1c40f;
    color: var(--text-color);
}

.btn-warning:hover {
    background: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-info {
    background: #3498db;
    color: var(--white);
}

.btn-info:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Медиа запросы для кнопок */
@media (max-width: 768px) {
     .nav-links .btn-primary{
        display: none;
    }
    .nav-links .nav-link{
        font-size: 1.5rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    body {
        padding-top: 70px;
    }
    
    .main-header {
        height: 70px;
    }
    
    .nav-links {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    
    .logo {
        font-size: 1.2rem;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Стили Footer (footer.php)
   ========================================================================== */
.main-footer {
    background: var(--light-gray);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 0 20px;
}

.footer-title {
    color: var(--title-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.footer-description {
    color: var(--text-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

/* Стили для кнопок социальных сетей */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

/* WhatsApp */
.social-link.whatsapp {
    background: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-link.whatsapp:hover {
    transform: var(--hover-transform);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

/* Facebook */
.social-link.facebook {
    background: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-link.facebook:hover {
    transform: var(--hover-transform);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    text-decoration: none;
}

/* Telegram */
.social-link.telegram {
    background: #0088cc;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.social-link.telegram:hover {
    transform: var(--hover-transform);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    text-decoration: none;
}

/* Общие эффекты для всех кнопок */
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.footer-subtitle {
    color: var(--title-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--title-color);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-info i {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--title-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
}

/* ==========================================================================
   Стили для уведомлений
   ========================================================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.success {
    background: #2ecc71;
}

.notification.error {
    background: #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Стили для ссылок с копированием
   ========================================================================== */
.copy-link {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.copy-link:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
}

.copy-link.copied {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    font-weight: var(--font-weight-medium);
}

.copy-link.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    font-weight: var(--font-weight-medium);
}

.copy-link::after {
    content: '📋';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.copy-link:hover::after {
    opacity: 1;
    right: -30px;
}

.copy-link.copied::after {
    content: '✓';
    color: #2ecc71;
}

.copy-link.error::after {
    content: '✕';
    color: #e74c3c;
}

/* ==========================================================================
   Медиа запросы
   ========================================================================== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 80px 20px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: rgba(var(--primary-color-rgb), 0.1);
    }

    .nav-links .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
} 