/* ===========================================
   KOLOR Duguláselhárítás – Stíluslap
   =========================================== */

/* ─── CSS Custom Properties ─────────────── */
:root {
    --primary:        #0a2540;
    --primary-mid:    #1a3a5c;
    --primary-light:  #0f3460;
    --secondary:      #f97316;
    --secondary-dark: #ea6c0a;
    --accent:         #0ea5e9;
    --white:          #ffffff;
    --light:          #f8fafc;
    --gray-100:       #f1f5f9;
    --gray-200:       #e2e8f0;
    --gray-300:       #cbd5e1;
    --gray-400:       #94a3b8;
    --text:           #1e293b;
    --text-light:     #64748b;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 12px rgba(0,0,0,.1);
    --shadow-lg:  0 10px 30px rgba(0,0,0,.12);
    --shadow-xl:  0 20px 50px rgba(0,0,0,.18);

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  22px;
    --radius-xl:  32px;

    --ease:       cubic-bezier(.4,0,.2,1);
    --trans:      all .3s var(--ease);
    --trans-slow: all .6s var(--ease);
    --nav-h:      72px;
}

/* ─── Reset & Base ───────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a          { text-decoration: none; color: inherit; transition: var(--trans); }
img        { max-width: 100%; height: auto; display: block; }
button     { font-family: inherit; }

/* ─── Shared utilities ───────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.section-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: .35rem;
}
.section-title.light { color: #fff; }

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--secondary);
    margin-top: .25rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: .4rem;
}
.section-desc.light { color: rgba(255,255,255,.6); }

.section-line {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
    margin: 1rem auto 0;
}
.section-line.light {
    background: linear-gradient(90deg, var(--secondary), rgba(255,255,255,.45));
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ─── Buttons ────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .95rem 2.2rem;
    background: linear-gradient(135deg, var(--secondary), #fbbf24 130%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--trans);
    box-shadow: 0 4px 22px rgba(249,115,22,.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.18);
    opacity: 0;
    transition: var(--trans);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(249,115,22,.5);
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .95rem 2rem;
    background: var(--secondary);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--trans);
    box-shadow: 0 4px 22px rgba(249,115,22,.35);
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-secondary:hover {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249,115,22,.25);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    padding: 0 2rem;
    transition: var(--trans);
    /* starts transparent – JS adds .scrolled */
}
.navbar.scrolled {
    background: rgba(10,37,64,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,.28);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-shrink: 0;
}
.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-fallback {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .06em;
}

/* Nav links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    font-weight: 500;
    padding: .45rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--trans);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-link.active { color: var(--secondary); }

/* Phone button */
.nav-phone {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    padding: .45rem 1.2rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,.28);
    flex-shrink: 0;
    transition: var(--trans);
}
.nav-phone i {
    color: var(--secondary);
    animation: phonePulse 2.5s ease-in-out infinite;
}
@keyframes phonePulse {
    0%,100% { transform: rotate(0); }
    10%,30%  { transform: rotate(-12deg); }
    20%      { transform: rotate(12deg); }
}
.nav-phone:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--trans);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #050e1a 0%, #0a2540 45%, #0f3460 72%, #0a2540 100%);
}

/* Háttérkép réteg – elhalványítva az animáció alá */
.hero-bg-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../gallery/img1.webp') center center / cover no-repeat;
    opacity: .18;
    pointer-events: none;
}

/* Layered glow + grid overlay */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 55%, rgba(14,165,233,.18) 0%, transparent 52%),
        radial-gradient(ellipse at 82% 18%, rgba(249,115,22,.14) 0%, transparent 48%),
        radial-gradient(ellipse at 55% 85%, rgba(14,165,233,.09) 0%, transparent 40%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* Floating particles (created by JS) */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(14,165,233,.55);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    from  { transform: translateY(110vh) scale(0); opacity: 0; }
    10%   { opacity: 1; }
    90%   { opacity: .45; }
    to    { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Hero content – outer wrapper */
.hero-content {
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-h) + 1.5rem) 3rem 3rem;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* Two-column row */
.hero-row {
    display: grid;
    grid-template-columns: 1fr 660px;
    align-items: center;
    gap: 2rem;
}

/* Left column – szöveg */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Right column – logó középre igazítva */
.hero-right {
    width: 660px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bottom row – badge-ek + gomb középre */
.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Logo area */
.hero-logo-wrap {
    width: 620px;
    height: auto;
    position: relative;
    flex-shrink: 0;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .45s var(--ease);
}
.hero-logo-wrap.is-tracking {
    transition: transform .08s linear;
}
.hero-logo-img {
    display: block;
    width: 620px;
    max-width: none;  /* override global img { max-width: 100% } reset */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(249,115,22,.5));
    transform: translateZ(24px);
}
.hero-logo-placeholder {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--secondary), #fbbf24 130%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(249,115,22,.42), 0 20px 40px rgba(0,0,0,.32);
    animation: logoPulse 4s ease-in-out infinite;
}
.hero-logo-placeholder span {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: .06em;
}
@keyframes logoPulse {
    0%,100% { box-shadow: 0 0 60px rgba(249,115,22,.42), 0 20px 40px rgba(0,0,0,.32); }
    50%      { box-shadow: 0 0 85px rgba(249,115,22,.62), 0 20px 40px rgba(0,0,0,.32); }
}

