/*
 Theme Name:   P.Color Modern
 Theme URI:    https://tarsashazaink.hu
 Description:  Modern P.Color Kft. arculat a Customify témára építve. Társasházkezelés, könyvelés, szoftverfejlesztés.
 Author:       P.Color Kft.
 Author URI:   https://tarsashazaink.hu
 Template:     customify
 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:  pcolor-modern
 Tags:         business, property-management, custom-colors, custom-logo, responsive-layout
*/

/* ==========================================================================
   P.COLOR DESIGN SYSTEM — CSS Variables
   ========================================================================== */

:root {
    /* Elsődleges színek */
    --pc-primary: #1a365d;
    --pc-primary-light: #2b6cb0;
    --pc-primary-dark: #0f2440;
    --pc-secondary: #2b6cb0;
    --pc-accent: #38a169;
    --pc-accent-light: #48bb78;
    
    /* Szöveg */
    --pc-text-dark: #1a202c;
    --pc-text-body: #2d3748;
    --pc-text-muted: #718096;
    --pc-text-light: #a0aec0;
    
    /* Háttér */
    --pc-bg-white: #ffffff;
    --pc-bg-light: #f7fafc;
    --pc-bg-gray: #edf2f7;
    --pc-bg-dark: #1a202c;
    
    /* Vonal / Keret */
    --pc-border: #e2e8f0;
    --pc-border-light: #edf2f7;
    
    /* Állapot */
    --pc-success: #38a169;
    --pc-warning: #d69e2e;
    --pc-error: #e53e3e;
    --pc-info: #3182ce;
    
    /* Gradient */
    --pc-gradient-hero: linear-gradient(135deg, #1a365d 0%, #2b6cb0 50%, #1a365d 100%);
    --pc-gradient-accent: linear-gradient(135deg, #2b6cb0 0%, #38a169 100%);
    --pc-gradient-dark: linear-gradient(180deg, #1a365d 0%, #0f2440 100%);
    
    /* Árnyék */
    --pc-shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
    --pc-shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --pc-shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    --pc-shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    
    /* Térköz */
    --pc-radius-sm: 6px;
    --pc-radius-md: 10px;
    --pc-radius-lg: 16px;
    --pc-radius-xl: 24px;
    
    /* Betű */
    --pc-font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --pc-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Szélesség */
    --pc-container: 1200px;
    --pc-container-wide: 1400px;
    --pc-container-narrow: 800px;
}

/* ==========================================================================
   GLOBAL RESETS & BASE
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--pc-font-main);
    color: var(--pc-text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

a {
    color: var(--pc-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pc-primary);
}

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

/* ==========================================================================
   CONTAINER / LAYOUT
   ========================================================================== */

.pc-container {
    max-width: var(--pc-container);
    margin: 0 auto;
    padding: 0 20px;
}

.pc-container-wide {
    max-width: var(--pc-container-wide);
    margin: 0 auto;
    padding: 0 20px;
}

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

.pc-section-sm {
    padding: 40px 0;
}

.pc-section-lg {
    padding: 120px 0;
}

/* ==========================================================================
   HEADER / NAVBAR — P.Color Redesign
   ========================================================================== */

/* --- Hide front page title ("Főoldal") --- */
body.home .page-header,
body.home .entry-title,
body.home #page-titlebar,
body.home .page-titlebar,
body.page-id-48597 .page-header,
body.page-id-48597 .entry-title,
body.page-id-48597 #page-titlebar,
.home .customify-page-header,
.home .entry-header,
.home .page-header--item {
    display: none !important;
}

/* --- Sticky Header Container --- */
.site-header,
#masthead {
    background: var(--pc-bg-white) !important;
    box-shadow: var(--pc-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--pc-shadow-md);
}

/* --- TOP BAR: Kontakt sáv --- */
.header--row.header-top {
    background: var(--pc-primary-dark) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header--row.header-top .header--row-inner {
    background: transparent !important;
    min-height: 36px !important;
}

.header--row.header-top .customify-container {
    max-width: 1400px;
}

/* Top bar HTML item (contact info) */
.header-top .builder-item--html,
.header-top .builder-header-html-item,
.header-top .item--html p,
.header-top .item--html span {
    color: #e2e8f0 !important;
    font-size: 13px !important;
    line-height: 36px;
}

/* Top bar social icons */
.header-top .header-social-icons a {
    color: #a0aec0 !important;
    font-size: 13px;
    transition: color 0.2s ease;
}

.header-top .header-social-icons a:hover {
    color: #ffffff !important;
}

.header-top .header-social-icons li {
    margin: 0 4px;
}

/* --- MAIN HEADER ROW --- */
.header--row.header-main {
    background: var(--pc-bg-white) !important;
}

.header--row.header-main .header--row-inner {
    min-height: 70px !important;
}

.header--row.header-main .customify-container {
    max-width: 1400px;
}

/* --- LOGO --- */
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-branding .site-img-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Hide site title & description from header - moved to hero */
.site-branding .site-name-desc,
.site-branding .site-title,
.site-branding .site-description {
    display: none !important;
}

/* Logo link */
.site-branding .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* --- HIDE GOMB BUTTON --- */
.builder-item--button,
.customify-builder-btn {
    display: none !important;
}

/* --- HIDE SEARCH ICON in header (optional) --- */
.header-main .builder-item--search {
    display: none !important;
}

/* --- PRIMARY MENU: Inline Desktop (VISIBLE) --- */
.header-main .builder-item--primary-menu {
    /* Visible on desktop for navigation */
}

.nav-menu-desktop .primary-menu-ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-desktop .primary-menu-ul > li > a {
    font-size: 0.9rem !important;
    font-weight: 500;
    color: var(--pc-text-dark) !important;
    padding: 10px 14px !important;
    border-radius: var(--pc-radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu-desktop .primary-menu-ul > li > a:hover {
    color: var(--pc-secondary) !important;
    background: var(--pc-bg-light) !important;
}

.nav-menu-desktop .primary-menu-ul > li.current-menu-item > a,
.nav-menu-desktop .primary-menu-ul > li.current-menu-ancestor > a {
    color: var(--pc-secondary) !important;
    font-weight: 600;
    background: rgba(43, 108, 176, 0.08) !important;
}

/* Sub-menu dropdown */
.nav-menu-desktop .sub-menu {
    background: var(--pc-bg-white);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-md);
    box-shadow: var(--pc-shadow-lg);
    padding: 8px 0;
    min-width: 220px;
}

.nav-menu-desktop .sub-menu li a {
    font-size: 0.85rem !important;
    color: var(--pc-text-body) !important;
    padding: 8px 20px !important;
    display: block;
}

.nav-menu-desktop .sub-menu li a:hover {
    background: var(--pc-bg-light) !important;
    color: var(--pc-secondary) !important;
}

/* --- HAMBURGER MENU ICON --- */
.builder-item--nav-icon .menu-mobile-toggle {
    background: var(--pc-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--pc-radius-sm) !important;
    padding: 8px 16px !important;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.builder-item--nav-icon .menu-mobile-toggle:hover {
    background: var(--pc-primary-light) !important;
}

.builder-item--nav-icon .nav-icon--label {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Hamburger icon bars */
.builder-item--nav-icon .hamburger-icon,
.builder-item--nav-icon .nav-icon-hamburger {
    color: white !important;
}

/* --- SLIDING SIDEBAR PANEL (Hamburger Menu) --- */
#header-menu-sidebar {
    background: var(--pc-primary-dark) !important;
    width: 320px !important;
    max-width: 85vw;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
}

#header-menu-sidebar-inner {
    padding: 20px !important;
}

/* Sidebar close button */
#header-menu-sidebar .close-panel,
#header-menu-sidebar .close-sidebar-panel {
    color: white !important;
    font-size: 24px;
}

/* Sidebar menu items */
#header-menu-sidebar .primary-menu-ul > li > a {
    color: #e2e8f0 !important;
    font-size: 1rem !important;
    padding: 12px 16px !important;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.2s ease;
}

#header-menu-sidebar .primary-menu-ul > li > a:hover {
    color: white !important;
    background: rgba(255,255,255,0.08) !important;
    padding-left: 24px !important;
}

#header-menu-sidebar .sub-menu li a {
    color: #a0aec0 !important;
    font-size: 0.9rem !important;
    padding: 8px 16px 8px 32px !important;
}

