/*
Theme Name: Travel Review Pro
Theme URI: https://travelhub.store
Author: Black Slave
Description: Travel Review & Recommendation Blog Theme - Affiliate Marketing Optimized
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: travel, blog, review, affiliate, recommendation
Text Domain: travel-review
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
}

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.site-logo span { color: var(--secondary); }

.main-nav ul { display: flex; list-style: none; gap: 30px; }
.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}
.main-nav a:hover { color: var(--primary); }

.header-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}
.header-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

/* Article Card */
.article-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.article-image {
    height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img { transform: scale(1.1); }

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-content { padding: 35px; }

.article-category {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.article-title {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.4;
}

.article-excerpt {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.article-rating {
    color: var(--accent);
    font-size: 18px;
}

.read-more {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.read-more:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

/* Sidebar */
.sidebar { padding-left: 20px; }

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.widget-list { list-style: none; }
.widget-list li { margin-bottom: 12px; }
.widget-list a {
    color: var(--gray);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-list a:hover { color: var(--primary); }
.widget-list a::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 { font-size: 28px; margin-bottom: 15px; }
.cta-box p { opacity: 0.9; margin-bottom: 25px; font-size: 16px; }

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.single-post h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    color: var(--dark);
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gray-light);
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark);
}

.post-content h2 { font-size: 32px; margin: 40px 0 20px; }
.post-content h3 { font-size: 24px; margin: 30px 0 15px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 20px 0 20px 30px; }
.post-content li { margin-bottom: 10px; }

/* Pros Cons Box */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.pros, .cons {
    padding: 30px;
    border-radius: 12px;
}

.pros { background: #dcfce7; border: 2px solid var(--secondary); }
.cons { background: #fee2e2; border: 2px solid #ef4444; }

.pros h4 { color: var(--secondary); margin-bottom: 15px; font-size: 20px; }
.cons h4 { color: #ef4444; margin-bottom: 15px; font-size: 20px; }

.pros ul, .cons ul { list-style: none; }
.pros li::before { content: '✓ '; color: var(--secondary); font-weight: 700; }
.cons li::before { content: '✗ '; color: #ef4444; font-weight: 700; }

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p { color: var(--gray); margin-top: 15px; line-height: 1.8; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { padding-left: 0; }
    .pros-cons { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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