/*
Theme Name: Total Aggression Pro Wrestling
Theme URI: https://totalaggressionpro.com
Description: Custom theme for Total Aggression Pro Wrestling - A clean, modern theme for a Florida-based professional wrestling promotion
Version: 1.0.0
Author: TAP Development Team
Author URI: https://totalaggressionpro.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tap-theme
Tags: wrestling, events, custom

This theme was built for Total Aggression Pro Wrestling.
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f2e3;
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.site-main {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    padding: 10px;
}

.main-navigation a:hover {
    color: #e63946;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section (Home Page)
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
}

.hero-date {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e63946;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #e63946;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #e63946;
}

.btn:hover {
    background: #555;
    border-color: #555;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #e63946;
    border-color: #e63946;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
}

.page-header .post-meta {
    margin-top: 15px;
    color: #999;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.intro-section {
    background: #f4f2e3;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e63946;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.intro-logo {
    text-align: center;
}

.intro-logo img {
    max-width: 300px;
    margin: 0 auto;
}

/* ==========================================================================
   Events Section
   ========================================================================== */

.events-section {
    background: #f4f2e3;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #e63946;
    margin: 20px auto 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: #f4f2e3;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-details {
    padding: 25px;
}

.event-date {
    color: #e63946;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.event-location {
    color: #666;
    margin-bottom: 15px;
}

.event-card .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Wrestlers Section
   ========================================================================== */

.wrestlers-section {
    background: #1a1a1a;
    color: #fff;
}

.wrestlers-section .section-title {
    color: #fff;
}

.wrestlers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.wrestler-card {
    text-align: center;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.wrestler-card:hover {
    transform: scale(1.05);
}

.wrestler-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 4px solid #e63946;
    pointer-events: none;
}

.wrestler-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #e63946;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links a {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e63946;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #e63946;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
}

/* ==========================================================================
   Blog & Post Styles
   ========================================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.post-card {
    background: #f4f2e3;
    border-radius: 10px;
    overflow: hidden;
}

.post-thumbnail {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.single-post {
    /* Container handles width constraint */
}

.single-post .post-featured-image {
    margin-bottom: 40px;
}

.single-post .post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-header {
    margin-bottom: 40px;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

.post-body h2,
.post-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.post-body p {
    margin-bottom: 20px;
}

.post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.post-share {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.post-share h3 {
    margin-bottom: 20px;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    min-width: 200px;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: block;
    padding: 15px;
    background: #f4f2e3;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.post-navigation a:hover {
    background: #e9ecef;
}

.post-navigation .nav-subtitle {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
    padding: 120px 20px 60px;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

/* ==========================================================================
   Terms & Conditions
   ========================================================================== */

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #e63946;
}

.legal-page p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.legal-page ul {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.legal-page li {
    margin-bottom: 10px;
    color: #555;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #f4f2e3;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background: #e63946;
    color: #fff;
}

.pagination .page-numbers.current {
    background: #e63946;
    color: #fff;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-weight: 600;
}

.posts-pagination {
    margin-top: 50px;
}

.posts-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.posts-pagination a,
.posts-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #f4f2e3;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.posts-pagination a:hover {
    background: #e63946;
    color: #fff;
}

.posts-pagination .current {
    background: #e63946;
    color: #fff;
}

/* ==========================================================================
   Social Share Buttons
   ========================================================================== */

.social-share {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background: #e63946;
    transform: translateY(-3px);
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.comments-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 25px;
    background: #f4f2e3;
    border-radius: 10px;
}

.comment-author {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.comment-metadata {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: #e63946;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: #c8102e;
}

.comment-respond {
    margin-top: 50px;
    padding: 40px;
    background: #f4f2e3;
    border-radius: 10px;
}

.comment-reply-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
}

.comment-form {
    margin-top: 30px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #e63946;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background: #e63946;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #c8102e;
    transform: translateY(-2px);
}

.form-submit {
    margin-top: 25px;
}

.comment-notes {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.required {
    color: #e63946;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e63946;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #ccc;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #e63946;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-logo {
        order: -1;
    }

    .single-event .event-content > div {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-sidebar {
        order: -1;
    }

    .event-sidebar > div {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #333;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-section > .container > div > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .site-header {
        padding: 15px 0;
    }

    .site-logo img {
        height: 40px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .btn,
    .social-share,
    .comment-reply-link {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }

    img {
        max-width: 100% !important;
    }
}
