/* =========================================================
   PARADA 47 - CSS GENERAL LIMPIO
   Archivo: assets/css/index.css
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f1e7;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

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

a {
    color: #336699;
}

/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.page,
.site-container {
    width: 980px;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 16px rgba(0,0,0,.12);
}

/* =========================================================
   HEADER / TOP
   ========================================================= */

.site-header,
.top {
    background: #ffffff;
}

.top-image,
.top {
    padding: 0;
    background: #ffffff;
}

.top-image img,
.top img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   MENÚ
   ========================================================= */

.main-menu,
.menu {
    background: #222222;
    border-bottom: 4px solid #d7b23a;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0 12px;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0 12px;
    display: flex;
    flex-wrap: wrap;
}

.main-menu a,
.menu a {
    display: block;
    padding: 14px 13px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.main-menu a:hover,
.main-menu a.active,
.menu a:hover,
.menu a.active {
    background: #d7b23a;
    color: #222222;
}

/* =========================================================
   LAYOUT GENERAL
   ========================================================= */

.wrap,
.page-wrap {
    padding: 28px 34px;
}

.content-layout,
.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
}

.content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
}

.main-content h1,
.content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: normal;
    margin: 0 0 15px;
    color: #333333;
}

.main-content h2,
.content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: normal;
    margin: 25px 0 12px;
    color: #444444;
}

.main-content p,
.content p {
    line-height: 1.65;
    margin: 0 0 14px;
}

.page-line {
    height: 1px;
    background: #e2e2e2;
    margin-bottom: 18px;
}

/* =========================================================
   HOME - OTROS COMPLEJOS
   ========================================================= */

.otros-title {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    margin: 8px 0 24px;
    color: #333333;
}

.complex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0 35px;
    align-items: center;
}

.complex-card {
    display: block;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    overflow: hidden;
    height: auto;
    text-decoration: none;
}

.complex-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.complex-card:hover {
    opacity: 0.9;
}

/* =========================================================
   SLIDER HOME
   ========================================================= */

.slider-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 14px;
    margin: 25px 0;
}

.slider-dots,
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    text-align: center;
}

.slider-dot,
.dots span {
    width: 12px;
    height: 12px;
    background: #e8b82e;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    cursor: pointer;
}

.slider-dot.active {
    opacity: 1;
}

.slider {
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
}

.slider img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.hero-photo {
    min-height: 420px;
    background: linear-gradient(135deg,#bd6d4a,#f2d6c5 45%,#8fb7ce);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    font-family: Georgia, "Times New Roman", serif;
    text-shadow: 1px 1px 4px rgba(0,0,0,.45);
}

/* =========================================================
   MEDIOS DE PAGO
   ========================================================= */

.payment,
.pay-row {
    margin-top: 22px;
    text-align: left;
}

.payment img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pay-row {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin: 18px 0;
}

.pay-badge {
    border: 1px solid #dddddd;
    background: #ffffff;
    padding: 10px 18px;
    font-weight: bold;
    color: #264f85;
    font-size: 20px;
}

.pay-badge.small {
    font-size: 16px;
    color: #3d8b3d;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    width: 100%;
}

.side-box {
    margin-bottom: 28px;
    padding-bottom: 12px;
}

.side-box h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    color: #333333;
    font-weight: normal;
    text-transform: uppercase;
    border-bottom: 3px solid #333333;
    padding-bottom: 6px;
    margin: 0 0 14px;
}

.reserve-image,
.visit-card,
.tripadvisor-badge,
.tripadvisor-award,
.tripadvisor-recomendado {
    display: block;
    text-decoration: none;
    margin-bottom: 14px;
}

.reserve-image img,
.visit-card img,
.tripadvisor-badge img,
.tripadvisor-award img,
.tripadvisor-recomendado img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.reserve-btn {
    display: block;
    background: #e53b30;
    color: #ffffff;
    text-align: center;
    padding: 16px 10px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 3px 3px 0 #b22;
}

