/* Общие стили */
:root {
    --primary-color: #4F7CAC;
    --secondary-color: #6A994E;
    --accent-color: #D4AF37;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #3d6491;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #588040;
    color: white;
}

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

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

.section {
    padding: 4rem 0;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

/* Хедер */
.main-header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    font-size: 1.1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition);
}

/* Главный баннер */
.hero-banner {
    background-color: #f0f5fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #2d4a6f;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Секция О нас */
.about-section .section-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 300px;
}

.about-text {
    flex: 2 1 500px;
}

/* Секция услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

.service-item h3 {
    margin-bottom: 1rem;
}

.services-cta {
    text-align: center;
}

/* Секция аттракций */
.attractions-section {
    background-color: var(--light-bg);
}

.attractions-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin: 0 -15px;
    padding: 0 15px 1rem;
    scroll-snap-type: x mandatory;
}

.attraction-slide {
    flex: 0 0 auto;
    width: 350px;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    scroll-snap-align: start;
}

.attraction-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.attraction-slide h3 {
    padding: 1rem 1rem 0.5rem;
}

.attraction-slide p {
    padding: 0 1rem 1rem;
}

/* Секция отзывов */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    color: var(--light-text);
}

/* Секция блога */
.blog-preview-section {
    background-color: var(--bg-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h2,
.blog-content h3 {
    margin-bottom: 0.5rem;
}

.blog-content h2 a,
.blog-content h3 a {
    color: var(--text-color);
}

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-date {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

.blog-cta {
    text-align: center;
}

/* Секция подписки на рассылку */
.newsletter-section {
    background-color: #e9f0f7;
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Футер */
.main-footer {
    background-color: #2b4b6f;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info img {
    margin-bottom: 1rem;
}

.footer-info address {
    font-style: normal;
    margin-top: 1rem;
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-legal a {
    color: #c9d6e2;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Страница баннер */
.page-banner {
    background-color: var(--light-bg);
    padding: 3rem 0;
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 0.5rem;
}

/* Блог страница */
.blog-section .blog-grid {
    margin-bottom: 4rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

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

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

/* Страница статьи блога */
.blog-post {
    padding: 4rem 0;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-post-meta {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.blog-post-meta > * {
    margin: 0 0.5rem;
}

.blog-post-image {
    margin-bottom: 2rem;
}

.blog-post-image figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

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

.blog-post-content .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.blog-post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.blog-post-tags a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--light-bg);
    border-radius: 4px;
    font-size: 0.9rem;
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tip-box,
.summary-box {
    background-color: #e9f0f7;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tip-box h3,
.summary-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.more-posts {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.more-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Страница контактов */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(79, 124, 172, 0.1);
    border-radius: 50%;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

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

.social-links a {
    padding: 0.3rem 0.7rem;
    background-color: var(--light-bg);
    border-radius: 4px;
}

.contact-form-container {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Карта */
.map-section {
    padding: 4rem 0;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.map-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-details h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* FAQ */
.faq-section {
    background-color: var(--light-bg);
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    margin-top: 1rem;
}

/* О нас */
.about-history .section-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mission-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.certificate-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.certificate-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonial-slide {
    flex: 0 0 auto;
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

cite {
    display: block;
    text-align: right;
}

cite strong {
    display: block;
}

/* Услуги */
.intro-section .section-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.intro-image {
    flex: 1 1 300px;
}

.intro-text {
    flex: 2 1 500px;
}

.service-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.service-features {
    margin-top: 1rem;
}

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

.tour-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tour-image {
    height: 200px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-content {
    padding: 1.5rem;
}

.tour-duration {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.tour-highlights {
    margin-bottom: 1.5rem;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.tour-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.themed-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.themed-tour-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.themed-tour-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

/* Страница благодарности */
.thanks-section {
    padding: 6rem 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.thanks-cta {
    margin-top: 2rem;
}

/* Юридические страницы */
.legal-content {
    padding: 4rem 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.last-update {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-intro {
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.legal-section h3 {
    margin: 1.5rem 0 1rem;
}

.legal-section p, 
.legal-section ul, 
.legal-section ol {
    margin-bottom: 1rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-banner {
        padding: 4rem 0;
    }
    
    .hero-bg {
        opacity: 0.3;
        width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        box-shadow: var(--shadow);
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .about-section .section-content,
    .intro-section .section-content {
        flex-direction: column;
    }
    
    .about-image,
    .intro-image {
        order: -1;
    }
    
    .blog-post-footer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}