/* ===== СБРОС СТИЛЕЙ ===== */
* {
    /* margin: 0; */
    /* padding: 0; */
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #f8f9fa;
    padding-top: 90px;
}

body.site-index {
    padding-top: 0;
}

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

/* ===== ПЕРЕМЕННЫЕ ЦВЕТОВ ===== */
:root {
    --blue-primary: #1E88E5;
    --blue-dark: #1565C0;
    --blue-light: #2A7FFF;
    --green-accent: #7CB342;
    --green-light: #8BC34A;
    --white: #FFFFFF;
    --gray-bg: #F8F9FA;
    --gray-text: #666666;
    --gray-dark: #424242;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--green-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 40px;
}
.contact .section-subtitle {
    color: var(--gray-bg);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--blue-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-green {
    background: var(--green-accent);
}

.btn-green:hover {
    background: #689F38;
}

/* ===== ХЕДЕР ===== */
header {
    background-color: var(--blue-dark);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.logo-img {
    max-height: 50px;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== ГЕРОЙ (HERO) ===== */
.hero {
    background: url('/images/5453732.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 136, 229, 0.75);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== О ЛАГЕРЕ ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--blue-dark);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.fact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue-primary), var(--green-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--blue-dark);
}

.fact-text p {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin: 0;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

/* ===== НОМЕРНОЙ ФОНД ===== */
.rooms {
    background-color: var(--gray-bg);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.room-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.room-content {
    padding: 25px;
}

.room-title {
    font-size: 1.5rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
}

.room-desc {
    color: var(--gray-text);
    margin-bottom: 20px;
}

.room-amenities {
    list-style: none;
}

.room-amenities li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-amenities li::before {
    content: '✓';
    color: var(--green-accent);
    font-weight: bold;
}

/* ===== ПИТАНИЕ ===== */
.food {
    background-color: var(--white);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.food-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.food-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.food-title {
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
}

.food-desc {
    color: var(--gray-text);
}

/* ===== СПОРТ И РАЗВЛЕЧЕНИЯ ===== */
.activities {
    background-color: var(--gray-bg);
}

.activities-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--blue-primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--blue-dark);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.activities-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.activity-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.activity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--blue-primary), var(--green-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.activity-title {
    font-size: 1.3rem;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

/* ===== ПЛЯЖ ===== */
.beach {
    background: linear-gradient(rgba(30, 136, 229, 0.9), rgba(30, 136, 229, 0.9)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80') center/cover no-repeat;
    color: var(--white);
}

.beach .section-title {
    color: var(--white);
}

.beach .section-title::after {
    background: var(--white);
}

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

.beach-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.distance-badge {
    display: inline-block;
    background: var(--green-accent);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

/* ===== БЕЗОПАСНОСТЬ ===== */
.safety {
    background-color: var(--white);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.safety-item {
    text-align: center;
    padding: 30px 20px;
}

.safety-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.safety-title {
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
}

.safety-desc {
    color: var(--gray-text);
}

/* ===== УСЛУГИ ===== */
.services {
    background-color: var(--gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--blue-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:nth-child(2) {
    border-top-color: var(--green-accent);
}

.service-card:nth-child(3) {
    border-top-color: var(--blue-light);
}

.service-card:nth-child(4) {
    border-top-color: #FF9800;
}

.service-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--gray-text);
    margin-bottom: 20px;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery {
    background-color: var(--white);
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(135deg, var(--blue-primary), var(--green-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-size: cover;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item a,
.gallery-item a:hover {
    color: var(--white);
    text-decoration: none;
}

/* ===== ОТЗЫВЫ ===== */
.reviews {
    background-color: var(--gray-bg);
}

.reviews-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 20px;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 25px;
    line-height: 1.8;
    position: relative;
}

.review-text::before,
.review-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--blue-primary);
    opacity: 0.2;
    position: absolute;
}

.review-text::before {
    top: -20px;
    left: -20px;
}

.review-text::after {
    bottom: -40px;
    right: -20px;
}

.review-author {
    font-weight: 700;
    color: var(--blue-dark);
    font-size: 1.1rem;
}

.review-location {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* ===== КОНТАКТЫ И ЗАЯВКА ===== */
.contact {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title::after {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--white);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
    background: var(--white);
    color: var(--blue-primary);
    font-weight: 700;
}

.contact-form .btn:hover {
    background: var(--white);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* ===== ФУТЕР ===== */
footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--green-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

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

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

.footer-bottom a {
    color: var(--green-accent);
    text-decoration: none;
}

/* ===== АНИМАЦИИ ПРИ ПРОКРУТКЕ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
    
    .room-content {
        padding: 20px;
    }
}