/* 
 * Chile Aventura - Blog de Viajes
 * Estilos principales
 * 2024
 */

/* Variables y configuración global */
:root {
    --primary-color: #2e86de;
    --primary-dark: #0c2461;
    --secondary-color: #ff9900;
    --secondary-dark: #e67e22;
    --text-color: #333;
    --text-light: #666;
    --light-color: #f9f9f9;
    --white: #ffffff;
    --border-color: #eaeaea;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --max-width: 1280px;
    --header-height: 80px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-small.outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-small.outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h2 svg {
    vertical-align: middle;
    margin-right: 8px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 svg {
    vertical-align: middle;
    margin-right: 6px;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

/* Header y Navegación */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-dark);
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius);
}

nav ul li a svg {
    margin-right: 5px;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--primary-color);
    background-color: rgba(46, 134, 222, 0.1);
}

/* Encabezado de página */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(12, 36, 97, 0.8), rgba(46, 134, 222, 0.6));
    background-position: center;
    background-size: cover;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section / Slider */
.hero {
    height: 100vh;
    margin-top: var(--header-height);
    position: relative;
}

.slider-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Sección de bienvenida */
.welcome {
    text-align: center;
    background-color: var(--light-color);
}

.welcome .container {
    max-width: 800px;
}

/* Posts destacados */
.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Sección de por qué visitar Chile */
.why-chile {
    background-color: var(--light-color);
    text-align: center;
}

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

