/* 
=========================================
Estilos Globais
=========================================
*/

:root {
    --primary-color: #0056b3;
    --primary-light: #2b7dd5;
    --primary-dark: #00408c;
    --secondary-color: #ffc107;
    --secondary-light: #ffda6a;
    --secondary-dark: #c79100;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --grey-color: #6c757d;
    --light-grey: #e9ecef;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

p {
    margin-bottom: 1.2rem;
    color: var(--grey-color);
}

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

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

ul, ol {
    margin-bottom: 1.2rem;
    list-style-position: inside;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

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

.bg-dark {
    background-color: var(--dark-color);
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
}

/* 
=========================================
Topo da Página (Header)
=========================================
*/

#topo {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo a {
    display: inline-block;
}

.logo-svg {
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 1.5rem;
}

.menu a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.btn-contacto {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.btn-contacto:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-contacto::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        left: 0;
    }

    .menu li {
        margin: 1.5rem 0;
    }
}

/* 
=========================================
Banner Principal
=========================================
*/

#banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    #banner {
        padding: 6rem 0;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* 
=========================================
Serviços
=========================================
*/

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.servico-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.servico-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.servico-icon svg {
    width: 60px;
    height: 60px;
}

.servico-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.servico-item p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/* 
=========================================
Sobre Nós
=========================================
*/

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

.sobre-text {
    padding-right: 2rem;
}

.sobre-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    margin: 1rem 0;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--grey-color);
}

.sobre-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portugal-map {
    max-width: 100%;
    height: auto;
}

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

    .sobre-text {
        padding-right: 0;
    }

    .sobre-map {
        margin-top: 2rem;
    }
}

/* 
=========================================
Tours
=========================================
*/

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.tour-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tour-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 1;
}

.tour-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    z-index: 1;
}

.tour-content {
    padding: 1.5rem;
}

