/* Общие стили и переменные */
:root {
    --color-beige: #f5f1e8;
    --color-olive: #7d8c5c;
    --color-green: #4e6c50;
    --color-white: #ffffff;
    --color-dark: #333333;
    --color-light-gray: #f4f4f4;
    --main-font: 'Manrope', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    color: var(--color-dark);
    background-color: var(--color-beige);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--color-olive);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--color-green);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-olive);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-green);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-olive);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Стили для хедера при скролле */
header.scrolled {
    background-color: var(--color-white);
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo {
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.park-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Дополнительные эффекты для страницы */
.page-loaded .hero-content h1 {
    animation-delay: 0.2s;
}

.page-loaded .hero-content p {
    animation-delay: 0.4s;
}

.page-loaded .hero-content .btn {
    animation-delay: 0.6s;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-beige);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--color-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Медиа-запросы для отображения карточек */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--color-beige);
}

.gallery-scroll-container {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
    gap: 20px;
}

.gallery-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-scroll .gallery-item {
    flex: 0 0 300px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.gallery-image {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 500;
}

.gallery-item p {
    text-align: center;
    color: var(--color-dark);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.gallery-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-green);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
}

.scroll-btn:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

.view-all-gallery {
    text-align: center;
    margin-top: 30px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-olive);
}

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

/* Модальное окно для галереи */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: auto;
}

.modal-content img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    opacity: 1;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal-content p {
    color: var(--color-white);
    margin-top: 20px;
    font-size: 1.2rem;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-beige);
    transform: scale(1.1);
}

.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: var(--color-white);
    font-weight: bold;
    font-size: 30px;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2010;
    user-select: none;
}

.prev {
    left: 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.next {
    right: 15px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--color-beige);
}

/* Адаптивный дизайн для галереи */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer-contact h4::after, .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-link:hover {
        transform: translateY(-3px);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .price span {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .modal-content img {
        max-width: 95%;
    }
    
    .prev, .next {
        padding: 10px;
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .pricing-content {
        padding: 40px 20px;
    }
    
    .price {
        font-size: 2.2rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/pricing-bg.jpg') no-repeat center center/cover;
    color: var(--color-white);
    text-align: center;
}

.pricing-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.pricing h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-beige);
}

.price span {
    font-size: 1.5rem;
    font-weight: 400;
}

.pricing p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-cta {
    background-color: var(--color-olive);
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-contact, .footer-social {
    flex: 1;
}

.footer-contact h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-contact h4::after, .footer-social h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-beige);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--color-beige);
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(125, 140, 92, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(125, 140, 92, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(125, 140, 92, 0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: calc(var(--delay, 0s));
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 1s forwards;
    animation-delay: calc(var(--delay, 0.2s));
}

.animate-scale {
    opacity: 0;
    animation: scale 1s forwards;
    animation-delay: calc(var(--delay, 0.4s));
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Адаптивный дизайн */
@media (max-width: 992px) {
    .features-grid {
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer-contact h4::after, .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-link:hover {
        transform: translateY(-3px);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .price span {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .pricing-content {
        padding: 40px 20px;
    }
    
    .price {
        font-size: 2.2rem;
    }
}

/* Локация и карта */
.location {
    padding: 100px 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.location::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: var(--color-beige);
    opacity: 0.3;
    border-radius: 0 0 0 100%;
    z-index: 1;
}

.location-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-info {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    z-index: 2;
}

.location-desc, .directions {
    flex: 1;
    background-color: var(--color-beige);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--color-olive);
}

.location-desc h3, .directions h3 {
    color: var(--color-green);
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
}

.location-desc h3::after, .directions h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-olive);
}

.location-desc p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.eco-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.eco-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.eco-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.eco-icon {
    font-size: 1.8rem;
}

.directions ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.directions li {
    margin-bottom: 12px;
    list-style-type: circle;
}

.directions p {
    margin-bottom: 25px;
}

.map-container {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.map-container iframe {
    display: block;
    border-radius: var(--border-radius);
}

/* Адаптивный дизайн для локации */
@media (max-width: 992px) {
    .location-info {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .eco-features {
        grid-template-columns: 1fr;
    }
    
    .location::before {
        width: 200px;
        height: 200px;
    }
    
    .location-desc h3, .directions h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .location-desc, .directions {
        padding: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Секция организации смены */
.organize {
    padding: 100px 0;
    background-color: var(--color-beige);
    position: relative;
    overflow: hidden;
}

.organize::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-olive);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

.organize-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.organize-content h2 {
    color: var(--color-green);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.organize-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.organize-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.organize-feature {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.organize-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.organize-feature h3 {
    color: var(--color-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.organize-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .organize-features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .organize-features {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .organize-content h2 {
        font-size: 2rem;
    }
} 