/* css/style.css */
:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #8fb996;
    --light-color: #f8f9fa;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url('/img/big.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-color);
    padding: 180px 0 120px;
    text-align: center;
    margin-top: 70px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, white);
}

.hero-container {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* FIX: чтобы ссылки с классом .btn не были синими/фиолетовыми */
.btn {
    color: #fff; /* убираем дефолтный цвет ссылки */
}

.btn:visited {
    color: #fff; /* убираем фиолетовый visited */
}

/* Если у кнопки нет варианта (btn-primary/btn-secondary) — делаем её "primary" по умолчанию */
.btn:not(.btn-primary):not(.btn-secondary) {
    background: var(--gradient);
    box-shadow: 0 4px 20px rgba(44, 85, 48, 0.3);
}

.btn:not(.btn-primary):not(.btn-secondary):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 85, 48, 0.4);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(143, 185, 150, 0.25), 0 8px 30px rgba(44, 85, 48, 0.35);
}


.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(44, 85, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 85, 48, 0.4);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 0 4px 20px rgba(143, 185, 150, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 124, 89, 0.4);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background-color: #f8faf9;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Termas Section */
.termas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.termas-content ul {
    margin: 24px 0;
    padding-left: 24px;
    list-style: none;
}

.termas-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.termas-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.section-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.section-image:hover {
    transform: scale(1.02);
}

/* Video Section */
.video-section {
    background: linear-gradient(135deg, #f8faf9 0%, #e8f0eb 100%);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.video-placeholder {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-placeholder:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.play-button-link {
    text-decoration: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-left: 4px;
}

.play-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 280px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Como llegar Section */
.llegar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.route-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.route-item {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e8e8e8;
}

.route-item h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.route-item p {
    margin-bottom: 8px;
    color: var(--text-light);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 85, 48, 0.9), rgba(74, 124, 89, 0.9)),
    url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.map-overlay h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.map-overlay p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Precios Section */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.precio-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.precio-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
}

.precio-card h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.precio {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 24px 0;
    position: relative;
}

.precio::before {
    content: '$';
    font-size: 1.5rem;
    position: absolute;
    left: -20px;
    top: 10px;
}

.precio-card p {
    margin-bottom: 32px;
    color: var(--text-light);
    flex-grow: 1;
}

.precios-cta {
    text-align: center;
}

/* Alojamientos Section */
.alojamientos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.alojamiento-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.alojamiento-card:hover {
    transform: translateY(-10px);
}

.alojamiento-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.alojamiento-content {
    padding: 32px;
}

.alojamiento-content h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.alojamiento-content p {
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contacto Section */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto-info h3 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.8rem;
}

.contacto-info p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contacto-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contacto-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid #e8e8e8;
}

.contacto-link:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
    color: var(--primary-color);
}

.contacto-link svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(143, 185, 150, 0.2);
}

.contacto-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: white;
}

.footer-col p {
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .termas-grid,
    .llegar-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .video-placeholder {
        height: 400px;
    }

    .route-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        padding: 100px 30px 30px;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 140px 0 80px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .precios-grid,
    .alojamientos-grid {
        grid-template-columns: 1fr;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .play-text {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
