/*:root {*/
/*    --main-color: #008DD2;*/
/*    --secondary-color: #5b5b5b;*/
/*    --accent-color: #00B4E6;*/
/*    --text-color: #2c2c2c;*/
/*    --bg-light: #fafafa;*/
/*    --white: #ffffff;*/
/*    --shadow-light: rgba(0, 141, 210, 0.08);*/
/*    --shadow-medium: rgba(0, 141, 210, 0.15);*/
/*    --shadow-strong: rgba(0, 141, 210, 0.25);*/
/*}*/


:root {
    --main-color: #395F49;
    --secondary-color: #5b5b5b;
    --accent-color: #4F7B62;
    --text-color: #2c2c2c;
    --bg-light: #fafafa;
    --white: #ffffff;
    --shadow-light: rgba(57, 95, 73, 0.08);
    --shadow-medium: rgba(57, 95, 73, 0.15);
    --shadow-strong: rgba(57, 95, 73, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 141, 210, 0.1);
    box-shadow: 0 4px 20px var(--shadow-light);
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.98);
}

header img.logo {
    /* height: 65px; */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 2px 8px var(--shadow-light));
}

header img.logo:hover {
    transform: scale(1.05) translateY(-2px);
}

.contact-info {
    font-size: 15px;
    text-align: right;
    line-height: 1.7;
    font-weight: 500;
}

.contact-info a {
    text-decoration: none;
    color: var(--main-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* HERO */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    background: url("/slider/001.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(0, 141, 210, 0.85) 0%,
    rgba(91, 91, 91, 0.7) 50%,
    rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    animation: heroFadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    padding: 20px 30px;
    max-width: 1000px;
    width: 100%;
}

.hero-content img.logo {
    height: 140px;
    max-width: 90%;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    animation: logoFloat 6s ease-in-out infinite;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 6vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 25px rgba(0, 141, 210, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 141, 210, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

/* BUTTONS */
.menu-links {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 40px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    box-shadow: 0 8px 30px var(--shadow-light);
    position: relative;
}

.menu-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}

.menu-button {
    padding: 16px 32px;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 16px;
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 141, 210, 0.02) 100%);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.menu-button:hover::before {
    width: 100%;
}

.menu-button:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-color: var(--accent-color);
}

/* SECTION */
section {
    max-width: 1300px;
    margin: auto;
    padding: 80px 40px;
    position: relative;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color) 0%, var(--accent-color) 100%);
    margin: 20px auto 0;
    border-radius: 2px;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

section p {
    font-size: 19px;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto 30px;
    /* color: var(--secondary-color); */
    font-weight: 400;
    text-align: center;
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 35px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 141, 210, 0.08);
    overflow: hidden;
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-medium);
    border-color: rgba(0, 141, 210, 0.15);
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 18px;
}

.about-card p {
    font-size: 17px;
    color: var(--secondary-color);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 8px var(--shadow-light));
}

/* SWIPER SLIDER */
.slider-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow-light);
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide:hover img {
    transform: scale(1.1);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 60px 30px 30px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(5px);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--main-color);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 55px;
    height: 55px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(0, 141, 210, 0.1);
    margin-top: -27.5px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--main-color);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.swiper-pagination-bullet-active {
    background: white;
    width: 35px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* EVENTS SECTION */
#events {
    background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 251, 255, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow-light);
    border: 1px solid rgba(0, 141, 210, 0.08);
    position: relative;
    overflow: hidden;
    clip-path: polygon(25px 0%, 100% 0%, calc(100% - 25px) 100%, 0% 100%);
}

#events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-color) 0%, var(--accent-color) 100%);
}

.events-contact {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 10px 35px var(--shadow-medium);
    position: relative;
    overflow: hidden;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

.events-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s linear infinite;
}

.events-contact h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
}

.events-contact p {
    margin-bottom: 20px;
    font-size: 18px;
    opacity: 0.5;
    position: relative;
}

.events-contact a {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.events-contact a:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* MAP */
.map iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 50px var(--shadow-light);
    margin-top: 40px;
    border: 3px solid rgba(0, 141, 210, 0.1);
    transition: all 0.3s ease;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
}

.map iframe:hover {
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: rgba(0, 141, 210, 0.2);
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3a3a 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    font-size: 16px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-color) 0%, var(--accent-color) 100%);
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: white;
    text-shadow: 0 2px 8px var(--shadow-light);
}

/* COOKIE POPUP */
#cookie-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    color: var(--text-color);
    box-shadow: 0 15px 50px var(--shadow-strong);
    padding: 25px 30px;
    display: none;
    font-size: 15px;
    z-index: 9999;
    border-radius: 15px;
    max-width: 380px;
    animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(0, 141, 210, 0.1);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
}

#cookie-popup button {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

#cookie-popup button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* ANIMATIONS */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* АДАПТИВ */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 20px 25px;
    }

    .contact-info {
        text-align: center;
        margin-top: 15px;
    }

    .hero {
        height: 70vh;
        min-height: 450px;
        max-height: 600px;
    }

    .hero-content {
        padding: 15px 20px;
    }

    .hero-content img.logo {
        height: 100px;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        margin-bottom: 15px;
    }

    .hero-content p {
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .menu-links {
        padding: 25px 20px;
        gap: 15px;
    }

    .menu-button {
        min-width: 100%;
        padding: 12px 25px;
    }

    section {
        padding: 60px 25px;
    }

    section p {
        font-size: 17px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .about-card {
        padding: 30px 25px;
    }

    .swiper {
        height: 350px;
    }

    .slide-caption {
        font-size: 16px;
        padding: 40px 20px 20px;
    }

    .swiper-button-next, .swiper-button-prev {
        width: 45px;
        height: 45px;
        margin-top: -22.5px;
    }

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 16px;
    }

    .map iframe {
        height: 350px;
    }

    .events-contact {
        padding: 30px 25px;
    }

    .events-contact h3 {
        font-size: 24px;
    }

    .events-contact a {
        font-size: 20px;
    }

    #cookie-popup {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 20px;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content img.logo {
        height: 80px;
        margin-bottom: 15px;
    }

    .hero-content p {
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }

    section {
        padding: 50px 20px;
    }

    .swiper {
        height: 280px;
    }

    .slide-caption {
        font-size: 14px;
        padding: 30px 15px 15px;
    }

    .about-card {
        padding: 25px 20px;
    }

    .events-contact {
        padding: 25px 20px;
    }

    .map iframe {
        height: 300px;
    }
}

@media (max-width: 360px) {
    .hero-content img.logo {
        height: 70px;
    }

    .swiper {
        height: 250px;
    }
}