.tour-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tour-location {
    color: var(--grey-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tour-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.tour-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tour-rating i {
    color: var(--secondary-color);
    margin-right: 0.2rem;
}

.tour-rating span {
    margin-left: 0.5rem;
    color: var(--grey-color);
    font-size: 0.9rem;
}

.tour-actions {
    display: flex;
    justify-content: space-between;
}

.btn-tour {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-tour:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-wishlist {
    background-color: #fff;
    border: 1px solid var(--light-grey);
    color: var(--grey-color);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-wishlist:hover {
    background-color: var(--light-grey);
}

.btn-wishlist i {
    transition: var(--transition);
}

.btn-wishlist:hover i {
    color: var(--primary-color);
}

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

/* 
=========================================
Depoimentos
=========================================
*/

.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.testimonials-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.testimonial-slider {
    margin-top: 3rem;
    padding: 2rem 0;
}

.testimonial-item {
    text-align: center;
    padding: 0 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -20px;
    font-size: 6rem;
    opacity: 0.2;
    font-family: Georgia, serif;
}

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

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* 
=========================================
Blog
=========================================
*/

#blog-header {
    text-align: center;
    padding: 4rem 0;
}

.blog-search {
    max-width: 600px;
    margin: 2rem auto;
}

.blog-search form {
    display: flex;
}

.blog-search input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.blog-search button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.blog-search button:hover {
    background-color: var(--primary-dark);
}

.blog-categories {
    margin: 2rem 0;
}

.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-button {
    padding: 0.5rem 1.2rem;
    background-color: #fff;
    border: 1px solid var(--light-grey);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.category-button:hover,
.category-button.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.featured-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-article-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.featured-label {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
}

.featured-category {
    color: #fff;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
}

.featured-article-content {
    padding: 2rem;
}

.featured-date {
    color: var(--grey-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.featured-article-content h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.featured-article-content p {
    margin-bottom: 1.5rem;
}

.featured-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.author-title {
    font-size: 0.8rem;
    color: var(--grey-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-date {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--grey-color);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.blog-comments i {
    margin-right: 0.3rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.pagination-prev,
.pagination-next {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.pagination-prev:hover,
.pagination-next:hover {
    color: var(--primary-dark);
}

.pagination-prev i,
.pagination-next i {
    transition: var(--transition);
}

.pagination-prev:hover i {
    transform: translateX(-5px);
}

.pagination-next:hover i {
    transform: translateX(5px);
}

.pagination-prev.disabled,
.pagination-next.disabled {
    color: var(--light-grey);
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    margin: 0 1.5rem;
}

.pagination-numbers a,
.pagination-numbers span {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.3rem;
    border-radius: 50%;
    font-weight: 600;
    transition: var(--transition);
}

.pagination-numbers a:hover,
.pagination-numbers a.active {
    background-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 992px) {
    .featured-article-wrapper {
        grid-template-columns: 1fr;
    }

    .featured-article-image {
        min-height: 250px;
    }
}

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

/* 
=========================================
Artigo
=========================================
*/

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-category {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.article-date {
    color: var(--grey-color);
    font-size: 0.9rem;
}

.article-featured-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    position: relative;
    margin-bottom: 2rem;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.8rem;
    font-size: 0.9rem;
    text-align: center;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.article-quote {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--light-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.article-quote cite {
    color: var(--grey-color);
    font-size: 0.9rem;
    display: block;
    text-align: right;
}

.article-image-side {
    float: right;
    width: 350px;
    height: 250px;
    margin: 0 0 1.5rem 1.5rem;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    position: relative;
}

.article-image-wide {
    width: 100%;
    height: 400px;
    margin: 2.5rem 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    position: relative;
}

.article-conclusion {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.article-list {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.article-list li {
    margin-bottom: 0.8rem;
}

.article-tags {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tag-label {
    font-weight: 600;
    margin-right: 1rem;
}

.tag {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin: 0.3rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.article-share {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--light-grey);
    padding-top: 2rem;
}

.share-label {
    font-weight: 600;
    margin-right: 1rem;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.3rem;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.article-author-bio {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
}

.author-image {
    margin-right: 2rem;
    flex-shrink: 0;
}

.author-details h3 {
    margin-bottom: 0.3rem;
}

.author-details .author-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.related-articles {
    margin-top: 4rem;
}

.related-articles h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.related-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.related-card h4 {
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--dark-color);
    transition: var(--transition);
}

.related-card:hover h4 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .article-image-side {
        float: none;
        width: 100%;
        margin: 1.5rem 0;
    }

    .article-author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

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

/* 
=========================================
Newsletter
=========================================
*/

#newsletter {
    background-color: var(--primary-color);
    color: #fff;
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.newsletter-form .form-row {
    display: flex;
}

.newsletter-form .form-group {
    flex: 1;
    margin-right: 1rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
}

.newsletter-form .form-group.checkbox {
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.newsletter-form .checkbox input {
    margin-right: 0.5rem;
}

.newsletter-form .checkbox label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form .checkbox label a {
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .newsletter-form .form-row {
        flex-direction: column;
    }

    .newsletter-form .form-group {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* 
=========================================
Contacto
=========================================
*/

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contacto-info h3 {
    color: #fff;
    margin-bottom: 2rem;
}

.contacto-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contacto-icon {
    margin-right: 1rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contacto-text {
    color: rgba(255, 255, 255, 0.8);
}

.contacto-text strong {
    display: block;
    color: #fff;
    margin-bottom: 0.3rem;
}

.contacto-social {
    margin-top: 2rem;
}

.contacto-social h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 0.8rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.contacto-form {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contacto-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--grey-color);
}

.form-check-label a {
    color: var(--primary-color);
}

.btn-form {
    width: 100%;
    padding: 1rem;
}

@media (max-width: 992px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 
=========================================
Mapa
=========================================
*/

.mapa-wrapper {
    position: relative;
    height: 500px;
    margin-top: 5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mapa-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 
=========================================
Footer
=========================================
*/

#footer {
    background-color: var(--dark-color);
    color: #fff;
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 0.9rem;
}

.footer-newsletter button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--secondary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

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

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
}

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

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

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

    .footer-info {
        grid-column: 1 / -1;
    }
}

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

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

    .footer-legal {
        margin-top: 1rem;
        justify-content: center;
    }

    .footer-legal a {
        margin: 0 0.75rem;
    }
}

/* 
=========================================
Back to Top
=========================================
*/

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

/* 
=========================================
Wave Divider
=========================================
*/

.wave-divider {
    position: relative;
    margin-top: -2px;
    height: 150px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: var(--light-color);
}

/* 
=========================================
Thank You Page
=========================================
*/

.thank-you-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 0;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--grey-color);
    margin-bottom: 2rem;
}

.thank-you-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: left;
}

.thank-you-info p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.thank-you-info ul {
    list-style: none;
    padding: 0;
}

.thank-you-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.thank-you-info li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

.thank-you-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.thank-you-social {
    margin-top: 3rem;
}

.thank-you-social p {
    margin-bottom: 1rem;
}

.featured-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-tour-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.featured-tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.featured-tour-icon {
    margin-bottom: 1.5rem;
}

.featured-tour-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.featured-tour-card p {
    margin-bottom: 1.5rem;
}

.btn-tour {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-tour:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

@media (max-width: 768px) {
    .thank-you-cta {
        flex-direction: column;
    }
}

/* 
=========================================
Legal Pages
=========================================
*/

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.legal-updated {
    color: var(--grey-color);
    font-size: 0.9rem;
}

.legal-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
}

.legal-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.legal-section ul, 
.legal-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.8rem;
}

.cookie-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--light-grey);
}

.cookie-table th, 
.cookie-table td {
    padding: 1rem;
    border: 1px solid var(--light-grey);
    text-align: left;
}

.cookie-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cookie-control-buttons {
    margin: 2rem 0;
    text-align: center;
}

/* 
=========================================
Responsive Ajustes
=========================================
*/

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    #banner {
        padding: 5rem 0;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }
}