/*
Theme Name: AsiaCenter Nyomda
Theme URI: https://asiacenternyomda.hu/
Author: AsiaCenter Nyomda
Description: Egyedi, reszponziv nyomdai weboldal az AsiaCenter Nyomda reszere.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: asiacenternyomda
*/

:root {
            --primary: #4f46e5;
            --primary-hover: #4338ca;
            --primary-light: #e0e7ff;
            --dark: #0f172a;
            --dark-card: #1e293b;
            --text-main: #334155;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --border: #e2e8f0;
            --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01);
            --shadow-lg: 0 20px 30px -10px rgba(79, 70, 229, 0.15);
            --radius: 16px;
        }

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

        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-main);
            line-height: 1.6;
        }

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

        .gradient-text {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Top Bar */
        .top-bar {
            background-color: var(--dark);
            color: #94a3b8;
            font-size: 0.85rem;
            padding: 0.5rem 0;
        }

        .top-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .top-bar a {
            color: #cbd5e1;
            text-decoration: none;
        }

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

        .top-info {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        /* Navbar */
        .navbar {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
        }

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

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--dark);
            text-decoration: none;
        }

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

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s;
            cursor: pointer;
        }

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

        .nav-cta {
            background-color: var(--primary);
            color: var(--white) !important;
            padding: 0.6rem 1.2rem;
            border-radius: 50px;
            transition: all 0.2s ease !important;
        }

        .nav-cta:hover {
            background-color: var(--primary-hover);
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }

        /* Sections (Tab panels) */
        .section-page {
            display: none;
            animation: fadeIn 0.4s ease-in-out;
            padding-bottom: 4rem;
        }

        .section-page.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Hero Section */
        .hero {
            padding: 5rem 0;
            background: radial-gradient(circle at top right, #eef2ff 0%, #f8fafc 50%);
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 3rem;
            align-items: center;
        }

        .badge {
            display: inline-block;
            background-color: var(--primary-light);
            color: var(--primary);
            font-weight: 700;
            font-size: 0.85rem;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            margin-bottom: 1.5rem;
        }

        .hero-text h1 {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1.15;
            color: var(--dark);
            margin-bottom: 1.2rem;
        }

        .hero-text p {
            font-size: 1.15rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            margin-bottom: 2.5rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.85rem 1.8rem;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
            display: inline-block;
            text-align: center;
        }

        .btn-primary {
            background: var(--gradient);
            color: var(--white);
            box-shadow: var(--shadow-lg);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            opacity: 0.95;
        }

        .btn-secondary {
            background-color: var(--white);
            color: var(--dark);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background-color: #f1f5f9;
        }

        .trust-badges {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            flex-wrap: wrap;
        }

        /* Glass Card Preview */
        .glass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow-md);
        }

        .glass-header {
            display: flex;
            gap: 6px;
            margin-bottom: 1rem;
        }

        .dot { width: 10px; height: 10px; border-radius: 50%; }
        .red { background: #ff5f56; }
        .yellow { background: #ffbd2e; }
        .green { background: #27c93f; }

        .glass-body h3 { font-size: 1.4rem; color: var(--dark); }
        .glass-body .subtitle { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
        .glass-body hr { border: none; height: 1px; background: var(--border); margin: 1rem 0; }

        .mini-info p { font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--text-main); }

        .mini-btn {
            display: block;
            text-align: center;
            background: var(--dark);
            color: var(--white);
            text-decoration: none;
            padding: 0.6rem;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 1rem;
            cursor: pointer;
        }

        /* Section Common */
        .section { padding: 4rem 0; }

        .section-header {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 3rem auto;
        }

        .section-header h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--dark);
        }

        .section-header p { color: var(--text-muted); }

        /* Grid Layouts */
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
        .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }

        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }

        .icon-box {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .feature-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.5rem; }
        .feature-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }

        .link-btn {
            color: var(--primary);
            font-weight: 700;
            text-decoration: none;
            font-size: 0.9rem;
            cursor: pointer;
        }

        /* Page Header */
        .page-header {
            background: var(--dark);
            color: var(--white);
            padding: 3rem 0;
            text-align: center;
            margin-bottom: 3rem;
        }

        .page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
        .page-header p { color: #94a3b8; }

        /* Service Blocks */
        .service-block { margin-bottom: 3.5rem; }
        .service-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
        .service-badge { background: var(--primary); color: white; padding: 0.3rem 0.8rem; border-radius: 8px; font-weight: 800; }
        .service-header h2 { font-size: 1.8rem; color: var(--dark); }

        .service-card {
            background: var(--white);
            padding: 1.5rem;
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }

        .service-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.5rem; }
        .service-card p { font-size: 0.9rem; color: var(--text-muted); }

        /* Price Tables */
        .price-cards-wrapper { display: flex; flex-direction: column; gap: 2rem; }
        .price-card { background: var(--white); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); }
        .price-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--dark); }

        .modern-table { width: 100%; border-collapse: collapse; }
        .modern-table th { text-align: left; padding: 0.8rem; background: var(--bg-light); color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
        .modern-table td { padding: 1rem 0.8rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }

        .price-tag { background: var(--primary-light); color: var(--primary); font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 6px; }
        .price-info-box { background: var(--bg-light); padding: 1.5rem; border-radius: 12px; }

        /* Contact Page */
        .contact-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border); }
        .contact-detail-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
        .detail-icon { font-size: 1.5rem; }

        .divider { border: none; height: 1px; background: var(--border); margin: 1.5rem 0; }

        .hours-list { list-style: none; margin-top: 1rem; }
        .hours-list li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); }
        .closed { color: #ef4444; }

        /* Modern Form */
        .modern-form { display: flex; flex-direction: column; gap: 1.2rem; }
        .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
        .form-group label { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
        .form-group input, .form-group select, .form-group textarea {
            padding: 0.8rem 1rem;
            border: 1px solid var(--border);
            border-radius: 10px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: all 0.2s;
        }

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-light);
        }

        .btn-full { width: 100%; }

        .email-notice {
            background-color: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #166534;
            padding: 0.8rem;
            border-radius: 8px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        /* Footer */
        footer { background: var(--dark); color: #94a3b8; padding-top: 4rem; margin-top: auto; }
        .footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
        .footer-brand h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.8rem; }
        .footer-brand span { color: var(--primary); }
        .footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 1rem; }
        .footer-links ul { list-style: none; }
        .footer-links li { margin-bottom: 0.5rem; }
        .footer-links a { color: #94a3b8; text-decoration: none; cursor: pointer; }
        .footer-links a:hover { color: var(--white); }

        .footer-bottom { border-top: 1px solid var(--dark-card); text-align: center; padding: 1.5rem 0; font-size: 0.85rem; }

        @media (max-width: 768px) {
            .hero-grid { grid-template-columns: 1fr; }
            .hero-text h1 { font-size: 2.2rem; }
            .nav-links { display: flex; gap: 0.8rem; font-size: 0.85rem; }
            .footer-content { grid-template-columns: 1fr; }
        }


/* --- Reszponzív megjelenés: telefon, tablet és számítógép --- */
html { scroll-behavior: smooth; }
body { min-width: 320px; overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; height: auto; }
button, input, select, textarea { max-width: 100%; }
.container { width: 100%; }
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--dark);
    padding: .65rem .85rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.nav-links a { cursor: pointer; }
