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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0e1724;
}

/* Linkek */
a {
    color: #0d7bd3;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

/* Közös container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* FEJLÉC – háttérkép az images/header-bg.jpg-ről */
.site-header {
    color: #fff;
    background-color: #06101f;
    background-image: linear-gradient(
      120deg,
      rgba(6, 16, 31, 0.9),
      rgba(8, 44, 89, 0.9)
    ),
    url("images/header-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Felső sáv */
.topbar {
    padding: 10px 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    font-weight: 700;
}

/* Hamburger gomb */
.hamburger {
    width: 38px;
    height: 32px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

/* X animáció */
.hamburger.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobil/desktop nav overlay */
.mobile-nav {
    position: fixed;
    top: 52px;
    right: 0;
    width: 210px;
    background: rgba(3, 14, 32, 0.96);
    border-radius: 0 0 0 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 40;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    padding: 10px 18px;
    color: #f5f7fb;
    font-size: 14px;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

/* Fő flow tartalom */
.main {
    padding-bottom: 56px;
}

/* Szekciók */
.section {
    padding: 40px 0;
    position: inherit;
    z-index: 0;
    background-color: #80a5dc;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    background: #0f1c30;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* HERO szakasz */
.hero {
    padding: 60px 0 40px;
    background-color: #80a5dc;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
    gap: 32px;
    align-items: center;
    padding: 26px 20px;
    background: radial-gradient(circle at top left, #163a67, #091224);
    border-radius: 18px;
    grid-template: 0;
    columns: 0;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero h2 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #c0e0ff;
}

.hero p {
    margin-bottom: 10px;
    color: #dbe7ff;
    font-size: 14px;
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.hero-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(202, 230, 255, 0.4);
    color: #ffffff;
    background-color: #134169;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.btn-primary,
.btn-outline {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #0f8ce0, #16b1ff);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 132, 255, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1275c2, #0d9be8);
}

.btn-outline {
    background: transparent;
    color: #e0eeff;
    border: 1px solid rgba(226, 239, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(226, 239, 255, 0.08);
}

.hero-note {
    font-size: 11px;
    color: #bacde8;
    margin-top: 8px;
}

.hero-image-wrap {
    position: relative;
}

.hero-main-img {
    width: 96%;
    border-radius: 16px;
    display: inline;
    box-shadow: 0 12px 35px rgba(157, 157, 157, 0.4);
    grid: 0;
    grid-template: 0;
    float: left;
    padding-right: 0px;
    padding-left: 0px;
}

.hero-float-card {
    position: absolute;
    left: 10%;
    bottom: -14%;
    background: rgba(7, 20, 44, 0.95);
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 11px;
    color: #e7f0ff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    max-width: 220px;
}

/* Szekció címek */
.section-header {
    padding: 26px 20px 8px;
}

.section-header h2 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 13px;
    color: #c0d3f4;
}

/* Szolgáltatások szakasz */
.services-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 24px;
    padding: 8px 20px 24px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card {
    padding: 12px 12px;
    border-radius: 12px;
    background: #141f33;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-card h3 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 13px;
    color: #d0def8;
}

.service-tags {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tag {
    padding: 2px 7px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(18, 143, 230, 0.3);
    color: #b9defc;
}

.services-image-side {
    align-self: center;
}

.services-image {
    width: 100%;
    border-radius: 14px;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Miért minket blokkok */
.why-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 8px 20px 24px;
}

.why-card {
    padding: 12px 12px;
    border-radius: 12px;
    background: #141f33;
    border: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 13px;
    color: #d4e2ff;
}

.why-card strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
}

/* Árak szakasz */
.pricing-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    padding: 8px 20px 24px;
}

.pricing-box {
    background: #141f33;
    border-radius: 12px;
    padding: 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-box h3 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 8px;
}

.pricing-box p,
.pricing-box li {
    font-size: 13px;
    color: #dbe6ff;
}

.pricing-box ul {
    margin-left: 16px;
    margin-bottom: 6px;
}

.pricing-note {
    font-size: 12px;
    color: #bac6e3;
    margin-top: 10px;
}

/* Referenciák szakasz */
.refs-body {
    padding: 8px 20px 24px;
}

.refs-slider {
    position: relative;
    margin-top: 10px;
}

.refs-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 4px 8px;
    scrollbar-width: none;

    /* Firefox */
}

.refs-track::-webkit-scrollbar {
    display: none;

    /* Chrome */
}

.ref-card {
    min-width: 220px;
    max-width: 260px;
    background: #141f33;
    border-radius: 12px;
    padding: 10px 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.ref-card img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.ref-card-name {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 4px;
}

.ref-card-link {
    font-size: 12px;
    color: #8bc1ff;
    word-break: break-all;
}

/* Nyilak */
.refs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: rgba(5, 16, 35, 0.9);
    color: #f5f7ff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.refs-arrow:hover {
    background: rgba(17, 89, 185, 0.9);
}

.refs-arrow-left {
    left: -4px;
}

.refs-arrow-right {
    right: -4px;
}

/* Ügyfelek mondták (idézet) */
.testimonial-block {
    padding: 8px 20px 24px;
    grid: 0px;
    display: grid;
    grid-area: 1 / 1 / 2 / 2;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row: 1;
    grid-column: 1;
    grid-template-columns: -1px;
    grid-template-rows: -1px;
}

.testimonial-text {
    margin-top: 8px;
    padding: 12px 13px 12px 14px;
    background: #141f33;
    border-radius: 12px;
    border-left: 3px solid #1aa9ff;
    font-size: 13px;
    color: #dde9ff;
    white-space: pre-line;
    right: 0px;
    grid-area: 1 / 1 / 2 / 2;
    margin-right: -207px;
}

.testimonial-author {
    margin-top: 8px;
    font-weight: 600;
    font-style: normal;
}

/* Kapcsolat szakasz */
.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
    padding: 8px 20px 24px;
}

.contact-info p {
    font-size: 13px;
    color: #d3e1ff;
}

.contact-info p strong {
    color: #ffffff;
}

.contact-info .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #93acd5;
    margin-bottom: 4px;
}

.contact-highlight {
    margin-top: 10px;
    font-size: 13px;
    color: #b5d4ff;
}

.contact-image {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Űrlap */
form {
    margin-top: 10px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #f0f4ff;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #324569;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #0e1724;
    color: #f0f5ff;
}

input::placeholder,
textarea::placeholder {
    color: #7a8ab0;
}

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

button[type="submit"] {
    padding: 8px 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f8ce0, #16b1ff);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #1275c2, #0d9be8);
}

/* Google Maps konténer a Kapcsolat szakaszban */
.map-wrap {
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    background: #0e1724;
}

.map-wrap iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

/* Lábléc – kép a háttérben, overlay sötétít */
.site-footer {
    background-image: linear-gradient(
      135deg,
      rgba(3, 9, 22, 0.95),
      rgba(10, 25, 53, 0.95)
    ),
    url("images/footer-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #e3ebff;
    font-size: 12px;
}

.site-footer-inner {
    padding: 16px 16px 18px;
}

.site-footer-inner p {
    margin-bottom: 3px;
}

/* Reszponzív */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-image-wrap {
        order: -1;
    }

    .services-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-content {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 650px) {
    .main-box {
        border-radius: 0;
    }

    .hero-inner {
        border-radius: 12px;
    }

    .why-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .refs-arrow-left {
        left: 2px;
    }

    .refs-arrow-right {
        right: 2px;
    }

    .map-wrap iframe {
        height: 220px;
    }
}
