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

:root {
    --primary-color: #FF9A3D;
    --secondary-color: #3D84FF;
    --accent-color: #FF3D6D;
    --light-color: #F8F9FA;
    --dark-color: #212529;
    --text-color: #333333;
    --text-light: #6C757D;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #FF9A3D 0%, #FF3D6D 100%);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    transition: var(--transition);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Анимации */
@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 154, 61, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 154, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 154, 61, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rainbow-text {
    background: linear-gradient(90deg, #FF9A3D, #FF3D6D, #3D84FF, #28A745, #FFC107);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 5s ease infinite;
}

.blink {
    animation: blink 1.5s infinite;
    display: inline-block;
}

/* Навигация */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: pulse 2s infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
}

.nav-link:hover {
    background-color: rgba(255, 154, 61, 0.1);
    color: var(--primary-color);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-icon {
    font-size: 1.1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1001;
}

/* Переключатель темы в навигации */
.theme-toggle-nav .theme-btn-nav {
    background: var(--dark-color);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.theme-toggle-nav .theme-btn-nav:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .theme-toggle-nav .theme-btn-nav {
    background: var(--light-color);
    color: var(--dark-color);
}

.theme-text {
    font-size: 0.9rem;
}

/* Основной контент */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    min-height: 70vh;
}

/* Кнопки навигации между страницами */
.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav-button.prev {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.nav-button.next {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.nav-button i {
    font-size: 1.2rem;
}

/* Hero секция */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: linear-gradient(to right, rgba(255, 154, 61, 0.1), rgba(61, 132, 255, 0.1));
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/paw-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 154, 61, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 154, 61, 0.2);
}

.btn-icon {
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
}

/* Информационные карточки */
.info-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/paw-pattern.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.card-link:hover {
    gap: 12px;
    color: var(--accent-color);
}

/* Выделенная вставка */
.highlight-section {
    margin-bottom: 4rem;
}

.highlight-container {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(255, 61, 109, 0.1), rgba(61, 132, 255, 0.1));
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-color);
    gap: 2rem;
}

.highlight-icon {
    font-size: 3rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.highlight-content {
    flex-grow: 1;
}

.highlight-title {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Галерея */
.gallery-section {
    margin-bottom: 4rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--box-shadow);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* Факт секция */
.fact-section {
    margin-bottom: 4rem;
}

.fact-container {
    display: flex;
    align-items: center;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    gap: 2rem;
}

.fact-content {
    flex-grow: 1;
}

.fact-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.fact-text {
    font-size: 1.1rem;
    color: var(--text-color);
}

.fact-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

/* Стили для внутренних страниц */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 154, 61, 0.1), rgba(61, 132, 255, 0.1));
    border-radius: var(--border-radius);
}

.page-title {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.article-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 154, 61, 0.2);
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.info-box {
    background: linear-gradient(to right, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--warning-color);
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--warning-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Футер */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-text {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.footer-quote p {
    margin-bottom: 1rem;
}

.footer-quote p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.telegram-link {
    background: rgba(0, 136, 204, 0.2);
}

.telegram-link:hover {
    background: #0088cc;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-illustration {
    display: flex;
    gap: 1.5rem;
    font-size: 2rem;
    margin-top: 1.5rem;
}

.footer-illustration i {
    animation: bounce 2s infinite;
}

.footer-illustration i:nth-child(1) {
    animation-delay: 0s;
    color: var(--primary-color);
}

.footer-illustration i:nth-child(2) {
    animation-delay: 0.5s;
    color: var(--accent-color);
}

.footer-illustration i:nth-child(3) {
    animation-delay: 1s;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.7rem 1rem;
    }
    
    .theme-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .highlight-container, .fact-container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-icon {
        font-size: 1rem;
    }
    
    .theme-text {
        display: none;
    }
    
    .page-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .theme-toggle-nav .theme-btn-nav {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: var(--dark-color);
        color: white;
    }
    
    [data-theme="dark"] .theme-toggle-nav .theme-btn-nav {
        background: var(--light-color);
        color: var(--dark-color);
    }
    
    .theme-text {
        display: inline-block;
        font-size: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .info-card, .highlight-container, .fact-container {
        padding: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 1.5rem 1rem;
    }
}


































/* Стили для ссылки на политику конфиденциальности */
.privacy-link {
    background: rgba(255, 193, 7, 0.2);
    border-left: 3px solid var(--warning-color);
}

.privacy-link:hover {
    background: var(--warning-color);
    transform: translateX(5px);
}

/* Обновленные стили для footer-illustration */
.footer-illustration {
    display: flex;
    gap: 1.5rem;
    font-size: 2rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.footer-illustration i {
    animation: bounce 2s infinite;
    color: var(--primary-color);
}

/* Удаляем анимационные задержки, так как теперь только одна иконка */
.footer-illustration i:nth-child(1) {
    animation-delay: 0s;
}


