/*
Theme Name: Roteiros Internacionais
Description: Tema customizado para blog de turismo com destinos inusitados e experiências únicas
Author: Roteiros Internacionais
Version: 1.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: #333;
    background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
    min-height: 100vh;
}

/* Header */
.site-header {
    background: #0f172a;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    background: linear-gradient(to right, #10b981, #14b8a6);
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #34d399, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-description {
    font-size: 0.875rem;
    color: #34d399;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    padding: 5rem 1rem;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    background: linear-gradient(to right, #34d399, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, #059669, #0d9488);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, #047857, #0f766e);
}

.btn-outline {
    border: 1px solid #34d399;
    color: #34d399;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(52, 211, 153, 0.1);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-description {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.post-category {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #10b981;
}

.post-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-tag {
    background: #f0fdf4;
    color: #166534;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    border: 1px solid #bbf7d0;
}

.read-more {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: #059669;
}

/* Dicas Essenciais */
.dicas-section {
    background: white;
    padding: 3rem 1rem;
    margin: 3rem 0;
}

.dicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dica-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.dica-card.cambio {
    background: linear-gradient(to bottom, #f0fdf4, #dcfce7);
}

.dica-card.planejamento {
    background: linear-gradient(to bottom, #fff7ed, #fed7aa);
}

.dica-card.experiencias {
    background: linear-gradient(to bottom, #faf5ff, #e9d5ff);
}

.dica-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.dica-card.cambio .dica-icon {
    background: #10b981;
}

.dica-card.planejamento .dica-icon {
    background: #f97316;
}

.dica-card.experiencias .dica-icon {
    background: #8b5cf6;
}

.dica-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.dica-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.dica-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Sobre Section */
.sobre-section {
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    padding: 4rem 1rem;
    color: white;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.sobre-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.sobre-subtitle {
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
}

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

.sobre-text h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #34d399;
    margin-bottom: 1.5rem;
}

.sobre-text p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.sobre-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.sobre-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.sobre-card-icon {
    background: #10b981;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.sobre-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.sobre-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sobre-card p {
    color: #d1d5db;
    font-size: 0.875rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.5);
    padding: 4rem 1rem;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(to right, #10b981, #14b8a6);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-description {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.cta-option h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cta-option.padrao h4::before {
    content: "❌ ";
}

.cta-option.reduzido h4::before {
    content: "✅ ";
}

.cta-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
}

.cta-button {
    background: white;
    color: #10b981;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: white;
    padding: 3rem 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: #34d399;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #34d399;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.gallery-modal.active {
    display: flex;
}

.gallery-content {
    background: white;
    border-radius: 1rem;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.gallery-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.gallery-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
}

.gallery-close:hover {
    color: #1f2937;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.gallery-item {
    cursor: pointer;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}

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

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

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

.gallery-item-info h4 {
    color: white;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.gallery-item-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sobre-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-comparison {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-container {
        padding: 2rem 1rem;
    }
}

