/*
Theme Name: Aventura Global
Description: Tema moderno para blog de turismo underground com experiências autênticas pelo mundo
Author: Aventura Global Team
Version: 3.0
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5f7a 50%, #1e3a5f 100%);
    min-height: 100vh;
}

/* Header */
.site-header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #ff6b35;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.site-logo svg {
    width: 32px;
    height: 32px;
    color: #ff6b35;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.main-navigation a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ff6b35;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-highlight {
    color: #ff6b35;
}

.hero-description {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #94a3b8;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stat svg {
    color: #f4d03f;
}

/* Posts Grid */
.posts-section {
    padding: 64px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 48px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.post-card {
    background: rgba(30, 58, 95, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #44617a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.2);
}

.post-image-container {
    position: relative;
    overflow: hidden;
}

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

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

.post-country-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.country-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.post-read-time {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 107, 53, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.post-content {
    padding: 24px;
}

.post-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-card:hover .post-title {
    color: #ff6b35;
}

.post-excerpt {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
}

/* Modal Styles */
.post-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    padding: 32px 16px;
}

.post-modal.active {
    display: block;
}

.modal-content {
    max-width: 1000px;
    margin: 0 auto;
    background: #1e3a5f;
    border-radius: 12px;
    border: 1px solid #ff6b35;
    overflow: hidden;
    position: relative;
}

.modal-header {
    position: relative;
}

.modal-featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
}

.modal-country-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 500;
}

.modal-country-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.modal-body {
    padding: 32px;
}

.modal-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    color: #94a3b8;
    font-size: 14px;
}

.modal-content-area {
    color: #cbd5e1;
    line-height: 1.7;
}

.modal-content-area h3 {
    color: #ff6b35;
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.modal-content-area p {
    margin-bottom: 24px;
}

.modal-content-area ul {
    margin: 24px 0;
    padding-left: 24px;
}

.modal-content-area li {
    margin-bottom: 8px;
}

.modal-content-area strong {
    color: #f4d03f;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b35, #f4d03f);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.cta-section p {
    color: #1e3a5f !important;
    margin-bottom: 16px !important;
    font-weight: 600;
}

.cta-link {
    display: inline-block;
    background: #1e3a5f;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: #2c5f7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}

/* About Section */
.about-section {
    padding: 64px 20px;
    background: rgba(30, 58, 95, 0.3);
    text-align: center;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-description {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: #ff6b35;
    margin: 0 auto 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-description {
    color: #cbd5e1;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #ff6b35;
    padding: 32px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
    color: #ff6b35;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    .main-navigation {
        display: none;
    }
    
    .hero-section {
        padding: 60px 16px;
    }
    
    .posts-section {
        padding: 48px 16px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-section {
        padding: 48px 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-content {
        margin: 16px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-title {
        font-size: 32px;
    }
}


/* Estilos para Categorias e Tags */

/* Categorias nos Posts */
.post-categories {
    margin: 8px 0 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-badge {
    background: #ff6b35;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Categorias no Modal */
.modal-categories {
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-category-badge {
    background: #ff6b35;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Tags no Modal */
.modal-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-tags h4 {
    color: #f4d03f;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag-badge {
    background: rgba(244, 208, 63, 0.2);
    color: #f4d03f;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(244, 208, 63, 0.3);
    display: inline-block;
    transition: all 0.3s ease;
}

.modal-tag-badge:hover {
    background: rgba(244, 208, 63, 0.3);
    border-color: #f4d03f;
}

/* Responsivo */
@media (max-width: 768px) {
    .post-categories,
    .modal-categories,
    .modal-tags-list {
        gap: 4px;
    }
    
    .category-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .modal-category-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .modal-tag-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}