#header-menu-sidebar .sub-menu li a:hover {
    color: white !important;
}

/* Sidebar contact info */
#header-menu-sidebar .item--html {
    color: #a0aec0 !important;
    font-size: 0.85rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
}

/* Sidebar social icons */
#header-menu-sidebar .header-social-icons a {
    color: #a0aec0 !important;
}

#header-menu-sidebar .header-social-icons a:hover {
    color: white !important;
}

/* Sidebar background overlay */
#header-menu-sidebar-bg {
    background: var(--pc-primary-dark) !important;
}

/* --- FULL WIDTH OVERRIDES --- */
body.content-sidebar .site-content .content-area,
body.main-layout-content-sidebar .site-content .content-area,
body .site-content .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: 1 1 100% !important;
}

body .site-content .widget-area,
body.content-sidebar .site-content .widget-area,
body #secondary {
    display: none !important;
    width: 0 !important;
}

.site-content .content-inner {
    display: block !important;
    max-width: 100%;
}

/* --- Customify global button override (remove red) --- */
.customify-builder-btn,
body:not(.fl-builder-edit) .customify-builder-btn {
    display: none !important;
}

/* Override Customify button background-color */
.nav-menu-desktop.style-full-height .primary-menu-ul > li.current-menu-item > a,
.nav-menu-desktop.style-full-height .primary-menu-ul > li.current-menu-ancestor > a,
.nav-menu-desktop.style-full-height .primary-menu-ul > li > a:hover {
    background-color: rgba(43, 108, 176, 0.1) !important;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .header--row.header-top {
        display: none !important;
    }
    
    .header--row.header-main .header--row-inner {
        min-height: 60px !important;
    }
    
    .site-branding .site-img-logo {
        max-height: 40px;
    }
    
    .site-branding .site-title {
        font-size: 0.95rem !important;
    }
    
    #header-menu-sidebar {
        width: 280px !important;
    }
}

