/*
Theme Name: VisitMeet Blog Theme
Theme URI: https://blog.visitmeet.com
Description: Custom child theme for VisitMeet blog with featured post and 3-column layout
Author: VisitMeet Team
Author URI: https://visitmeet.com
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visitmeet-blog
*/

/* Import parent theme styles */
@import url('../twentytwentyfive/style.css');

/* Custom Variables */
:root {
    --visitmeet-primary: #5BBFCC;
    --visitmeet-primary-dark: #4A9FA9;
    --visitmeet-accent: #FF6B6B;
    --visitmeet-dark: #2C3E50;
    --visitmeet-light-bg: #F8FBFC;
}

/* Featured Post Section */
.featured-post {
    background: linear-gradient(135deg, rgba(91, 191, 204, 0.1), rgba(91, 191, 204, 0.05));
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.featured-post .post-thumbnail {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.featured-post .post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.featured-post .post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--visitmeet-dark);
    line-height: 1.2;
}

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

.featured-post .post-title a:hover {
    color: var(--visitmeet-primary);
}

.featured-post .post-excerpt {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.featured-post .post-meta {
    display: flex;
    gap: 1.5rem;
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.featured-post .read-more {
    display: inline-block;
    background: var(--visitmeet-primary);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 191, 204, 0.3);
}

.featured-post .read-more:hover {
    background: var(--visitmeet-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 191, 204, 0.4);
}

/* Posts Grid - 3 Columns */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Post Cards */
.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-card .post-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.post-card .post-category {
    background: var(--visitmeet-light-bg);
    color: var(--visitmeet-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-card .post-category:hover {
    background: var(--visitmeet-primary);
    color: white;
}

.post-card .post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.post-card .post-title a {
    color: var(--visitmeet-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card .post-title a:hover {
    color: var(--visitmeet-primary);
}

.post-card .post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.25rem;
    flex: 1;
}

.post-card .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.post-card .read-more {
    color: var(--visitmeet-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.post-card .read-more:hover {
    gap: 0.75rem;
}

.post-card .read-more::after {
    content: '→';
    font-size: 1.2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--visitmeet-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* VisitMeet CTA Banner */
.visitmeet-cta {
    background: linear-gradient(135deg, var(--visitmeet-primary), var(--visitmeet-primary-dark));
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(91, 191, 204, 0.3);
}

.visitmeet-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.visitmeet-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.visitmeet-cta .cta-button {
    display: inline-block;
    background: white;
    color: var(--visitmeet-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.visitmeet-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-post {
        padding: 2rem;
    }

    .featured-post .post-title {
        font-size: 2rem;
    }

    .featured-post .post-excerpt {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Container */
.site-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
