/* ---------------------------------------------------
   ALAP BEÁLLÍTÁSOK
--------------------------------------------------- */

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

body {
    font-family: "Inter", sans-serif;
    background: #0d0d0d;
    color: #e6e6e6;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------------------------------------------------
   SZÍNEK
--------------------------------------------------- */

:root {
    --black: #0d0d0d;
    --dark: #1a1a1a;
    --gold: #d4a24c;
    --white: #ffffff;
}

/* ---------------------------------------------------
   NAVIGÁCIÓ
--------------------------------------------------- */

.nav {
    width: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 42px;
}

/* ---------------------------------------------------
   HAMBURGER ICON
--------------------------------------------------- */

.hamburger {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 6000;
}

.hamburger span {
    height: 4px;
    background: var(--gold);
    border-radius: 4px;
    transition: 0.3s;
}

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

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

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

/* ---------------------------------------------------
   MOBIL MENÜ (LENYÍLÓ)
--------------------------------------------------- */

.nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(20,20,20,0.95);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    display: none;
    flex-direction: column;
    gap: 14px;
    width: 200px;
    animation: fadeIn 0.3s ease;
    z-index: 5000;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--gold);
}

/* ---------------------------------------------------
   HERO
--------------------------------------------------- */

.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("hero-hegesztes.webp") center/cover no-repeat;
    filter: brightness(0.55);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.2s ease;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
}

.hero-line {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto;
}

.hero p {
    font-size: 20px;
    margin-bottom: 16px;
    color: #eaeaea;
}

.hero-badge {
    margin-top: 4px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
}

.hero-btn:hover {
    background: #e8b96a;
}

/* Animációk */

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

/* ---------------------------------------------------
   SZEKCIÓK
--------------------------------------------------- */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--white);
}

/* ---------------------------------------------------
   SZOLGÁLTATÁSOK
--------------------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--dark);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    transition: 0.2s;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-card a {
    color: var(--gold);
    text-decoration: none;
}

/* ---------------------------------------------------
   REFERENCIÁK
--------------------------------------------------- */

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.work-item img {
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.25s;
}

.work-item img:hover {
    transform: scale(1.03);
    border-color: var(--gold);
}

.work-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
}

/* ---------------------------------------------------
   MIÉRT MINKET
--------------------------------------------------- */

.why-list {
    max-width: 700px;
    margin: auto;
    list-style: none;
}

.why-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ---------------------------------------------------
   AJÁNLATKÉRÉS
--------------------------------------------------- */

.quote-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 14px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: var(--white);
}

.quote-form textarea {
    min-height: 120px;
}

.quote-form button {
    padding: 14px;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.quote-form button:hover {
    background: #e8b96a;
}

/* ---------------------------------------------------
   LÁBLÉC
--------------------------------------------------- */

.footer {
    text-align: center;
    padding: 40px 20px;
    background: #0b0b0b;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

/* ---------------------------------------------------
   TELJES SZÉLESSÉGŰ HÍVÁS GOMB
--------------------------------------------------- */

.call-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--gold);
    color: #000;
    padding: 16px 0;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    z-index: 9999;
}

.call-btn:hover {
    background: #e8b96a;
}

/* ---------------------------------------------------
   COOKIE PANEL
--------------------------------------------------- */

.cookie-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.92);
    color: #e6e6e6;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: none;
    z-index: 4000;
}

.cookie-panel p {
    margin-bottom: 12px;
    font-size: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-buttons button,
.cookie-buttons a {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.cookie-accept {
    background: var(--gold);
    color: #000;
}

.cookie-accept:hover {
    background: #e8b96a;
}

.cookie-minimal {
    background: #333;
    color: #fff;
}

.cookie-minimal:hover {
    background: #444;
}

.cookie-settings {
    color: #ccc;
    font-size: 14px;
    padding-top: 8px;
}

/* ---------------------------------------------------
   MOBIL FINOMHANGOLÁS
--------------------------------------------------- */

@media (max-width: 768px) {

    .hero {
        height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 30px;
    }

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

    .container {
        padding: 60px 16px;
    }

    h2 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .cookie-panel {
        padding-bottom: 70px; /* hogy ne ütközzön a hívás gombbal */
    }
}
