/*
Theme Name: PlayFlame WordPress Theme
Description: Professional WordPress theme for PlayFlame blog with identical styling to playflame.com
Version: 1.0
Author: PlayFlame
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

/* Header Logo and Text Styling - Match playflame.com exactly */
.site-header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-section img {
    height: 45px;
    width: auto;
}

.logo-text h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo-text p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #666;
    margin: 2px 0 0 0;
    font-weight: 400;
}

/* Navigation styling */
.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Tagline section */
.tagline {
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    padding: 12px 0;
}

.tagline p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

/* Main Content Styles */
.main-content {
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-section .highlight {
    color: #fbbf24;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

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

.stat-item i {
    color: #fbbf24;
}

/* Blog Posts Section */
.blog-section {
    padding: 80px 0;
    background: #f9fafb;
}

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

/* Blog Post Cards */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

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

.blog-post-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.category-tag {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 500;
}

.blog-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.blog-post-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-post-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more-link {
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #5b21b6;
}

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 64px;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-text p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.7;
}

.read-more-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Comments Section */
.comments-area {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    color: white;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 8px;
}

.comment-meta {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.comment-reply-link:hover {
    color: #f59e0b;
}

/* Comment Form */
.comment-respond {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    align-self: flex-start;
}

.submit {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
.site-footer {
    background: #111826;
    color: white;
    padding: 64px 0 32px;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-info img {
    height: 32px;
    width: auto;
}

.footer-info p {
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 400px;
    line-height: 1.6;
}

.footer-stats {
    display: flex;
    gap: 16px;
}

.footer-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Team Section in Footer */
.footer-team {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 48px;
    margin-bottom: 48px;
}

.team-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

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

.team-member {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.team-member img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
}

.team-member h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-member p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer CTA */
.footer-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    text-align: center;
}

.footer-cta-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
}

.footer-cta h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-cta p {
    opacity: 0.9;
    margin-bottom: 16px;
}

.cta-button {
    background: #fbbf24;
    color: #1f2937;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f59e0b;
    color: #1f2937;
    text-decoration: none;
}

.footer-location {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-item i {
    color: #fbbf24;
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 0;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .logo-text h1 {
        font-size: 28px;
    }
    
    .tagline {
        padding: 15px 0;
    }
    
    .tagline p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-text {
        padding: 32px 24px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-location {
        flex-direction: column;
        gap: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .blog-section {
        padding: 60px 0;
    }
    
    .site-footer {
        padding: 48px 0 24px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .main-nav a {
        font-size: 14px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

/* WordPress Specific */
.wp-block-image {
    margin: 24px 0;
}

.wp-block-quote {
    border-left: 4px solid #667eea;
    padding-left: 16px;
    margin: 24px 0;
    font-style: italic;
}

.alignleft {
    float: left;
    margin-right: 16px;
    margin-bottom: 16px;
}

.alignright {
    float: right;
    margin-left: 16px;
    margin-bottom: 16px;
}

.aligncenter {
    display: block;
    margin: 0 auto 16px;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}
/* PlayFlame Logo Text Specific Styling */
.site-title-link {
    text-decoration: none !important;
    color: inherit;
}

.play-text {
    color: #1a1a1a !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700 !important;
}

.flame-text {
    color: #ff6b35 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700 !important;
}

/* Ensure no link styling overrides */
.logo-text h1 a:hover .play-text {
    color: #1a1a1a !important;
}

.logo-text h1 a:hover .flame-text {
    color: #ff6b35 !important;
}

/* Force the styling */
.logo-section .logo-text h1 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1 !important;
}