:root {
    --primary-color: #1B4332;
    --secondary-color: #2D6A4F;
    --accent-color: #D4A373;
    --background-color: #0B1D13;
    --text-color: #E8E4D9;
    --bg-about: #0f2318;
    --bg-services: #122a1c;
    --bg-reviews: #0d1f15;
    --bg-statistics: #14301f;
    --bg-privacy: #0b1a10;
    --bg-disclaimer: #10261a;
    --bg-contact: #0d1f14;
    --bg-unsubscribe: #081710;
}

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    cursor: default;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
}

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

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    background: rgba(11, 29, 19, 0.85);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 10px 30px;
    background: rgba(11, 29, 19, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: block;
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--text-color);
    cursor: default;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 2px;
    left: 50%;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-color);
    transition: all 0.35s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    right: 15%;
    left: 15%;
}

.hamburger {
    z-index: 1001;
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    padding: 8px;
    background: none;
    cursor: default;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    border-radius: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

section {
    min-height: 50vh;
    padding: 100px 5% 80px;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    color: var(--accent-color);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

#about {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    background: var(--bg-about);
}

#about::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(45, 106, 79, 0.12) 0%, transparent 60%);
    animation: auraPulse 12s ease-in-out infinite alternate;
}

@keyframes auraPulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 18px;
    color: #B7C4B1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 29, 19, 0.6));
    pointer-events: none;
}

.image-panel,
.service-img {
    min-height: 400px;
    background:
        linear-gradient(180deg, transparent 45%, rgba(11, 29, 19, 0.72)),
        url('images/mountain-peak.jpg') center/cover no-repeat;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover .image-panel {
    transform: scale(1.05);
}

#services {
    background: var(--bg-services);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 163, 115, 0.15);
    border-radius: 16px;
    background: rgba(27, 67, 50, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 163, 115, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-img {
    min-height: 220px;
}

.service-img-1 {
    background:
        linear-gradient(180deg, transparent 55%, rgba(11, 29, 19, 0.72)),
        url('images/hiking-trail.jpg') center/cover no-repeat;
}

.service-img-2 {
    background:
        linear-gradient(180deg, transparent 55%, rgba(11, 29, 19, 0.72)),
        url('images/alpine-lodge.jpg') center/cover no-repeat;
}

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

.service-card-body {
    padding: 28px;
}

.service-card-body h3 {
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.service-card-body p {
    color: #A8B8A0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    line-height: 1.7;
}

#reviews {
    background: var(--bg-reviews);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
    min-width: 100%;
    border: 1px solid rgba(212, 163, 115, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    background: rgba(27, 67, 50, 0.25);
    text-align: center;
}

.review-card .stars {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.review-card .testimonial {
    margin-bottom: 24px;
    color: #C8D0C4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
}

.review-card .customer-name {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.2);
    color: var(--accent-color);
    cursor: default;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(212, 163, 115, 0.4);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.25);
    cursor: default;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    transform: scale(1.3);
    background: var(--accent-color);
}

#statistics {
    background: var(--bg-statistics);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.stat-card {
    border: 1px solid rgba(212, 163, 115, 0.12);
    border-radius: 16px;
    padding: 35px 20px;
    background: rgba(27, 67, 50, 0.25);
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 163, 115, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.stat-number {
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 2.8rem;
    font-weight: 800;
}

.stat-label {
    color: #A8B8A0;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.chart-container {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(212, 163, 115, 0.1);
    border-radius: 20px;
    padding: 35px;
    background: rgba(27, 67, 50, 0.2);
}

.chart-container canvas {
    width: 100% !important;
    height: 350px !important;
}

#privacy-policy,
#disclaimer {
    background: var(--bg-privacy);
}

#disclaimer {
    background: var(--bg-disclaimer);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(212, 163, 115, 0.08);
    border-radius: 16px;
    padding: 40px;
    background: rgba(27, 67, 50, 0.15);
}

.legal-content p {
    margin-bottom: 16px;
    color: #B7C4B1;
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content b {
    color: var(--accent-color);
}

#contact {
    background: var(--bg-contact);
}

.contact-form,
#unsubscribe .form {
    display: flex;
    flex-direction: column;
    max-width: 650px;
    margin: 0 auto;
    gap: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
#unsubscribe .form input[type="email"],
.container input[type="email"],
.container textarea {
    width: 100%;
    border: 1px solid rgba(212, 163, 115, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    outline: none;
    background: rgba(27, 67, 50, 0.3);
    color: var(--text-color);
    cursor: default;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
#unsubscribe .form input[type="email"]:focus,
.container input[type="email"]:focus,
.container textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group .error-msg {
    display: none;
    margin-top: 6px;
    color: #e57373;
    font-size: 0.8rem;
}

.btn-submit,
#unsubscribe .form button,
.container button {
    align-self: center;
    border: 1px solid rgba(212, 163, 115, 0.25);
    border-radius: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-color);
    cursor: default;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-submit:hover,
.container button:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px rgba(212, 163, 115, 0.2);
}

.contact-success {
    display: none;
    margin-top: 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    background: rgba(45, 106, 79, 0.3);
    color: var(--accent-color);
    font-size: 1.1rem;
    text-align: center;
}

#unsubscribe {
    background: var(--bg-unsubscribe);
}

#unsubscribe .form {
    max-width: 550px;
    gap: 20px;
}

#unsubscribe .form button {
    background: linear-gradient(135deg, #8B3A3A, #6B2D2D);
}

#unsubscribe .form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 58, 58, 0.3);
}

.messages {
    margin-bottom: 20px;
}

.messages .alert {
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 16px 24px;
    background: rgba(45, 106, 79, 0.3);
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    border-top: 1px solid rgba(212, 163, 115, 0.1);
    padding: 30px;
    background: rgba(11, 29, 19, 0.95);
    color: #7A8A74;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: center;
}

.container {
    width: min(900px, calc(100% - 40px));
    margin: 120px auto 60px;
    border: 1px solid rgba(212, 163, 115, 0.08);
    border-radius: 16px;
    padding: 40px;
    background: rgba(27, 67, 50, 0.18);
}

.container h1 {
    margin-bottom: 22px;
    color: var(--accent-color);
    font-size: 2.6rem;
    line-height: 1.1;
    text-align: center;
}

.container p,
.container li {
    margin-bottom: 16px;
    color: #B7C4B1;
    font-family: Georgia, "Times New Roman", serif;
}

.container ul {
    margin: 20px 0 30px 24px;
}

.container form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 560px;
    margin: 26px auto;
}

.container > a,
.container p > a {
    color: var(--accent-color);
    font-weight: 700;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

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

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        padding: 80px 30px 30px;
        gap: 4px;
        background: rgba(11, 29, 19, 0.98);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    section {
        padding: 80px 5% 60px;
    }

    .review-card {
        padding: 35px 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .container {
        width: calc(100% - 24px);
        padding: 24px;
    }
}
