@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --primary-color: #36adcf; /* Apple-féle sötétszürke */
    --secondary-color: #007bff; /* ÚJ: Élénk, Apple-féle kék */
    --background-color: #F5F7FA;
    --text-color: #333;
    --card-bg: #FFFFFF;
    --border-radius: 12px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
        overflow-x: hidden; 
}

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

/* --- Navigáció (Véglegesen Javítva) --- */
.navbar {
    background-color: var(--card-bg);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
        padding: 0 20px; /* EZT A SORT ADJA HOZZÁ: 20px térköz a jobb és bal szélen */
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    margin-right: 2rem; /* Távolság a logó és az első menüpont között */
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1; /* A menü kitölti a maradék helyet */
}

/* Az utolsó elemet (gombot) a jobb szélre tolja */
.nav-menu > *:last-child {
    margin-left: auto;
}

/* Általános menüpontok stílusa */
.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 0.75rem; /* Távolság a menüpontok között */
    font-weight: 600;
    white-space: nowrap;
    padding: 0.6rem 1rem; /* Egységes gomb méret */
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

/* Menüpont hover állapota (a nem-gomb linkekre) */
.nav-menu a:not(.btn):hover {
    background-color: #f0f5fa;
    color: var(--secondary-color);
}

/* A kiemelt GOMBOK stílusa (Belépés/Kijelentkezés) */
.nav-menu a.btn, .nav-dropdown-toggle {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.nav-menu a.btn:hover, .nav-dropdown-toggle:hover {
    background-color: var(--secondary-color);
    color: white !important;
}
.form-container {
    max-width: 450px;
    margin: 4rem auto;
    padding: 2.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

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

.btn-form {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.form-text {
    text-align: center;
    margin-top: 1.5rem;
}

.form-text a {
    color: var(--secondary-color); /* FRISSÍTVE KÉKRE */
    text-decoration: none;
    font-weight: 600;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-align: center;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    background-color: var(--card-bg);
    border-top: 1px solid #e0e0e0;
}

/* Hero Szekció */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)), url('/img/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -2px;
    animation: fadeInDown 1s ease-out;
    color: #fff;
    text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem;
    animation: fadeInDown 1s ease-out 0.3s;
    animation-fill-mode: both;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color); /* FRISSÍTVE KÉKRE */
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3); /* Az új színhez igazított árnyék */
}

.hero-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.feature-section {
    padding: 6rem 0;
}

.feature-section.text-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-heading {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

.section-subheading {
    font-size: 1.2rem;
    color: #555;
    margin-top: 1.5rem;
}

.feature-section.dark-bg {
    background-color: #000;
    color: #fff;
}

.dark-bg .section-heading,
.dark-bg .feature-title {
    color: #fff;
}

.dark-bg .section-subheading,
.dark-bg .feature-description {
    color: #c0c0c0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-grid.reversed .feature-text {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.feature-grid.reversed .feature-image-container {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.feature-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.feature-description {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    max-width: 450px;
}

.feature-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color); /* FRISSÍTVE KÉKRE */
    text-decoration: none;
}

.feature-image-container {
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MÓDOSÍTOTT .fade-in SZABÁLY */
.fade-in {
    opacity: 0; /* Alapból láthatatlan */
    will-change: opacity, transform; /* Ez a tipp a böngészőnek továbbra is hasznos */
}
/* MÓDOSÍTOTT .fade-in.visible SZABÁLY */
.fade-in.visible {
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 768px) {
    .feature-grid, .feature-grid.reversed {
        grid-template-columns: 1fr;
    }
    .feature-grid.reversed .feature-text,
    .feature-grid.reversed .feature-image-container {
        grid-column: 1 / 2;
    }
    .feature-text {
        text-align: center;
    }
    .feature-description {
        margin: 1.5rem auto 0 auto;
    }
}

/* === CHAT RENDSZER STÍLUSOK === */

.conversation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.conversation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid var(--secondary-color); /* FRISSÍTVE KÉKRE */
}

.conversation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.conv-details {
    display: flex;
    flex-direction: column;
}