.reserve-image:hover,
.visit-card:hover,
.tripadvisor-badge:hover,
.tripadvisor-award:hover,
.tripadvisor-recomendado:hover,
.tripadvisor-certificados a:hover,
.tripadvisor-premios a:hover {
    opacity: 0.9;
}

/* =========================================================
   CLIMA
   ========================================================= */

.weather-link,
.weather-text {
    display: block;
    color: #444444;
    text-decoration: none;
    font-size: 14px;
}

.weather-link:hover,
.weather-text:hover {
    text-decoration: underline;
}

.weather {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.sun {
    width: 48px;
    height: 48px;
    background: #f6b72a;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(246, 183, 42, 0.25);
    flex: 0 0 48px;
}

.weather strong {
    color: #d8563a;
    font-size: 18px;
}

.weather-more {
    display: inline-block;
    margin-top: 8px;
    color: #336699;
    font-size: 13px;
}

/* =========================================================
   VISÍTENOS / TRIPADVISOR
   ========================================================= */

.visit-card {
    border: 1px solid #dddddd;
    background: #ffffff;
    overflow: hidden;
}

.trip {
    display: inline-block;
    background: #23a455;
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: bold;
}

.tripadvisor-recomendado,
.tripadvisor-certificados a {
    width: 170px;
    max-width: 100%;
}

.tripadvisor-certificados {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.tripadvisor-certificados a,
.tripadvisor-premios a {
    display: block;
    text-decoration: none;
}

.tripadvisor-certificados img,
.tripadvisor-premios img {
    display: block;
    width: 100%;
    height: auto;
}

.tripadvisor-premios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.tripadvisor-small {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tripadvisor-small img {
    max-width: 120px;
    height: auto;
    display: block;
}

/* =========================================================
   PÁGINAS INTERNAS / FOTOS
   ========================================================= */

.section-img {
    min-height: 240px;
    background: linear-gradient(135deg,#d7b23a,#83bdd8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-family: Georgia, "Times New Roman", serif;
    text-shadow: 1px 1px 3px rgba(0,0,0,.4);
    margin: 16px 0;
    border: 1px solid #dddddd;
}

.content-photo {
    margin: 18px 0 24px;
    border: 1px solid #dddddd;
    padding: 5px;
    background: #ffffff;
}

.content-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
    margin-top: 18px;
}

.feature {
    border: 1px solid #dddddd;
    background: #fafafa;
    padding: 16px;
}

.servicios-lista .feature {
    min-height: 95px;
}

/* =========================================================
   GALERÍA
   ========================================================= */

.gallery,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 20px 0 36px;
}

.gallery-item,
.gallery-photo {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 5px;
    overflow: hidden;
}

.gallery-item {
    min-height: 150px;
    background: linear-gradient(135deg,#86b9d1,#d9b676);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-shadow: 1px 1px 3px rgba(0,0,0,.35);
}

.gallery-photo a,
.gallery-open {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.gallery-photo img,
.gallery-open img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.gallery-photo:hover {
    opacity: 0.92;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    background: #ffffff;
    padding: 5px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 24px;
    background: #ffffff;
    color: #222222;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 38px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    background: #d7b23a;
}

/* =========================================================
   UBICACIÓN / MAPA
   ========================================================= */

.location-info {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #333333;
}

.map-box {
    width: 100%;
}

.map-box iframe {
    width: 100%;
    max-width: 100%;
    height: 450px;
    display: block;
}

/* =========================================================
   TARIFAS / CONTENIDO EDITABLE
   ========================================================= */

.tarifas-box {
    border: 1px solid #dddddd;
    background: #fafafa;
    padding: 18px;
    line-height: 1.6;
}

.tarifas-box p:last-child {
    margin-bottom: 0;
}

.tarifas-table,
.editable-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.tarifas-table th,
.tarifas-table td,
.editable-content table th,
.editable-content table td {
    border: 1px solid #cccccc;
    padding: 7px;
    vertical-align: top;
}

.tarifas-table th,
.editable-content table th {
    background: #f0c43d;
    font-weight: bold;
}

.editable-content {
    line-height: 1.5;
    overflow-x: auto;
}

.editable-content h2,
.editable-content h3,
.editable-content h4 {
    font-family: Georgia, "Times New Roman", serif;
    color: #333333;
}

.editable-content strong {
    font-weight: bold;
}

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

.editable-content .alerta-tarifas {
    color: #d10000;
    font-weight: bold;
    font-style: italic;
}

/* =========================================================
   FORMULARIOS
   ========================================================= */

.form {
    max-width: 680px;
}

.form label {
    display: block;
    margin: 12px 0 5px;
    font-weight: bold;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 11px;
    border: 1px solid #cccccc;
    font: inherit;
}

.form button,
.btn {
    display: inline-block;
    background: #d7b23a;
    color: #222222;
    border: 0;
    padding: 12px 18px;
    margin-top: 14px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.form-message {
    padding: 14px 16px;
    margin: 18px 0;
    border-radius: 4px;
    font-weight: bold;
}

.form-ok {
    background: #e8f7e8;
    border: 1px solid #8ac98a;
    color: #246b24;
}

.form-error {
    background: #fdeaea;
    border: 1px solid #d98b8b;
    color: #8a2525;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer,
.footer {
    border-top: 1px solid #dddddd;
    background: #f8f8f8;
    padding: 18px 34px;
    color: #777777;
    font-size: 13px;
    text-align: center;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-credit a {
    color: #336699;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.clean-note {
    font-size: 12px;
    color: #999999;
    margin-top: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .content-layout,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 20px;
    }

    .main-menu,
    .menu ul {
        justify-content: center;
        padding: 0;
    }

    .main-menu a,
    .menu a {
        font-size: 12px;
        padding: 11px 8px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .gallery-photo img,
    .gallery-open img {
        height: 150px;
    }
}

@media (max-width: 800px) {

    .wrap,
    .page-wrap {
        padding: 20px;
    }

    .complex-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        min-height: 260px;
    }

    .otros-title {
        font-size: 24px;
    }

    .tripadvisor-premios {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .gallery-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-photo img,
    .gallery-open img {
        height: auto;
    }
}
/* =========================================================
   ARREGLO COMPLEJO / PÁGINAS INTERNAS
   ========================================================= */

.page,
.site-container {
    width: 980px;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
}

.page-wrap,
.wrap {
    padding: 28px 34px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
}

.main-content,
.content {
    max-width: 100%;
}

.main-content h1,
.content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;
    color: #333333;
    margin: 0 0 18px;
}

.main-content h2,
.content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: normal;
    color: #444444;
    margin: 25px 0 12px;
}

.main-content p,
.content p {
    font-size: 14px;
    line-height: 1.65;
    color: #333333;
    margin: 0 0 14px;
    text-align: left;
}

/* Fotos dentro de complejo */
.content-photo {
    margin: 18px 0 24px;
    border: 1px solid #d8d8d8;
    padding: 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.16);
    max-width: 520px;
}

.content-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Si querés centrar las fotos de complejo */
.main-content .content-photo,
.content .content-photo {
    margin-left: auto;
    margin-right: auto;
}

/* Sidebar */
.sidebar {
    width: 100%;
}

.side-box {
    margin-bottom: 28px;
    padding-bottom: 12px;
}

.side-box h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    color: #333333;
    font-weight: normal;
    text-transform: uppercase;
    border-bottom: 3px solid #333333;
    padding-bottom: 6px;
    margin: 0 0 14px;
}

.reserve-image img,
.visit-card img,
.tripadvisor-recomendado img,
.tripadvisor-certificados img,
.tripadvisor-premios img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 850px) {
    .content-layout,
    .home-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 25px;
    }

    .content-photo {
        max-width: 100%;
    }
}