.modern-table { min-width: 560px; }
.price-card { min-width: 0; overflow-x: auto; }
.price-cards-wrapper, .service-block, .contact-card, .service-card { min-width: 0; }
.grid-2, .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hero-text h1 { line-height: 1.15; }
.top-info, .top-phone { min-width: 0; }
.top-bar a, .footer-contact p, .contact-detail-item p { overflow-wrap: anywhere; }

@media (max-width: 1024px) {
    .container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .nav-container { gap: 1rem; }
    .logo { font-size: 1.3rem; }
    .nav-links { gap: .6rem; }
    .nav-links a { font-size: .9rem; }
    .hero-grid { gap: 1.75rem; }
    .hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); }
    .contact-card, .price-card { padding: 1.5rem; }
}

@media (max-width: 768px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .top-bar-content { align-items: flex-start; }
    .top-info { flex-direction: column; gap: .25rem; }
    .nav-container { min-height: 70px; height: auto; flex-wrap: wrap; padding-top: .8rem; padding-bottom: .8rem; }
    .menu-toggle { display: inline-flex; margin-left: auto; }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        width: 100%;
        padding: .5rem 0 .25rem;
        margin: 0;
    }
    .nav-links.is-open { display: flex; }
    .nav-links li { width: 100%; list-style: none; }
    .nav-links a { display: block; width: 100%; padding: .75rem .8rem; border-radius: 8px; }
    .nav-links .nav-cta { text-align: center; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-text h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-text p { font-size: 1rem; }
    .hero-actions { flex-wrap: wrap; }
    .trust-badges { flex-wrap: wrap; gap: .75rem; }
    .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .footer-content { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .page-header { padding: 2rem 0; margin-bottom: 2rem; }
    .page-header h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .service-header { align-items: flex-start; flex-wrap: wrap; }
    .service-header h2 { font-size: 1.4rem; }
    .contact-card, .price-card, .service-card { padding: 1.1rem; border-radius: 12px; }
    .modern-table { min-width: 520px; }
    .hours-list li { gap: .8rem; align-items: flex-start; }
    .hours-list li strong { text-align: right; }
    .contact-detail-item { align-items: flex-start; }
    footer { padding-top: 2.5rem; }
    .footer-bottom { padding: 1rem; }
}

@media (max-width: 420px) {
    .container { padding-left: .8rem; padding-right: .8rem; }
    .logo { font-size: 1.15rem; }
    .menu-toggle { padding: .55rem .65rem; }
    .menu-toggle span { display: none; }
    .hero-text h1 { font-size: 1.9rem; }
    .badge { max-width: 100%; font-size: .78rem; }
    .btn { max-width: 100%; }
    .modern-table { min-width: 480px; }
    .hours-list li { font-size: .88rem; }
}


/* Reszponziv arlistak: telefonon es tableten vizszintesen gorgethetok */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}
.table-scroll .modern-table {
    width: 100%;
    min-width: 680px;
}
.flyer-table th,
.flyer-table td {
    text-align: center;
    white-space: nowrap;
}
.flyer-table th:first-child,
.flyer-table td:first-child {
    text-align: left;
}
.flyer-table .price-gap td {
    height: 16px;
    padding: 0;
    border-bottom: 1px solid var(--border);
}
.price-note {
    margin-top: 1rem;
    color: var(--text-muted);
}
.price-card {
    min-width: 0;
}
.price-card h3 {
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .price-card { padding: 1rem; }
    .price-card h3 { font-size: 1.1rem; line-height: 1.4; }
    .modern-table th, .modern-table td {
        padding: .7rem .65rem;
        font-size: .88rem;
    }
    .table-scroll .modern-table { min-width: 640px; }
}
@media (max-width: 480px) {
    .price-card { padding: .8rem; }
    .table-scroll .modern-table { min-width: 620px; }
}