.conv-user {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.conv-subject {
    font-weight: 600;
    margin: 0.2rem 0;
}

.conv-last-message {
    color: #666;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}

.conv-date {
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
}

.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 70vh;
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-bubble {
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    max-width: 70%;
    line-height: 1.5;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.message-bubble .message-sender {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.message-bubble .message-time {
    font-size: 0.75rem;
    color: #777;
    text-align: right;
    margin-top: 0.3rem;
}

.message-bubble.sent {
    background-color: var(--secondary-color); /* FRISSÍTVE KÉKRE */
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}
.message-bubble.sent .message-sender {
    color: #f0f0f0;
}
.message-bubble.sent .message-time {
    color: #e0e0e0;
}

.message-bubble.received {
    background-color: #E9EBF0;
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-form {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
}

.message-form textarea {
    flex-grow: 1;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    resize: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-right: 1rem;
    height: 50px;
}

.message-form button {
    white-space: nowrap;
}

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

.deleted-message {
    font-style: italic;
    color: #888;
}
.message-bubble.sent .deleted-message {
    color: #e0e0e0;
}

.delete-message-btn {
    position: absolute;
    top: 2px;
    right: 8px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.message-bubble:hover .delete-message-btn {
    opacity: 1;
}

/* === FELHASZNÁLÓKEZELÉS STÍLUSOK === */

.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.user-table th, .user-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.user-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: var(--primary-color);
}
.user-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}


.btn-small {
    padding: 5px 10px;
    font-size: 14px;
    margin-right: 5px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    background-color: var(--secondary-color); /* FRISSÍTVE KÉKRE */
    color: white;
}

.btn-danger {
    background-color: #dc3545;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: var(--border-radius);
    position: relative;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
}


.price-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.price-content {
    flex: 1 1 300px;
}

.price-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-content p {
    color: #555;
    margin-bottom: 0.5rem;
}

.price-content small {
    color: #777;
    font-style: italic;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color); /* FRISSÍTVE KÉKRE */
    margin-left: 2rem;
    white-space: nowrap;
}

/* --- JAVÍTOTT KÁRTYA ELRENDEZÉS (FLEXBOX) --- */
.pricelist-container {
    display: flex;
    flex-wrap: wrap; /* Engedi a kártyáknak, hogy több sorba törjenek */
    justify-content: center; /* Vízszintesen középre igazítja a kártyákat */
    gap: 1.5rem;
}


/* === FŐOLDALI WEBKÉSZÍTÉS CTA SZEKCIÓ === */

.cta-box {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cta-text p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem;
}


/* === RÓLUNK, KAPCSOLAT, ADATVÉDELEM OLDAL STÍLUSOK === */

.about-container, .contact-grid, .legal-text {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 300px;
    max-width: 350px;
}
.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.about-text {
    flex: 2 1 400px;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-form-container h3, .contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-container {
    margin-top: 4rem;
}

.map-container h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-container iframe {
    border-radius: var(--border-radius);
}

.legal-text h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}
.legal-text ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex; /* Flexbox elrendezés aktiválása */
    justify-content: center; /* Vízszintesen középre igazítja a linkeket */
    gap: 2rem; /* 2rem távolságot tesz minden link közé */
    flex-wrap: wrap; /* Mobilon szépen több sorba töri, ha kell */
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease; /* Finomabb színváltás */
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* === ALOLDALI HERO SZEKCIÓ === */

.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    background-size: cover;
    background-position: center center;
}


/* === "GÉPEL..." VISSZAJELZŐ STÍLUSA === */

.typing-indicator {
    height: 20px;
    padding: 0 1.5rem;
    font-style: italic;
    color: #888;
    transition: all 0.3s ease;
}

/* === ÚJ HERO GOMBOK === */

.hero-buttons-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari támogatás */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 1rem;
    color: #e0e0e0;
}

/* === ÚJ ELEMEK STÍLUSAI === */

/* Felújított PC oldal specifikáció lista */
.spec-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    text-align: left;
}

.spec-list li {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

/* Árlista CTA szekció gombjai */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn.secondary {
    background: var(--card-bg);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cta-buttons .btn.secondary:hover {
    background: var(--accent-color);
    color: var(--card-bg);
}

/* === FELÚJÍTOTT PC OLDAL KÉPES KÁRTYÁI === */

.refurb-image {
    width: 100%;
    height: 200px; /* Fix magasság a képeknek */
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.refurb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* A kép szépen kitölti a helyét vágás nélkül */
}

/* Árlista CTA szekció gombjai */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn.secondary {
    background: var(--card-bg);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cta-buttons .btn.secondary:hover {
    background: var(--accent-color);
    color: var(--card-bg);
}

/* Apró igazítás a price-card elemeken, hogy a kép és a szöveg jobban működjön együtt */
.price-card {
    flex-direction: column;
    align-items: stretch; /* A belső elemek nyúljanak szét */
}

.price-card .price-content {
    flex-grow: 1; /* A tartalom foglalja el a maradék helyet */
    display: flex;
    flex-direction: column;
}

.price-card .spec-list {
    flex-grow: 1; /* A lista kitölti a rendelkezésre álló teret */
}

.price-card .price-tag {
    margin-top: 1rem;
    margin-left: 0;
    text-align: right;
}

/* === ÚJ ADMIN FELÜLET STÍLUSAI === */

.admin-body {
    background-color: #f8fafc; /* Világosabb háttér az admin felületen */
}

.admin-wrapper {
    display: flex;
}

.admin-content {
    flex-grow: 1;
    padding: 2rem;
    width: calc(100% - 300px); /* Tartalom szélessége a menü mellett */
}

.admin-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #ffffff;
    border-left: 1px solid var(--light-border);
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid var(--light-border);
}

.sidebar-header h2 {
    color: var(--primary-color);
}
.sidebar-header p {
    color: #555;
    font-size: 0.9rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav a:hover {
    background-color: #f0faff;
    color: var(--accent-color);
}

.sidebar-nav a.active {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 103, 246, 0.2);
}

.sidebar-nav hr {
    border: none;
    border-top: 1px solid var(--light-border);
    margin: 1rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-border);
}

/* === KIEGÉSZÍTÉS: ADMIN TÁBLÁZATOK RESZPONZIVITÁSA === */

@media (max-width: 768px) {
    .user-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* --- ÚJ, JAVÍTOTT BEÚSZÓ ANIMÁCIÓ --- */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Kisebb elmozdulás a finomabb hatásért */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* === KIEGÉSZÍTÉS: JELSZÓ MEGJELENÍTÉSE IKON === */

/* Egy konténer, ami relatív pozíciót ad a beviteli mezőnek */
.password-wrapper {
    position: relative;
}

/* Az ikon gombjának stílusa */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.toggle-password:hover {
    opacity: 1;
}

/* Az ikon mérete és színe */
.toggle-password svg {
    width: 20px;
    height: 20px;
    stroke: #555; /* Ikon színe */
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Extra jobboldali padding a jelszó mezőn, hogy a szöveg ne csússzon az ikon alá */
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 50px !important;
}


/* === KIEGÉSZÍTÉS: HONEYPOT (SPAM VÉDELEM) === */
/* Ezt a szabályt cseréld le az újra! */

.honeypot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1; /* Eltünteti és kiveszi a látható elemek közül */
}


/* === KIEGÉSZÍTÉS: NAVIGÁCIÓS DROPDOWN MENÜ === */

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    /* A .btn osztály már ad neki stílust, itt csak finomhangolunk, ha kell */
    margin-left: 1.5rem;
}

