/* ThunderPlay World - Main Stylesheet */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-primary: #dc2626;
    --red-dark: #b91c1c;
    --red-deeper: #991b1b;
    --red-light: #fef2f2;
    --red-accent: #fca5a5;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius: 4px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--red-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: 80px 0;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--red-primary);
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    color: var(--red-accent);
    font-size: 0.85rem;
}

.top-bar-links a:hover {
    color: var(--white);
}

/* ===== MAIN NAV ===== */
.main-nav {
    background: var(--white);
    border-bottom: 2px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
}

.nav-logo span {
    color: var(--red-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--red-primary);
    border-bottom-color: var(--red-primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: transform 0.3s;
}

/* ===== HERO ===== */
.page-hero {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-hero h1 span {
    color: var(--red-primary);
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-btn {
    display: inline-block;
    background: var(--red-primary);
    color: var(--white);
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-md);
}

.hero-btn:hover {
    background: var(--red-dark);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

/* ===== INNER PAGE HEADER ===== */
.page-header {
    background: var(--red-light);
    border-bottom: 3px solid var(--red-primary);
    padding: 48px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--red-primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ===== FEATURES (NUMBERED LIST) ===== */
.features-section {
    background: var(--bg-light);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--red-primary);
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

.feature-content h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== STATS BAR ===== */
.stats-section {
    background: var(--red-primary);
    padding: 60px 0;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    text-align: center;
    color: var(--white);
    flex: 1;
    min-width: 160px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TESTIMONIAL ===== */
.testimonial-section {
    background: var(--white);
    text-align: center;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--red-primary);
    font-size: 1.1rem;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ===== BLOG CARDS ===== */
.blog-section {
    background: var(--bg-light);
}

.blog-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.post-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-bottom: 4px solid var(--red-primary);
    transition: box-shadow 0.2s, transform 0.2s;
}

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

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

.post-card-body {
    padding: 24px;
}

.post-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.post-card-body h3 {
    margin-bottom: 12px;
}

.post-card-body h3 a {
    color: var(--text-dark);
}

.post-card-body h3 a:hover {
    color: var(--red-primary);
}

.post-card-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.read-more {
    display: inline-block;
    color: var(--red-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
}

.read-more:hover {
    border-bottom-color: var(--red-primary);
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--white);
}

.faq-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-panel summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    transition: background 0.2s;
}

.faq-panel summary::-webkit-details-marker {
    display: none;
}

.faq-panel summary:hover {
    background: var(--red-light);
}

.faq-panel summary::before {
    content: '+';
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--red-primary);
    min-width: 24px;
    text-align: center;
}

.faq-panel[open] summary::before {
    content: '\2212';
}

.faq-panel[open] summary {
    border-bottom: 1px solid var(--border-color);
    background: var(--red-light);
}

.faq-answer {
    padding: 20px 24px 20px 64px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== CONTACT SPLIT ===== */
.contact-split {
    display: flex;
    min-height: 600px;
}

.contact-info-side {
    flex: 1;
    background: var(--red-primary);
    color: var(--white);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-side h2 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 2rem;
}

.contact-info-side p {
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    font-size: 1.4rem;
    min-width: 28px;
    text-align: center;
}

.contact-detail-text strong {
    display: block;
    margin-bottom: 4px;
}

.contact-detail-text span {
    opacity: 0.85;
    font-size: 0.95rem;
}

.contact-form-side {
    flex: 1;
    background: var(--white);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side h2 {
    margin-bottom: 8px;
}

.contact-form-side p {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red-primary);
    background: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--red-primary);
    color: var(--white);
    border: none;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    background: var(--red-dark);
}

/* ===== MAIN CONTENT (blog posts, privacy) ===== */
.main-content {
    padding: 60px 0;
}

.main-content .container {
    max-width: 820px;
}

.main-content h2 {
    margin: 40px 0 16px;
    font-size: 1.75rem;
}

.main-content h3 {
    margin: 32px 0 12px;
    font-size: 1.3rem;
}

.main-content p {
    margin-bottom: 16px;
    color: var(--text-gray);
}

.main-content ul,
.main-content ol {
    margin: 0 0 20px 24px;
    color: var(--text-gray);
}

.main-content li {
    margin-bottom: 8px;
}

.main-content blockquote {
    border-left: 4px solid var(--red-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--red-light);
    border-radius: var(--radius);
    font-style: italic;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    gap: 24px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.post-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.post-tag {
    background: var(--red-light);
    color: var(--red-dark);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BLOG LIST (full blog page) ===== */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-list-item {
    display: flex;
    gap: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-left: 4px solid var(--red-primary);
    transition: box-shadow 0.2s;
}

.blog-list-item:hover {
    box-shadow: var(--shadow-lg);
}

.blog-list-img {
    width: 280px;
    min-height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-list-body {
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-list-body h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.blog-list-body h2 a {
    color: var(--text-dark);
}

.blog-list-body h2 a:hover {
    color: var(--red-primary);
}

.blog-list-body p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.blog-list-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--red-primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-cols {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 12px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--red-accent);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== COOKIE BANNER (TOP) ===== */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 14px 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.3s;
}

.cookie-banner.hidden {
    transform: translateY(-100%);
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-banner p a {
    color: var(--red-accent);
    text-decoration: underline;
}

.cookie-accept-btn {
    background: var(--red-primary);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.cookie-accept-btn:hover {
    background: var(--red-dark);
}

/* push page content down when cookie banner is visible */
body.cookie-visible {
    padding-top: 56px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--white);
}

.about-row {
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.about-img {
    flex: 1;
}

.about-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--red-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.cta-section p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.15rem;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--red-primary);
    padding: 14px 40px;
    font-weight: 700;
    border-radius: var(--radius);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
    background: var(--red-light);
    color: var(--red-dark);
}

/* ===== PRIVACY POLICY ===== */
.privacy-content h2 {
    border-bottom: 2px solid var(--red-primary);
    padding-bottom: 8px;
}

.privacy-content strong {
    color: var(--text-dark);
}

.last-updated {
    background: var(--red-light);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-row {
        flex-direction: column;
    }

    .blog-list-item {
        flex-direction: column;
    }

    .blog-list-img {
        width: 100%;
        height: 200px;
    }

    .blog-list-body {
        padding: 24px;
    }

    .contact-split {
        flex-direction: column;
    }

    .contact-info-side,
    .contact-form-side {
        padding: 40px 24px;
    }

    .footer-cols {
        flex-direction: column;
        gap: 32px;
    }

    h1 { font-size: 2.25rem; }
    .page-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav .container {
        position: relative;
    }

    .top-bar-links {
        display: none;
    }

    .page-hero {
        padding: 80px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .stats-row {
        flex-direction: column;
        gap: 32px;
    }

    .post-card {
        min-width: 100%;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}