/* Headline */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    margin-bottom: .6rem;
}
.hero-title-main {
    font-size: clamp(3.2rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.025em;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-title-sub {
    font-size: clamp(1rem, 3vw, 1.55rem);
    font-weight: 400;
    color: rgba(255,255,255,.65);
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
    margin: .7rem 0 .8rem;
}

.hero-intro {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,.72);
    line-height: 1.82;
    max-width: 560px;
    font-weight: 300;
    margin-bottom: 0;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: .65rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.badge {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .95rem;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50px;
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    font-weight: 500;
}
.badge i { color: var(--secondary); font-size: .75rem; }

/* Bounce arrow on hero button */
.btn-primary i { animation: arrowBounce 2s ease-in-out infinite; }
@keyframes arrowBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fadeUp 1s ease 2s both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-arrow {
    width: 28px;
    height: 28px;
    border-right: 2px solid rgba(255,255,255,.38);
    border-bottom: 2px solid rgba(255,255,255,.38);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%,100% { transform: rotate(45deg) translateY(0);   opacity: 1; }
    50%      { transform: rotate(45deg) translateY(6px); opacity: .45; }
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
    padding: 5.5rem 0 0;
    background: linear-gradient(160deg, #0d1f35 0%, #0a2540 40%, #0f2d4a 70%, #091d30 100%);
    position: relative;
    overflow: hidden;
}
/* Subtle dot grid overlay */
.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}
.services > * { position: relative; z-index: 1; }
.services .container { position: relative; z-index: 1; }
/* Rainbow top border */
.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
    background-size: 200% 100%;
    animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer {
    0%   { background-position:  200% 0; }
    100% { background-position: -200% 0; }
}

/* 4-column grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Service card */
.service-card {
    background: rgba(255,255,255,.05);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--trans);
    /* stagger set inline by JS */
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform .35s var(--ease);
    transform-origin: left;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
    border-color: rgba(249,115,22,.35);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(249,115,22,.1), rgba(14,165,233,.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--secondary);
    transition: var(--trans);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

/* Placeholder area for future content */
.service-content {
    flex: 1;
    min-height: 90px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1rem;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    line-height: 1.7;
}

/* ─── CTA Banner ─────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 50%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    right: -70px; top: -70px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(14,165,233,.1);
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    right: 90px; bottom: -90px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(249,115,22,.1);
    pointer-events: none;
}

.cta-text-block { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.25rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .6rem;
}
.cta-body {
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    line-height: 1.72;
}
/* Make the btn-secondary visible on dark bg */
.cta-banner .btn-secondary { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
.gallery-section {
    padding: 5.5rem 0;
    background: linear-gradient(175deg, #071629 0%, #0a2540 35%, #0d2e4a 65%, #060f1c 100%);
    position: relative;
    overflow: hidden;
}
/* Diagonal line mesh overlay */
.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg,  rgba(14,165,233,.06) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(14,165,233,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}
/* Soft radial glow centre */
.gallery-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(249,115,22,.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.gallery-section > * { position: relative; z-index: 1; }
.gallery-section .container { position: relative; z-index: 1; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    role: listitem;
}
.gallery-item:hover {
    transform: scale(1.025);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10,37,64,.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--trans);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transition: transform .25s var(--ease);
    transform: scale(.8);
}
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* Empty state */
.gallery-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-light);
}
.gallery-empty > i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
    display: block;
}
.gallery-empty p {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: .5rem;
}
.gallery-empty span { font-size: .9rem; }
.gallery-empty code {
    background: var(--gray-100);
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .88rem;
}

/* ─── Pagination ─────────────────────────── */
.gallery-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.page-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}
.page-btn, .page-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--trans);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-btn:hover:not(:disabled),
.page-number:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(249,115,22,.14);
}
.page-btn:disabled { opacity: .38; cursor: not-allowed; }
.page-number.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 40px 80px rgba(0,0,0,.6);
    transition: opacity .25s ease;
}
.lightbox-counter {
    color: rgba(255,255,255,.52);
    font-size: .82rem;
    font-weight: 500;
}