.nav-dropdown-menu {
    /* Alapból rejtett */
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    /* Pozicionálás és kinézet */
    position: absolute;
    top: 100%; /* A gomb alatt jelenik meg */
    right: 0;
    background-color: var(--card-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    z-index: 1001; /* Legyen minden más felett */
    margin-top: 10px;
    padding: 0.5rem 0;
    border: 1px solid #e0e0e0;
}

.nav-dropdown-menu a {
    display: block; /* A linkek töltsék ki a rendelkezésre álló helyet */
    width: 100%;
    padding: 0.75rem 1.5rem;
    margin-left: 0; /* Nullázzuk a nav-menu-ből örökölt margót */
    color: var(--text-color);
    font-weight: 600;
}

.nav-dropdown-menu a:hover {
    background-color: var(--background-color);
    color: var(--secondary-color);
}

/* Osztály, amit a JavaScript fog kapcsolgatni a megjelenítéshez */
.nav-dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ==========================================================================
   === MOBIL NÉZET ÉS RESZPONZIVITÁS (HAMBURGER MENÜ) ===
   ========================================================================== */

.hamburger-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Mobil menü stílusok */
@media (max-width: 1200px) {
    .hamburger-button {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a, 
    .nav-dropdown {
        margin: 1rem 0;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-dropdown-toggle {
        font-size: 1.2rem;
        margin-left: 0;
    }
    
    /* Hamburger gomb animáció */
    .hamburger-button.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-button.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-button.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* === KIEGÉSZÍTÉS: DINAMIKUS ÁRLISTA STÍLUSOK === */

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sale-badge {
    display: inline-block;
    background-color: #dc3545; /* Piros */
    color: white;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    margin-left: 10px;
    vertical-align: middle;
}

.price-tag .original-price {
    font-size: 1.2rem;
    color: #6c757d; /* Szürke */
    margin-right: 10px;
}

.price-tag .current-price.sale {
    color: #28a745; /* Zöld, hogy kitűnjön */
    font-weight: 700;
}

/* ==========================================================================
   --- ÁTFOGÓ MOBIL NÉZET JAVÍTÁSOK ---
   ========================================================================== */

/* Szabályok tabletre és kisebb képernyőkre (1024px alatt) */
@media (max-width: 1024px) {
    /* Az asztali menü elrejtése, a mobil menü gombjának megjelenítése */
    .nav-menu-desktop {
        display: none;
    }
    .hamburger-button {
        display: block;
    }
}

/* Általános finomhangolás tabletekre és mobilokra (992px alatt) */
@media (max-width: 992px) {
    body {
        font-size: 15px; /* Kisebb alap betűméret az olvashatóságért */
        line-height: 1.5;
    }
    .container {
        padding: 0 15px; /* Kisebb oldalsó margók, hogy több hely legyen */
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-section {
    background-attachment: scroll;
}

    /* Főoldali Hero szekció szövegeinek javítása */
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem); /* Kisebb minimum és maximum méret */
        word-break: break-word; /* Engedi a hosszú szavak tördelését, megelőzve a kilógást */
    }
    .hero-subtitle {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    .feature-section {
        padding: 3rem 0; /* Kisebb távolságok a szekciók között */
    }
    .price-card, .dashboard-card, .about-container, .contact-grid {
        padding: 1.5rem; /* Kisebb belső margók a kártyákon */
    }
    .form-container {
        margin: 2rem auto;
        padding: 1.5rem;
    }
}

/* ==========================================================================
   --- KIEGÉSZÍTÉS: Főoldali kártyák görgethetővé tétele mobilon ---
   ========================================================================== */

/* Ezt a teljes blokkot cseréld le a CSS fájlodban */
@media (max-width: 768px) { 
    /* Főoldali görgethető kártyák javítása */
    .hero-buttons-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem;
        width: 100%;
        gap: 1.5rem;
    }

    .hero-buttons-grid::-webkit-scrollbar {
        height: 8px;
    }
    .hero-buttons-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .hero-buttons-grid .hero-card {
        flex-shrink: 0;
        width: 80%;
        scroll-snap-align: center;
    }

    /* A többi, már meglévő 768px-es szabály */
    .feature-grid, .feature-grid.reversed, .contact-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid.reversed .feature-text,
    .feature-grid.reversed .feature-image-container {
        grid-column: 1 / 2;
    }
    .feature-text {
        text-align: center;
    }
    .feature-description {
        margin: 1.5rem auto 0 auto;
    }

    .user-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* === KIEGÉSZÍTÉS: PC RÉSZLETES ADATLAP === */
.pc-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .pc-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pc-gallery .main-image-container {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.pc-gallery .main-image-container img {
    width: 100%;
    display: block;
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}
.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: border-color 0.2s ease;
}
.thumbnail:hover {
    border-color: var(--primary-color);
}

.pc-info h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    line-height: 1.2;
}
.pc-info .description {
    margin-bottom: 2rem;
}
.pc-info h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

/* === KIEGÉSZÍTÉS: ADMIN TÁBLÁZAT LINK STÍLUS === */
.table-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.2s ease;
}
.table-link:hover {
    color: var(--secondary-color);
        text-decoration: underline;
}




/* ==========================================================================
   --- KIEGÉSZÍTÉS: Felújított PC kártya link stílusának javítása ---
   ========================================================================== */

/* A teljes kártyáról leveszi az aláhúzást */
a.price-card, a.price-card:hover {
    text-decoration: none;
}

/* Visszaállítja a szövegek alapértelmezett színét a kártyán belül */
a.price-card h3 {
    color: var(--primary-color);
}
a.price-card p,
a.price-card .spec-list li {
    color: #555;
}
a.price-card .price-tag {
    color: var(--secondary-color);
}

/* Egeret ráhúzva csak a cím színe változzon meg, jelezve a kattinthatóságot */
a.price-card:hover h3 {
    color: var(--secondary-color);
}


/* === KIEGÉSZÍTÉS: ÚJ FŐOLDALI SZEKCIÓK === */
.services-grid, .why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.service-card, .why-us-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.service-card h4, .why-us-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.dark-bg .why-us-item {
    background: rgba(255,255,255,0.05);
}
/* ==========================================================================
   --- KIEGÉSZÍTÉS: Felújított PC kártya link stílusának javítása ---
   ========================================================================== */
a.price-card, a.price-card:hover {
    text-decoration: none;
}
a.price-card h3 {
    color: var(--primary-color);
}
a.price-card p,
a.price-card .spec-list li {
    color: #555;
}
a.price-card .price-tag {
    color: var(--secondary-color);
}
a.price-card:hover h3 {
    color: var(--secondary-color);
}


/* === HAMBURGER MENÜ JAVÍTÁSA === */
.hamburger-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobil menü stílusok */
@media (max-width: 1200px) {
    .hamburger-button {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a, 
    .nav-dropdown {
        margin: 1rem 0;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-dropdown-toggle {
        font-size: 1.2rem;
        margin-left: 0;
    }
    
    /* Hamburger gomb animáció */
    .hamburger-button.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-button.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-button.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* === ÁLTALÁNOS MOBIL JAVÍTÁSOK === */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .feature-grid, 
    .feature-grid.reversed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-image-container {
        height: 300px;
        order: -1;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .feature-description {
        margin: 1.5rem auto 0 auto;
    }
    
    .pricelist-container {
        flex-direction: column;
    }
    
    .price-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Görgethető kártyák mobilon */
    .hero-buttons-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem 0;
        gap: 1.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-buttons-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .hero-buttons-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
    
    .hero-buttons-grid .hero-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
}

/* === TABLET NÉZET JAVÍTÁSA === */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .feature-grid, 
    .feature-grid.reversed {
        gap: 3rem;
    }
    
    .feature-image-container {
        height: 400px;
    }
    
    .pricelist-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === TOUCH BARÁT ELEMEK === */
.btn, 
.nav-menu a, 
.hero-card {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === FORM ELEMEK MOBILON === */
@media (max-width: 768px) {
    .form-group input, 
    .form-group textarea, 
    .form-group select {
        font-size: 16px !important;
        padding: 1rem !important;
    }
    
    .btn-form {
        padding: 1.2rem !important;
    }
}

/* === KÉPEK RESZPONZÍV VÉDELME === */
img {
    max-width: 100%;
    height: auto;
}

/* === TÁBLÁZATOK MOBIL MEGJELENÍTÉSE === */
@media (max-width: 768px) {
    .user-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* === TESTRESZABOTT SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* === KÉPEKRE ÍRT SZÖVEGEK JAVÍTÁSA === */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('/img/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 600;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Konténer a hero szövegekhez jobb olvashatóságért */
.hero-content {
    max-width: 900px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

/* === GÖRGETHETŐ KÁRTYÁK JAVÍTÁSA === */
.hero-buttons-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    margin: 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.hero-buttons-grid::-webkit-scrollbar {
    height: 6px;
}

.hero-buttons-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.hero-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #fff;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-card p {
    font-size: 1rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.5;
}

/* === FEATURE SZEKCIÓK SZÖVEGÉNEK JAVÍTÁSA === */
.feature-text {
    padding: 1rem;
}

.feature-title {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.feature-section.dark-bg .feature-description {
    color: #e0e0e0;
}

/* Kép alatti szöveg konténer */
.feature-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Szöveg overlay a képeken */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.image-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.image-overlay p {
    font-size: 1rem;
    margin: 0;
    color: #e0e0e0;
}

/* === SPECIFIKUS SZÖVEGJAVÍTÁSOK === */
/* Szerviz és PC szerviz szövegek */
.service-card h3,
.why-us-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.service-card p,
.why-us-item p {
    line-height: 1.6;
    color: #555;
}

/* Ár kártyák szövegei */
.price-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price-content p {
    line-height: 1.5;
    margin-bottom: 1rem;
}

.spec-list li {
    line-height: 1.5;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.spec-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* === MOBIL NÉZETRE SZABOTT TOVÁBBI JAVÍTÁSOK === */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-card {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .hero-card h3 {
        font-size: 1.3rem;
    }
    
    .hero-card p {
        font-size: 0.95rem;
    }
    
    .feature-title {
        font-size: 1.8rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .feature-image-container {
        height: 300px;
    }
    
    .image-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .image-overlay h3 {
        font-size: 1.3rem;
    }
    
    /* Görgethető menü elemek */
    .hero-buttons-grid {
        padding-bottom: 1.5rem;
    }
    
    /* Szerviz kártyák */
    .service-card, 
    .why-us-item {
        padding: 1.5rem;
    }
    
    .service-card h3,
    .why-us-item h3 {
        font-size: 1.3rem;
    }
}

/* === KONTRAST NÖVELÉSE KÉPEKEN === */
.feature-section.dark-bg .feature-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.feature-section.dark-bg .image-overlay {
    z-index: 2;
}


/* === HERO SZEKCIÓ SPECIFIKUS JAVÍTÁSOK === */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
    hyphens: auto;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    font-weight: 600;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.hero-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
}

/* === SZÖVEG TÖRDELÉS ÉS IGAZÍTÁS JAVÍTÁSA === */
.text-balance {
    text-wrap: balance;
}

.text-prettify {
    hyphens: auto;
    word-spacing: -0.05em;
}

/* === SPECIFIKUS SZÖVEGJAVÍTÁSOK === */
.hero-title span.block-text {
    display: block;
    line-height: 1.1;
}

.hero-title .line-break {
    display: block;
    margin-top: 0.2em;
}

/* === MOBIL NÉZETRE SZABOTT TOVÁBBI JAVÍTÁSOK === */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-title .line-break {
        margin-top: 0.1em;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .hero-btn {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
}

/* === KÜLÖNÖS ESETEK KEZELÉSE === */
/* Ha a "Gyors" szó külön sorba kerül */
.hero-subtitle .nowrap {
    white-space: nowrap;
}

/* Ha túl hosszú a szöveg kis képernyőn */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}



/* =================================================================== */
/* ==          FELÚJÍTOTT PC OLDAL - ALZA-STÍLUSÚ RÁCS            == */
/* =================================================================== */

.pc-grid-container {
  display: grid;
  /* Automatikusan annyi oszlopot hoz létre, amennyi kifér.
     Minden oszlop minimum 280px széles, de ha van hely, kitölti a teret. */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; /* Térköz a kártyák között */
}

/* A kártyák stílusának felülírása, CSAK ezen az oldalon */
.pc-grid-container .price-card {
  display: flex;
  flex-direction: column; /* A kártyán belüli elemek egymás alá kerülnek */
  justify-content: space-between; /* A tartalom és az ár eltávolodik egymástól */
  height: 100%; /* Minden kártya egy sorban ugyanolyan magas lesz */
}

/* Biztosítjuk, hogy a tartalom kitöltse a rendelkezésre álló helyet */
.pc-grid-container .price-content {
  flex-grow: 1; 
}

/* Az árcédulát a kártya aljára igazítjuk */
.pc-grid-container .price-tag {
  margin-top: 1rem; /* Kis térköz a specifikációk felett */
  text-align: right;
}

/* =================================================================== */
/* ==      FELÚJÍTOTT PC KÁRTYA - RÖVID LEÍRÁS STÍLUSA           == */
/* =================================================================== */

.card-description {
    font-size: 0.9rem; /* Kicsit kisebb betűméret */
    color: #555;      /* Sötétszürke szín */
    line-height: 1.5;
    margin-top: 0.75rem;
}



/* =================================================================== */
/* ==            FŐOLDALI FŐCÍM FINOMHANGOLÁSA                  == */
/* =================================================================== */

/* Az új, kulturáltabb főcím stílusa */
.hero-title {
    /* Kisebb, de még mindig hangsúlyos méretek, kevésbé extrém különbséggel */
    font-size: clamp(2.2rem, 5vw, 3.5rem); 
    
    /* Félkövér (700) helyett 'semibold' (600), ami elegánsabb, de még mindig vastagabb */
    font-weight: 600; 
    
    line-height: 1.3; /* Szellősebb sortávolság, ha több sorba törne */
    letter-spacing: -1px; /* Kicsit közelebb húzza a betűket, amitől profibb lesz */
}

/* Az új, visszafogottabb alcím stílusa */
.hero-subtitle {
    /* Kicsit nagyobb, mint a sima szöveg, de nem tolakodó */
    font-size: clamp(1.1rem, 3vw, 1.4rem); 
    
    /* Normál vastagság, nem félkövér */
    font-weight: 400; 
    
    max-width: 650px; /* Biztosítja, hogy az alcím ne legyen túl széles nagy képernyőn */
    margin: 1rem auto 0 auto; /* Középre igazítás és megfelelő térköz a főcím alatt */
}

/* Ez a modern CSS szabály segít elkerülni a magányos szavakat
   az utolsó sorban, amitől a címek sokkal jobban néznek ki. */
.text-balance {
    text-wrap: balance;
}


/* Árlista - Akciós jelvény stílusa */
.sale-badge {
  display: inline-block;
  background-color: #dc3545; /* Piros */
  color: white;
  padding: 3px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  margin-left: 10px;
  vertical-align: middle;
}

/* =================================================================== */
/* ==            MOBIL NÉZET JAVÍTÁSA - KIS KIJELZŐK              == */
/* =================================================================== */
/* Ezek a szabályok csak akkor lépnek érvénybe, ha a képernyő 
   szélessége 480 pixel vagy annál kevesebb. */

@media (max-width: 480px) {

    /* Kisebb belső tér a doboznak, hogy több hely maradjon a szövegnek */
    .hero-content {
        padding: 1.5rem 1rem;
    }

    /* Kisebb betűméret a főcímnek, hogy ne törjön annyi sorba */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    /* Az alcím betűmérete is kisebb lesz */
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* A gomb is kicsit kisebb lesz, és közelebb kerül */
    .hero-btn {
        margin-top: 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}




/* =================================================================== */
/* ==     VÉGLEGES MOBIL HERO JAVÍTÁS (iPhone, S8+, stb.)         == */
/* =================================================================== */

/* Ez a blokk csak a tableteknél kisebb kijelzőkre (768px alatt) vonatkozik */
@media (max-width: 768px) {

    /* A külső doboz kevesebb felesleges teret foglal el mobilon */
    .hero-section {
        padding: 2rem 1rem; /* Felül/alul több, oldalt kevesebb hely */
    }

    /* A belső, sötétített doboz is kompaktabb lesz */
    .hero-content {
        padding: 1.5rem;
        width: 100%; /* Biztosítjuk, hogy ne lógjon túl a container-en */
    }

    /* A FŐCÍM JAVÍTÁSA */
    .hero-title {
        /* Kisebb, mobilbarátabb betűméretet adunk neki, ami biztosan elfér */
        font-size: clamp(2rem, 8vw, 2.8rem);
        
        /* LETILTJUK A HIBÁS SZÓELVÁLASZTÁST */
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;

        /* Megpróbáljuk a szavakat egyben tartani, ha lehetséges */
        word-break: keep-all; 
    }

    /* AZ ALCÍM JAVÍTÁSA */
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
}


/* =================================================================== */
/* ==      HERO FŐCÍM INTELLIGENS TÖRDELÉSE MOBILON             == */
/* =================================================================== */

/* Alapból (nagy képernyőn) a span nem csinál semmit, a szöveg egy sorban marad */
.hero-title-break {
    display: inline;
}

/* DE 768px szélesség alatt... */
@media (max-width: 768px) {
    /* ...a span blokk-ként viselkedik, ami sortörést okoz utána. */
    .hero-title-break {
        display: block;
        margin-top: 0.2em; /* Opcionális: kis térköz a két sor között */
    }
}


/* =================================================================== */
/* ==            MOBIL NÉZET JAVÍTÁSA - KIS KIJELZŐK              == */
/* =================================================================== */
/* Ezek a szabályok csak akkor lépnek érvénybe, ha a képernyő 
   szélessége 480 pixel vagy annál kevesebb. */

@media (max-width: 480px) {

    /* Kisebb belső tér a doboznak, hogy több hely maradjon a szövegnek */
    .hero-content {
        padding: 1.5rem 1rem;
    }

    /* Kisebb betűméret a főcímnek, hogy ne törjön annyi sorba */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    /* Az alcím betűmérete is kisebb lesz */
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* A gomb is kicsit kisebb lesz, és közelebb kerül */
    .hero-btn {
        margin-top: 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}


/* Ez a modern CSS szabály segít a böngészőnek, hogy
   intelligensebben, szebben tördelje a sorokat, elkerülve
   a magányos, rövid sorokat. */
.text-balance {
    text-wrap: balance;
}


/* =================================================================== */
/* ==     VÉGLEGES MOBIL HERO JAVÍTÁS (iPhone SE, S8+ és egyéb)      == */
/* =================================================================== */
@media (max-width: 480px) {

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    /* EZ AZ ÚJ, KIEGÉSZÍTETT SZABÁLY AZ ALCÍMHEZ */
    .hero-subtitle {
        font-size: 0.95rem; /* Kicsit kisebb betűméret a jobb tördeléshez */
        line-height: 1.5;
        margin-top: 1rem;
    }

    .hero-btn {
        margin-top: 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}


/* Mobil menü egyszerűsítése: a csak asztali gépen fontos linkek elrejtése */
@media (max-width: 1200px) {
    .nav-menu .desktop-only {
        display: none !important;
    }
}




/* Alapértelmezett (asztali) méret marad */
.nav-menu a {
  font-size: 1rem; /* pl. 16px */
}

/* Mobil nézet: 768px szélesség alatt kisebb betű */
@media (max-width: 768px) {
  .nav-menu a {
    font-size: 0.85rem; /* kb. 13-14px */
    padding: 0.4em 0.6em; /* opcionális: kicsit kisebb térköz is */
  }
}


.nav-auth-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-auth-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
}


.pricelist-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}


.price-content p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/*
  A .hero-title alapbeállításai
  A jobb olvashatóságért mobilon érdemes beállítani a sormagasságot.
*/
.hero-title {
  line-height: 1.3;
}

/*
  Alapértelmezetten (desktop nézetben) a sub-line elemek
  nem kezdenek új sort, és egy kis elválasztót kapnak.
*/
.hero-title .sub-line::before {
  content: " | "; /* Elválasztó a címsor részei között */
  margin: 0 0.4em;
  font-weight: normal; /* Az elválasztó ne legyen félkövér */
}

.hero-title .sub-line:first-of-type::before {
  content: ": "; /* Az első elem előtt inkább kettőspont van */
}


/* MEDIA QUERY MOBILNÉZETRE
  Ez a legfontosabb rész! 
  Ha a képernyő szélessége 768px vagy annál kevesebb...
*/
@media (max-width: 768px) {
  
  /* A .sub-line elemeket blokk szintűvé tesszük,
     ami sortörést eredményez. */
  .hero-title .sub-line {
    display: block;
    font-size: 0.65em; /* Kisebb betűméret a jobb kinézetért */
    font-weight: 500;  /* Normál vastagság */
  }

  /* Mobilon eltüntetjük az elválasztó karaktereket,
     mert már nincs rájuk szükség. */
  .hero-title .sub-line::before {
    content: "";
    margin: 0;
  }
}


.hero-title .sub-line:first-of-type::before {
  content: ""; /* Üresen hagyod, így nem jelenik meg semmi */
  margin: 0; /* A biztonság kedvéért a margót is nullázd */
}

/*
  Ezt az új osztályt használjuk a több soros,
  középre igazított szövegblokkokhoz.
*/
.multi-line-center {
  display: flex;          /* Flexbox elrendezés aktiválása */
  flex-direction: column; /* Az elemeket függőlegesen (egymás alá) rendezi */
  align-items: center;    /* Vízszintesen középre igazítja az elemeket */
  text-align: center;     /* A szöveget magát is középre igazítja a span-eken belül */
}

/*
  A .multi-line-center elemen belüli minden közvetlen gyermek elem (span)
  új sort fog kezdeni, mivel a flex-direction 'column'.
*/
.multi-line-center > span {
  display: block; /* Biztosítjuk, hogy blokk elemként viselkedjenek */
  width: 100%;    /* Kitöltik a rendelkezésre álló teret */
}

/*
  Specifikus stílus a főcím alsorainak,
  hogy kisebb betűvel jelenjenek meg.
*/
.hero-title > span:not(:first-child) {
    font-size: 0.65em;
    font-weight: 500;
}

/*
  Specifikus stílus az alcímnek a jobb olvashatóságért
*/
.hero-subtitle {
    line-height: 1.5; /* Növeljük a sorközt */
}


  /* Ezek a stílusok segítenek a jobb megjelenésben, ha nincsenek központi CSS fájlban definiálva */
    .feature-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
    .feature-card { background-color: var(--card-bg); padding: 1.5rem; border-radius: var(--border-radius); }
    .feature-card ul { padding-left: 20px; }
    .feature-card li { margin-bottom: 0.5rem; }
    .cta-section { text-align: center; padding: 3rem 2rem; background-color: var(--card-bg); border-radius: var(--border-radius); margin: 4rem 0; }
    .faq-container { max-width: 800px; margin: 2rem auto 0; }
    .faq-item { background: var(--card-bg); margin-bottom: 1rem; border-radius: var(--border-radius); }
    .faq-item summary { cursor: pointer; font-weight: bold; padding: 1rem; }
    .faq-item p { padding: 0 1rem 1rem 1rem; margin: 0; border-top: 1px solid #444; }
    .faq-item[open] summary { color: var(--secondary-color); }



    .price-content ul, .price-content ol { padding-left: 20px; }
    .price-content ul li, .price-content ol li { margin-bottom: 0.8rem; }
    .cta-section { text-align: center; padding: 4rem 2rem; background-color: var(--card-bg); border-radius: var(--border-radius); margin: 4rem 0; }
    .price-tag-large { font-size: 3rem; font-weight: 700; color: var(--secondary-color); margin: 1rem 0 2rem 0; }
    
    .feature-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
    .feature-card { background-color: var(--card-bg); padding: 1.5rem; border-radius: var(--border-radius); }
    .feature-card h3 { color: var(--secondary-color); margin-top: 0; }
    
    .process-list { list-style: none; padding-left: 0; counter-reset: process-counter; }
    .process-list li { position: relative; padding: 1rem 1rem 1rem 3rem; margin-bottom: 1rem; background-color: var(--card-bg); border-radius: var(--border-radius); }
    .process-list li::before {
        counter-increment: process-counter;
        content: counter(process-counter);
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background-color: var(--secondary-color);
        color: var(--bg-color);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .faq-container { max-width: 800px; margin: 2rem auto 0; }
    .faq-item { background: var(--card-bg); margin-bottom: 1rem; border-radius: var(--border-radius); }
    .faq-item summary { cursor: pointer; font-weight: bold; padding: 1rem; }
    .faq-item p { padding: 0 1rem 1rem 1rem; margin: 0; border-top: 1px solid #444; }
    .faq-item[open] summary { color: var(--secondary-color); }

 /* A style.css fájlodban */

p.section-subheading {
    /* ...esetleges meglévő stílusok... */
    margin-bottom: 3rem; /* << Ezt a sort add hozzá vagy módosítsd! 
                           A 3rem egy jó kiindulási érték, de ízlés szerint állíthatod. */
}

/* A style.css fájlod végére */

/* Segédosztály nagy alsó margóhoz */
.mb-large {
    margin-bottom: 4rem; /* << Ez adja a nagy sorközt a gomb konténere után.
                            Ezt is szabadon állíthatod. */
}

/* Az aloldalak tetején lévő háttérképes (hero) szekció stílusa */
.page-hero {
    background-image: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('/img/slow-computer.jpg');
    
    /* Alapvető beállítások a háttérkép megfelelő megjelenéséhez */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Itt megadhatsz egyéb stílusokat is, pl. minimális magasságot */
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}


/* Stílus a pipás listához (pl. a CTA blokkban) */
.checklist {
    list-style: none; /* Eltünteti az alapértelmezett fekete pöttyöt */
    padding-left: 0;  /* Eltávolítja a bal oldali behúzást */
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.checklist li {
    position: relative;
    padding-left: 30px; /* Helyet csinál a pipának */
    margin-bottom: 1rem; /* Térköz a lista elemei között */
}

.checklist li::before {
    content: '✓'; /* Ez a pipa karakter */
    position: absolute;
    left: 0;
    top: 0;
    color: #2ecc71;  /* Zöld szín a pipának */
    font-weight: bold;
    font-size: 1.5rem; /* Pipa mérete */
}

/* Az aloldalakon lévő kiemelt kép konténere és stílusa */
.page-image-container {
    text-align: center;
    margin-bottom: 4rem;
}

.featured-image {
    max-width: 60%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Az aloldalakon lévő kiemelt kép konténere és stílusa */
.page-image-container {
    text-align: center;
    margin-top: 2rem;    /* Hely a kép fölött */
    margin-bottom: 3rem; /* Hely a kép alatt (kicsit kevesebb, mint az előző 4rem) */
}

.featured-image {
    max-width: 400px;
    width: 100%; 
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================= */
/* == Reszponzív javítások mobilnézethez == */
/* ========================================= */
@media (max-width: 768px) {

    /* A szöveg-kép párosok (feature-grid) elrendezésének javítása mobilon */
    .feature-grid {
        /* A rácsos (grid) elrendezés helyett egyszerű blokkokká alakítjuk.
           Ez a legbiztosabb módja, hogy az elemek egymás alá kerüljenek
           és ne csússzanak egymásra.
        */
        display: block;
    }

    /* Adunk egy kis extra teret a szövegdoboz alá, 
       hogy ne tapadjon rá a kép, amikor egymás alá kerülnek.
    */
    .feature-grid .feature-text {
        margin-bottom: 2rem;
    }
}


/* ========================================= */
/* ==         BLOG STÍLUSOK               == */
/* ==   Apple Newsroom ihlette design     == */
/* ========================================= */

/* Blog gyűjtőoldal fejléc */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog cikkek rácsos elrendezése */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Reszponzív oszlopok */
    gap: 2.5rem; /* Térköz a cikkek között */
    padding-bottom: 5rem;
}

/* Egyedi cikk kártya */
.article-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 15px; /* Lekerekített sarkok */
    overflow: hidden; /* A kép ne lógjon ki */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Enyhe árnyék */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Link stílus eltávolítása */
    color: inherit;
}

.article-card:hover {
    transform: translateY(-8px); /* Enyhe lebegés hoverre */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* Erősebb árnyék */
}

.article-card-image {
    width: 100%;
    height: 220px; /* Fix magasság a képeknek */
    object-fit: cover; /* Kitölti a területet, de nem torzít */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.article-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Kitölti a rendelkezésre álló helyet */
}

.article-card-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.article-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.article-card-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-card-link {
    margin-top: auto; /* Az aljára igazítja a linket */
    font-weight: 600;
    color: #007aff; /* Apple kék */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.article-card-link:hover {
    text-decoration: underline;
}

/* Egyedi cikk oldal (blog-post.ejs) */
.article-container {
    max-width: 800px; /* Szűkebb tartalom a jobb olvashatóságért */
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.article-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.article-title {
    font-size: 3rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 1rem;
    color: #888;
}

.article-featured-image {
    margin-bottom: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content h2,
.article-content h3 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Reszponzivitás (mobilnézet) */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .blog-grid {
        gap: 1.5rem;
        padding: 0 1rem 3rem 1rem;
    }

    .article-card {
        border-radius: 10px;
    }

    .article-card-image {
        height: 180px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .article-card-content {
        padding: 1rem;
    }

    .article-card-title {
        font-size: 1.3rem;
    }

    .article-card-excerpt {
        font-size: 0.95rem;
    }

    .article-container {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
        margin-bottom: 3rem;
        border-radius: 10px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-featured-image {
        margin-bottom: 2rem;
        border-radius: 8px;
    }

    .article-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.8rem;
    }
}


.article-content .article-inner-image {
    /* Méret beállítása: ne legyen szélesebb, mint a szöveges tartalom 70%-a */
    max-width: 70%; 
    width: 100%; /* Ez biztosítja, hogy kisebb képernyőn (pl. mobilon) reszponzív maradjon */
    height: auto;
    
    /* Középre igazítás */
    display: block; /* Kulcsfontosságú a középre igazításhoz */
    margin-left: auto;
    margin-right: auto;

    /* Térköz és stílus */
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-content .article-inner-image {
    width: 100%; /* Ez továbbra is fontos a reszponzivitás miatt */
    max-width: 600px; /* Vagy amilyen szélességűnek szeretnéd a képeket. Pixelben pontosabb az egységességhez. */
    height: 350px; /* Fix magasság, vagy a kívánt magasság */
    object-fit: cover; /* EZ A KULCS: Kitölti a megadott méretet, levágva a felesleget, megtartva az arányokat */
    
    display: block;
    margin-left: auto;
    margin-right: auto;

    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


.nav-menu a {
    margin: 0 8px;        /* kisebb távolság a linkek között */
    font-size: 15px;      /* picivel kisebb betűméret */
    padding: 0.25rem 0.4rem; /* opcionális: kisebb belső térköz */
}


.user-icon {
  font-size: 24;
  color: #333;
  padding: 0.4rem;
    margin-left: 1.5rem; /* távolság a Kapcsolat link és az ikon között */
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-icon:hover {
  background: #f0f0f0;
  color: #0077cc;
}


.user-icon {
  margin-right: 1rem; /* legyen egy kis levegő a jobb széltől */
}

.nav-auth-buttons {
  position: absolute;
  right: 50px;  /* mennyire legyen beljebb a jobb széltől */
  top: 50%;
  transform: translateY(-50%);
}
/* ============================= */
/* Kapcsolat oldal egyedi űrlap  */
/* ============================= */
.contact-form-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

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

.contact-form button {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: var(--primary-color);
}
/* ===== Kapcsolat oldal layout ===== */
.contact-page-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.contact-layout .contact-info,
.contact-layout .contact-form-section {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Mobilon egymás alá */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}


/* ===== Kapcsolat oldal fehér lyuk javítása ===== */
.contact-page-header {
  margin-bottom: 1rem !important; /* kevesebb térköz a bevezető alatt */
}

.contact-layout {
  margin-top: 1rem !important; /* ne legyen túl nagy gap */
}

.contact-layout .contact-info,
.contact-layout .contact-form-section {
  margin: 0 !important; /* minden plusz margót nullázunk */
}


.section-title {
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}
