:root {
    --primary: #1e3a5f;     /* sötétkék – bizalom */
    --secondary: #2f6fa3;   /* világosabb kék */
    --accent: #ff7a00;      /* narancs – CTA */
    --bg: #f4f7fb;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: #222;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
}

.topbar {
    background: #0f1720;   /* ugyanaz mint a footer */
    color: #fff;
    padding: 15px 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: #111;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.trust {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: bold;
}

.hero {
    background: linear-gradient(rgba(15,23,32,0.75), rgba(15,23,32,0.75)),
    url("img/pcb.jpg") center/cover no-repeat;
    
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero ul {
    margin-top: 20px;
    list-style: none;
}

.hero li {
    margin: 8px 0;
}

.brands {
    padding: 50px 0;
}

.brands h2 {
    text-align: center;
    color: #1e3a5f;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /*grid-template-columns: repeat(5, 1fr);  5 oszlop */
    gap: 20px;
    margin-top: 30px;
}
.phone a {
    font-size: 18px;
}

.card {
    background: #fff;
    text-decoration: none;
    color: #222;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	border: 1px solid #e3e8ef;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.card h3 {
    padding: 10px;
	color: var(--primary);
}

.card p {
    padding: 0 10px 15px;
    font-size: 14px;
}

.cta {
    background: linear-gradient(135deg, #1e3a5f, #2f6fa3);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 10px;
}

.button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    background: var(--accent);
    font-weight: bold;
    transition: 0.2s;
}

.button:hover {
    background: #e66a00;
}

footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 30px 0;
}

.footer {
    background: #0f1720;
    color: #ccc;
    padding: 40px 20px;
}

.footer-top {
    display: flex;
    justify-content: center;      /* KÖZÉPRE */
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;            /* NE NYÚLJON SZÉT */
    margin: 0 auto;               /* KÖZÉPRE */
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 300px;
    max-width: 480px;             /* SZÉP ARÁNY */
}

.footer-right {
    text-align: left;
}


.footer-left iframe {
    height: 200px;
}

.footer a {
    color: #ff6600;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}

.brand-detail {
    padding: 50px 0;
}

.brand-detail h1 {
    text-align: center;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.brand-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.brand-image {
    flex: 1;
    min-width: 280px;
}

.brand-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.brand-text {
    flex: 1;
    min-width: 280px;
}

/* LISTÁK */
.highlight-list {
    background: #f1f6fb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    list-style: none;
}

.highlight-list li {
    margin: 8px 0;
    font-weight: bold;
    color: #1e3a5f;
}

.feature-list {
    margin-top: 20px;
    list-style: none;
}

.feature-list li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff7a00;
}

/* SZÖVEG */
.brand-text p {
    line-height: 1.7;
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    /* TOPBAR */
    .topbar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* HERO */
    .hero {
        padding: 50px 15px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 15px;
    }

    /* KÁRTYÁK (EZ KRITIKUS) */
    .card-grid {
        grid-template-columns: 1fr; /* 5 oszlop helyett 1 */
    }

    /* CTA */
    .cta {
        padding: 40px 15px;
    }

    /* FOOTER */
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

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

    /* BRAND OLDAL */
    .brand-content {
        flex-direction: column;
    }

}