/*
Theme Name: Turismo360
Theme URI: https://turismo360.com
Author: RJ
Author URI: https://turismo360.com
Description: Tema personalizado para sitio web de turismo con diseño responsivo y características únicas.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turismo360
Tags: turismo, travel, responsive, custom
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Contenedor principal */
.site-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header */
.top-header {
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
}

.top-header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 8px;
    padding-right: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-links svg {
    transition: transform 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.1);
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.site-title {
    font-size: 2rem;
    margin: 0;
}

/* Navegación */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Contenido */
.site-content {
    padding: 10px 0;
}

/* Posts Grid Layout */
.posts-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

/* Post destacado principal */
.featured-post {
    position: relative;
    height: 334px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-post .post-link {
    display: block;
    height: 100%;
    position: relative;
}

.featured-post .post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post .post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 40px 30px 30px;
    color: white;
}

.featured-post .post-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin: 10px 0 0;
    line-height: 1.3;
}

/* Grid de posts secundarios */
.secondary-posts {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    gap: 15px;
}

.grid-post {
    position: relative;
    height: 183px;
    overflow: hidden;
    border-radius: 8px;
}

.grid-post .post-link {
    display: block;
    height: 100%;
    position: relative;
}

.grid-post .post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-post:hover .post-image {
    transform: scale(1.05);
}

.grid-post .post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    padding: 30px 20px 20px;
    color: white;
}

.grid-post .post-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin: 8px 0 0;
    line-height: 1.4;
}

/* Etiquetas de categoría */
.post-category {
    display: inline-block;
    background: rgba(51, 51, 51, 0.9);
    color: white;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

/* Enlaces de posts */
.post-link {
    text-decoration: none;
}

.post-link:hover {
    text-decoration: none;
}

.post-title {
    transition: opacity 0.3s ease;
}

.post-link:hover .post-title {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .secondary-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-post:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .featured-post {
        height: 300px;
    }
    
    .featured-post .post-title {
        font-size: 1.5rem;
    }
    
    .secondary-posts {
        grid-template-columns: 1fr;
    }
    
    .grid-post:nth-child(3) {
        grid-column: span 1;
    }
    
    .grid-post {
        height: 250px;
    }
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.entry-content {
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
    }
}
.custom-logo {
  height: 60px;
  width: auto;
  }

 .blogpost h2
    {
     font-size: 20px;
     font-weight: 600;
     margin-bottom: 10px;
    }

    .blogpost h3
    {
     font-size: 18px;
     font-weight: 600;
     margin-bottom: 10px;
    }

/* Estilos personalizados para Swiper */
.swiper {
    position: relative;
    padding: 0;
}

/* Botones personalizados (reemplazamos los de Swiper) */
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

.swiper-pagination {
    position: static !important;
    margin: 0;
}

.swiper-pagination-bullet {
    background: #ec1952;
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 640px) {
    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}