/* Shared lightbox button style */
.lightbox-close,
.lightbox-nav {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: var(--trans);
}
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lightbox-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-50%) scale(1.08); }
.lightbox-nav:disabled { opacity: .3; cursor: default; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section {
    padding: 5.5rem 0;
    background: linear-gradient(140deg, #050e1a 0%, #0a2540 55%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Info column */
.contact-info h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.25rem;
}
.contact-item {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(249,115,22,.14);
    border: 1px solid rgba(249,115,22,.28);
    color: var(--secondary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--trans);
}
.contact-item:hover .contact-icon {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}
.contact-item strong {
    display: block;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .25rem;
}
.contact-item a,
.contact-item span {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    transition: var(--trans);
}
.contact-item a:hover { color: var(--secondary); }

/* Form wrapper */
.contact-form-wrapper {
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.form-group { position: relative; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,.055);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-size: .95rem;
    outline: none;
    resize: none;
    transition: var(--trans);
}
.form-group input::placeholder,
.form-group textarea::placeholder { opacity: 0; }
/* Floating label */
.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.38);
    font-size: .9rem;
    pointer-events: none;
    transition: var(--trans);
    background: transparent;
}
.form-group textarea + label { top: 1.05rem; transform: none; }

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: rgba(249,115,22,.06);
}
/* When active or filled – float label up */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-55%);
    font-size: .72rem;
    color: var(--secondary);
    background: #0a2540;
    padding: 0 .4rem;
    left: 1rem;
    border-radius: 4px;
}
/* Fix for textarea label */
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-55%);
}

.form-submit { align-self: flex-start; font-family: inherit; }

.form-notice {
    font-size: .88rem;
    min-height: 1.2rem;
    transition: var(--trans);
}
.form-notice.success { color: #4ade80; }
.form-notice.error   { color: #f87171; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    background: #030c17;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: rgba(255,255,255,.3);
    font-size: .82rem;
}
.footer-legal-links {
    max-width: 1280px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: center;
    gap: .75rem 1.25rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,.5);
    font-size: .82rem;
}
.footer-legal-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-legal-links a:hover {
    color: var(--secondary);
}
.footer-credit {
    color: rgba(255,255,255,.55);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
.footer-credit:hover { color: var(--secondary); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid  { grid-template-columns: 1fr; gap: 2.75rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    /* Mobile nav slide-down */
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(10,37,64,.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: .25rem;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: var(--trans);
        z-index: 999;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link { width: 100%; padding: .75rem 1rem; }
    .nav-phone span { display: none; }
    .hamburger { display: flex; }

    /* Hero */
    /* Hero kétoszlop -> egyoszlop mobilon */
    .hero-content { padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem; gap: 2.5rem; }
    .hero-row { grid-template-columns: 1fr; gap: 2rem; }
    .hero-left { align-items: center; text-align: center; }
    .hero-title { align-items: center; }
    .hero-divider { margin: 1.2rem auto 1.4rem; }
    .hero-right { width: 100%; justify-content: center; }
    .hero-logo-wrap { width: 280px; }
    .hero-logo-img  { width: 280px; max-width: none; }
    .hero-logo-placeholder { border-radius: 24px; }
    .hero-logo-placeholder span { font-size: 1.2rem; }
    .hero-badges { gap: .45rem; }
    .badge { font-size: .76rem; padding: .32rem .75rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { min-height: auto; }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.25rem 1.75rem;
    }
    .cta-banner::before, .cta-banner::after { display: none; }
    .cta-body { max-width: 100%; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    /* Lightbox */
    .lightbox-prev { left: .6rem; }
    .lightbox-next { right: .6rem; }
    .lightbox-close { top: .8rem; right: .8rem; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: .88rem; }

    /* Contact */
    .contact-form-wrapper { padding: 1.75rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
    .hero-badges { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-legal-links { flex-direction: column; align-items: center; gap: .45rem; }
}