@media (max-width: 480px) {
    .site-branding .site-description {
        display: none;
    }
    
    .site-branding .site-title {
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.pc-hero {
    background: var(--pc-gradient-hero);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pc-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.pc-hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pc-hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    font-weight: 300;
}

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

.pc-hero .hero-stat {
    text-align: center;
}

.pc-hero .hero-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.pc-hero .hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.pc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--pc-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    line-height: 1.4;
}

.pc-btn-primary {
    background: var(--pc-secondary);
    color: white !important;
    border-color: var(--pc-secondary);
}

.pc-btn-primary:hover {
    background: var(--pc-primary);
    border-color: var(--pc-primary);
    transform: translateY(-2px);
    box-shadow: var(--pc-shadow-lg);
}

.pc-btn-outline {
    background: transparent;
    color: white !important;
    border-color: rgba(255,255,255,0.5);
}

.pc-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

.pc-btn-accent {
    background: var(--pc-accent);
    color: white !important;
    border-color: var(--pc-accent);
}

.pc-btn-accent:hover {
    background: var(--pc-accent-light);
    border-color: var(--pc-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--pc-shadow-lg);
}

.pc-btn-white {
    background: white;
    color: var(--pc-primary) !important;
    border-color: white;
}

.pc-btn-white:hover {
    background: var(--pc-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--pc-shadow-lg);
}

.pc-btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.pc-btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.pc-card {
    background: var(--pc-bg-white);
    border-radius: var(--pc-radius-lg);
    padding: 30px;
    box-shadow: var(--pc-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--pc-border-light);
}

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

.pc-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--pc-radius-md);
    background: var(--pc-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.pc-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pc-card p {
    color: var(--pc-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Cards Grid */
.pc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pc-cards-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ==========================================================================
   FEATURE / SERVICE SECTIONS
   ========================================================================== */

.pc-feature-section {
    padding: 80px 0;
}

.pc-feature-section:nth-child(even) {
    background: var(--pc-bg-light);
}

.pc-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.pc-section-header .badge {
    display: inline-block;
    background: var(--pc-bg-light);
    color: var(--pc-secondary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pc-section-header h2 {
    margin-bottom: 16px;
}

.pc-section-header p {
    color: var(--pc-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   STATS / COUNTER SECTION
   ========================================================================== */

.pc-stats {
    background: var(--pc-gradient-dark);
    color: white;
    padding: 60px 0;
}

.pc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.pc-stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #90cdf4, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-stat-item .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   BLOG / POST CARDS
   ========================================================================== */

.pc-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pc-post-card {
    background: var(--pc-bg-white);
    border-radius: var(--pc-radius-lg);
    overflow: hidden;
    box-shadow: var(--pc-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--pc-border-light);
}

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

.pc-post-card .post-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

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

.pc-post-card .post-content {
    padding: 24px;
}

.pc-post-card .post-meta {
    font-size: 0.8rem;
    color: var(--pc-text-muted);
    margin-bottom: 10px;
}

.pc-post-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.pc-post-card h3 a:hover {
    color: var(--pc-secondary);
}

.pc-post-card .excerpt {
    color: var(--pc-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Existing WP post list styling */
.entry-title a {
    color: var(--pc-text-dark);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--pc-secondary);
}

.entry-meta {
    color: var(--pc-text-muted);
    font-size: 0.85rem;
}

article.post,
article.page {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--pc-border-light);
}

/* ==========================================================================
   CONTACT / CTA SECTION
   ========================================================================== */

.pc-cta {
    background: var(--pc-gradient-hero);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.pc-cta h2 {
    color: white;
    margin-bottom: 16px;
}

.pc-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Contact Form 7 styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--pc-border);
    border-radius: var(--pc-radius-md);
    font-size: 0.95rem;
    font-family: var(--pc-font-main);
    transition: border-color 0.2s ease;
    background: var(--pc-bg-white);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: var(--pc-secondary);
    box-shadow: 0 0 0 3px rgba(43,108,176,0.1);
}

.wpcf7 input[type="submit"] {
    background: var(--pc-secondary);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: var(--pc-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--pc-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer,
#colophon {
    background: var(--pc-bg-dark) !important;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.site-footer h3,
.site-footer h4,
.site-footer .widget-title {
    color: white !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.site-footer a {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #90cdf4 !important;
}

.site-footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.widget {
    background: var(--pc-bg-white);
    border-radius: var(--pc-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--pc-shadow-sm);
    border: 1px solid var(--pc-border-light);
}

.widget-title {
    font-size: 1.1rem;
    color: var(--pc-text-dark);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--pc-secondary);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.nav-links a,
.nav-links span {
    padding: 10px 16px;
    border-radius: var(--pc-radius-sm);
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a {
    background: var(--pc-bg-light);
    color: var(--pc-text-body);
}

.nav-links a:hover {
    background: var(--pc-secondary);
    color: white;
}

.nav-links .current {
    background: var(--pc-secondary);
    color: white;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .pc-hero {
        padding: 60px 0 50px;
    }
    
    .pc-hero .hero-stats {
        gap: 20px;
    }
    
    .pc-hero .hero-stat .number {
        font-size: 1.8rem;
    }
    
    .pc-section {
        padding: 50px 0;
    }
    
    .pc-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pc-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .pc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pc-stat-item .number {
        font-size: 2rem;
    }
    
    .pc-btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Hamburger menü javítás */
    .main-navigation ul {
        background: var(--pc-bg-white);
        box-shadow: var(--pc-shadow-lg);
        border-radius: var(--pc-radius-lg);
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .pc-hero h1 {
        font-size: 1.8rem;
    }
    
    .pc-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pc-card {
        padding: 20px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--pc-text-muted); }
.text-primary { color: var(--pc-primary); }
.text-accent { color: var(--pc-accent); }
.text-white { color: white; }
.bg-light { background: var(--pc-bg-light); }
.bg-dark { background: var(--pc-bg-dark); color: white; }
.bg-gradient { background: var(--pc-gradient-hero); color: white; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.hidden { display: none; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* ==========================================================================
   BREAKDANCE COMPATIBILITY
   ========================================================================== */

/* Ha Breakdance kezeli az oldalt, ne felülírjuk */
.breakdance .site-header,
.breakdance #masthead {
    /* Breakdance saját headert használhat */
}

/* Breakdance button override */
.breakdance .btn,
.breakdance .bde-button {
    border-radius: var(--pc-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ==========================================================================
   CUSTOMIFY THEME OVERRIDES
   ========================================================================== */

/* Customify header override */
.customify-header {
    border-bottom: none !important;
}

/* Remove Customify default colors for header buttons */
.customify-builder-btn {
    display: none !important;
}

/* Content area - full width, no sidebar */
.site-content {
    padding-top: 0;
}

/* Remove sidebar borders */
.sidebar_vertical_border .content-area {
    border: none !important;
}

/* Full-width body overrides */
body.page .content-area,
body.home .content-area,
body.single .content-area {
    width: 100% !important;
    padding-right: 0 !important;
}

/* Customify container max-width */
.customify-container {
    max-width: 1400px;
}

/* Customify header row heights */
.header--row.header-top .customify-grid {
    min-height: 36px !important;
}

.header--row.header-main .customify-grid {
    min-height: 70px !important;
}

/* Override Customify inline styles for primary colors */
.header--row.header-main .header--row-inner {
    background: transparent !important;
}

/* Breadcrumbs */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--pc-text-muted);
}

.breadcrumb a {
    color: var(--pc-secondary);
}

/* Scroll-to-top button */
.pc-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--pc-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--pc-shadow-md);
    transition: all 0.3s ease;
    z-index: 999;
}

.pc-scroll-top:hover {
    background: var(--pc-primary);
    transform: translateY(-3px);
    box-shadow: var(--pc-shadow-lg);
}

.pc-scroll-top.visible {
    display: flex;
}

/* ==========================================================================
   FRONT-PAGE EXTRA STYLES
   ========================================================================== */

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Portal cards hover */
.pc-portal-card .pc-card:hover {
    border-color: var(--pc-secondary);
}

/* Software showcase cards */
.pc-software-showcase .pc-card {
    transition: all 0.3s ease;
}

.pc-software-showcase .pc-card:hover {
    transform: translateY(-3px) translateX(3px);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .pc-cta,
    .pc-scroll-top,
    .main-navigation {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
