/*
Theme Name: Qué Pasa Orlando
Theme URI: https://www.quepasoorlando.com
Author: Jonathan Alonso
Description: Tu guía de Orlando en español — Disney, Universal, restaurantes, eventos y más
Version: 1.0.0
Text Domain: quepasoorlando
*/

/* === CSS CUSTOM PROPERTIES === */
:root {
    --primary: #1a237e;        /* Deep indigo — fun but sophisticated */
    --primary-light: #3949ab;
    --accent-orange: #FF6D00;  /* Vibrant Orlando sunset orange */
    --accent-teal: #00BFA5;    /* Tropical teal */
    --accent-yellow: #FFD600;  /* Sunshine yellow */
    --surface: #FAFAFA;
    --text-dark: #212121;
    --text-muted: #757575;
}

/* === BODY === */
body {
    font-family: 'Nunito', 'DM Sans', system-ui, sans-serif;
    background: var(--surface);
    color: var(--text-dark);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero-section {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,35,126,0.97) 0%, rgba(26,35,126,0.85) 40%, rgba(26,35,126,0.6) 70%, rgba(26,35,126,0.45) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding-bottom: 2.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* === CATEGORY CHIPS === */
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.category-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.category-scroll-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* === POST CARDS === */
.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 16px 20px 20px; }
.post-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--primary);
}
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--accent-orange); }
.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === CATEGORY BADGE === */
.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === READING TIME === */
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* === BREADCRUMBS === */
.breadcrumbs {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--accent-orange); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; color: #ccc; }

/* === ARTICLE CONTENT === */
.article-content { font-size: 1.0625rem; line-height: 1.8; color: #333; }
.article-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 2rem 0 0.75rem; }
.article-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary-light); margin: 1.5rem 0 0.5rem; }
.article-content p { margin: 0 0 1.25rem; }
.article-content a { color: var(--accent-orange); }
.article-content blockquote {
    border-left: 4px solid var(--accent-orange);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #FFF3E0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}
.article-content img { border-radius: 12px; max-width: 100%; height: auto; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin: 1rem 0; }
.article-content li { margin-bottom: 0.5rem; }

/* === SHARE BUTTONS === */
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-btn-facebook { background: #1877F2; }
.share-btn-x { background: #000; }
.share-btn-whatsapp { background: #25D366; }

/* === AUTHOR BIO === */
.author-bio-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, #E8EAF6 0%, #FFF3E0 100%);
    border-radius: 16px;
    border-left: 4px solid var(--accent-orange);
}
.author-bio-avatar {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.author-bio-name { font-weight: 800; font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.author-bio-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* === TAG PILLS === */
.tag-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: #E8EAF6;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.tag-pill:hover { background: #C5CAE9; }

/* === RELATED POSTS === */
.related-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
}
.related-post-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    text-decoration: none;
    transition: transform 0.15s;
}
.related-post-card:hover { transform: translateY(-2px); }
.related-post-card img { width: 100%; height: 130px; object-fit: cover; }
.related-post-card-body { padding: 12px; }
.related-post-card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === FALLBACK CARD (no image) === */
.fallback-card {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
}

/* === FOOTER === */
#site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
}
#site-footer a { color: var(--accent-orange); text-decoration: none; }
#site-footer a:hover { color: var(--accent-yellow); }
