/*
Theme Name: Beyond Publisher
Theme URI: https://beyondpublisher.com
Author: Beyond Publisher Team
Author URI: https://beyondpublisher.com
Description: Custom WordPress theme for Beyond Publisher with full Elementor compatibility. Built to allow content teams to easily edit all page content using Elementor's visual builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beyondpublisher
Tags: elementor, custom-post-types, responsive, modern

This theme is designed to work seamlessly with Elementor Page Builder.
All pages use Elementor for content editing.
*/

/* ==========================================================================
   Base Styles - Preserving Original Design
   ========================================================================== */

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #4a90e2;
    --text-color: #333333;
    --bg-neutral: #f8f8f8;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

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

/* ==========================================================================
   Container & Layout
   ========================================================================== */

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

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

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

/* ==========================================================================
   Section Spacing
   ========================================================================== */

.section {
    padding: 80px 0;
}

.section.bg-neutral-100 {
    background-color: var(--bg-neutral);
}

/* ==========================================================================
   Buttons - Preserving Original Styles
   ========================================================================== */

.button-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: #F05E5F;
    color: #fff;
    border: 2px solid #F05E5F;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-primary:hover {
    background-color: transparent;
    color: #F05E5F;
}

.button-secondary {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center {
    text-align: center;
}

.subtitle {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 60px 0;
}

/* ==========================================================================
   WordPress Core Alignment Classes
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Elementor Compatibility
   ========================================================================== */

.elementor-section {
    position: relative;
}

.elementor-widget-wrap {
    display: flex;
    flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .section {
        padding: 40px 0;
    }

    .button-primary,
    .button-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .container-default,
    .container-medium,
    .container-small {
        padding: 0 15px;
    }
}