.feature {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 134, 222, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta .btn {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 12px 30px;
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin-bottom: 10px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4:after, .footer-contact h4:after, .footer-social h4:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 0;
}

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

.footer-links ul li a, .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover, .footer-contact a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact p svg {
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    padding: 20px 0;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-content a {
    font-size: 0.9rem;
}

/* Estilos para About */
.about-intro {
    padding-bottom: 30px;
}

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

.about-text {
    line-height: 1.8;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team {
    background-color: var(--light-color);
}

.team h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    padding: 0 20px;
}

.team-member .social-icons {
    justify-content: center;
    margin: 20px 0;
}

.team-member .social-icons a {
    background-color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.values {
    text-align: center;
}

.values h2 {
    margin-bottom: 40px;
}

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

.value-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 134, 222, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.testimonials {
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    max-width: 400px;
    flex: 1 1 300px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Estilos para Rutas */
.routes-intro {
    text-align: center;
    margin-bottom: 20px;
}

.routes-intro .container {
    max-width: 800px;
}

.region-map {
    position: relative;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.region-map img {
    width: 100%;
    display: block;
}

.region-highlight {
    position: absolute;
    background-color: rgba(46, 134, 222, 0.7);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.region-highlight:hover {
    background-color: var(--primary-color);
}

.region-highlight.north {
    top: 20%;
    left: 20%;
}

.region-highlight.center {
    top: 50%;
    left: 30%;
}

.region-highlight.south {
    top: 75%;
    left: 25%;
}

.region-highlight.islands {
    top: 35%;
    left: 65%;
}

.region-tab {
    display: none;
}

.region-tab.active {
    display: block;
}

.region-tab h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

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

.attraction {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.attraction:hover {
    transform: translateY(-5px);
}

.attraction img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.attraction h4, .attraction p {
    padding: 0 20px;
}

.attraction h4 {
    margin-top: 15px;
}

.attraction .btn-small {
    margin: 0 20px 20px;
}

.featured-routes {
    background-color: var(--light-color);
}

.featured-routes h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.route-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.route-content {
    padding: 20px;
}

.route-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.route-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.route-details span {
    display: flex;
    align-items: center;
}

.route-details svg {
    margin-right: 5px;
}

.travel-tips {
    text-align: center;
}

.travel-tips h2 {
    margin-bottom: 40px;
}

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

.tip-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.tip-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 134, 222, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.tip-card h3 {
    margin-bottom: 15px;
}

/* Estilos para Galería */
.gallery-intro {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-intro .container {
    max-width: 800px;
}

.gallery-filter {
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    margin-bottom: 5px;
}

.gallery-overlay p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content {
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius-sm);
    position: absolute;
    bottom: 20px;
    width: 80%;
}

.modal-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.modal-prev, .modal-next {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 30px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.modal-prev:hover, .modal-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.photography-tips {
    background-color: var(--light-color);
    text-align: center;
}

.photography-tips h2 {
    margin-bottom: 40px;
}

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

.photo-tip {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}

.photo-tip h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.user-gallery h2 {
    text-align: center;
    margin-bottom: 20px;
}

.user-gallery p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.photo-upload {
    text-align: center;
    margin-bottom: 50px;
}

.user-photos h3 {
    text-align: center;
    margin-bottom: 30px;
}

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

.user-photo {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--white);
}

.user-photo-info p {
    margin-bottom: 5px;
    text-align: left;
}

.user-photo-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Estilos para Contacto */
.contact-intro {
    text-align: center;
    margin-bottom: 20px;
}

.contact-intro .container {
    max-width: 800px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item svg {
    margin-right: 15px;
    margin-top: 3px;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.contact-social {
    margin-top: 10px;
}

.contact-social a {
    background-color: var(--primary-color);
    width: 35px;
    height: 35px;
}

.business-hours {
    margin-top: 40px;
}

.hours-table {
    width: 100%;
    margin-top: 15px;
}

.hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--light-color);
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.required {
    color: var(--danger-color);
}

.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.thank-you-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 213, 115, 0.1);
    border-radius: 50%;
    color: #2ecc71;
}

.map-section {
    background-color: var(--light-color);
    text-align: center;
}

.map-section h2 {
    margin-bottom: 30px;
}

.map-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-overlay p {
    max-width: 400px;
    margin-bottom: 0;
}

.faq-section {
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 15px;
}

.accordion-header {
    padding: 15px 20px;
    background-color: var(--light-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    text-align: left;
}

.accordion-header:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.accordion-item.active .accordion-header:after {
    content: "-";
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: left;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 500px;
}

.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.form-disclaimer {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Estilos para Post individual */
.post-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
}

.post-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12, 36, 97, 0.8), rgba(46, 134, 222, 0.6));
    z-index: 1;
}

.post-header .container {
    position: relative;
    z-index: 2;
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.post-meta {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta svg {
    margin-right: 5px;
}

.post-header .btn {
    margin-top: 20px;
}

.post-content {
    padding: 60px 0;
}

.post-content .container {
    max-width: 800px;
}

.post-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content blockquote {
    background-color: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 10px;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-image img {
    width: 100%;
    display: block;
}

.post-image figcaption {
    background-color: var(--light-color);
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-light);
}

.post-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.post-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.post-gallery img:hover {
    transform: scale(1.05);
}

.post-map {
    height: 400px;
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-details-section {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.route-details-section h3 {
    margin-top: 0;
}

.route-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.route-detail {
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
}

.route-detail h4 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.route-detail h4 svg {
    margin-right: 8px;
    color: var(--primary-color);
}

.itinerary-section {
    margin: 40px 0;
}

.itinerary-day {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.itinerary-day:last-child {
    border-bottom: none;
}

.itinerary-day h3 {
    display: flex;
    align-items: center;
    color: var(--primary-dark);
}

.itinerary-day h3 svg {
    margin-right: 10px;
    color: var(--primary-color);
}

.practical-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.practical-info h2 {
    margin-top: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 134, 222, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.related-posts {
    margin: 60px 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.author-box {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 30px;
}

.author-info h3 {
    margin-bottom: 5px;
}

.author-info p {
    margin-bottom: 10px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--primary-dark);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.share-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.share-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.share-button svg {
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 80vh;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    header {
        height: auto;
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
        width: 100%;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        margin-top: 120px;
        height: 60vh;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .posts-grid, .featured-routes .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero {
        height: 50vh;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .features, .team-grid, .values-grid, .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}
