
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}


.logo {
    position: fixed;
    top: 75px;
    left: 28px;
    width: 45px;
    height: 45px;
    z-index: 1001;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
}

nav a:hover {
    color: #e74c3c;
}


.section {
    min-height: 100vh;
    padding: 120px 50px 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.section p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 15px;
    color: #555;
}


#home {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/images/фон.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

#home h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 64px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    font-weight: 600;
}

#home p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 25px;
}


#why-us {
    position: relative;
    background: url('/images/фон.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    align-items: center;
}

#why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 0;
}

#why-us > * {
    position: relative;
    z-index: 1;
}

/* Белый заголовок в секции «Почему мы» */
#why-us h2 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.why-subtitle {
    font-size: 28px;
    color: white !important;
    margin-bottom: 50px !important;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.why-card {
    background: #fafaf5;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #e74c3c;
}

.why-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.why-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.why-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
}


#about {
    background: #fafaf5;
}

#about h2 {
    color: #333;
    font-size: 60px;
    margin-bottom: 20px;
}

#about p {
    color: #333;
    font-size: 25px;
}


#tours {
    background: #fafaf5;
}

.tours-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 300px;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.tour-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.tour-card-info {
    padding: 20px;
    text-align: center;
}

.tour-card-info h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.tour-card-info p {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    max-width: 100%;
}

.tour-price {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
}

#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url('/images/фон2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    align-items: center;
}

/* Белый заголовок в контактах */
#contact h2 {
    color: white;
    font-size: 52px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 50px !important;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.contact-info p {
    font-size: 20px;
    color: white !important;
    margin: 0;
    max-width: 100%;
}

.contact-social-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 25px !important;
    font-weight: 600;
}

#contact .social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 0;
}

#contact .social-links a {
    display: block;
    width: 55px;
    height: 55px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#contact .social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.4));
}

#contact .social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#registration {
    position: relative;
    background: url('/images/фон2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    align-items: center;
}

#registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 0;
}

#registration > * {
    position: relative;
    z-index: 1;
}

#registration h2.reg-title,
#registration p.reg-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    display: block;
    max-width: 100% !important;
}

#registration form {
    margin: 0 auto;
}


form {
    width: 450px;
    max-width: 90%;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

form input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

form input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

form button {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

form button:active {
    transform: translateY(0);
}


.carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 40px auto 20px auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.carousel-slide {
    flex-shrink: 0;
    width: 550px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    margin: 0;
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    transition: transform 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
}

/* ================================
   МОДАЛЬНЫЕ ОКНА
   ================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: modalIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.modal-content h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.modal-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.modal-content button {
    padding: 12px 40px;
    font-size: 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-content button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}


.tour-modal-content {
    max-width: 700px;
    padding: 0;
    overflow: hidden;
}

.tour-modal-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.tour-modal-body {
    padding: 30px 40px 40px 40px;
    text-align: left;
}

.tour-modal-body h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.tour-modal-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.tour-modal-meta p {
    font-size: 18px;
    color: #555;
    margin: 0;
}

.tour-modal-body > p:not(.tour-modal-meta p) {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.tour-modal-body button {
    display: block;
    margin: 0 auto;
    padding: 14px 50px;
    font-size: 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.tour-modal-body button:hover {
    background: #c0392b;
}

/* ================================
   АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ
   ================================ */
@media (max-width: 1000px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav a {
        display: block;
        margin: 8px 0;
        font-size: 14px;
    }

    .section {
        padding: 100px 25px 60px 25px;
    }

    .section h2,
    #about h2 {
        font-size: 32px;
    }

    #home h1 {
        font-size: 36px;
    }

    #contact h2 {
        font-size: 36px;
    }

    #registration h2.reg-title,
    #registration p.reg-title {
        font-size: 32px;
    }

    .section p {
        font-size: 16px;
    }

    .why-subtitle {
        font-size: 20px;
    }

    form {
        padding: 25px;
    }

    form input {
        padding: 12px;
    }

    form button {
        padding: 14px;
        font-size: 14px;
    }

    .carousel-slide {
        width: 85vw;
    }

    .carousel-slide img {
        height: 250px;
    }
}

@media (max-width: 700px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}
/* === Cookie баннер === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px 30px;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 3000;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

.cookie-banner.show {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
}

.cookie-text a {
    color: #e74c3c;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #ff6b5b;
}

.cookie-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
}

.cookie-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Адаптация под телефон */
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 15px;
    }

    .cookie-btn {
        width: 100%;
    }
}
/* === Чекбокс согласия === */
.checkbox-group {
    margin-bottom: 20px;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #e74c3c;
    display: inline-block;
    padding: 0;
    border: none;
}

.checkbox-label a {
    color: #e74c3c;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #c0392b;
}

/* Сброс стилей формы для чекбокса */
form .checkbox-label input {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}