/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

:root {
    --primary: #FF6600;
    --dark-bg: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-light: #f4f4f4;
    --text-muted: #aaaaaa;
    --nav-height: 95px; /* Picit megnövelve a pajzs logó miatt */
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; /* Ez garantálja, hogy a menü és a pajzs ne takarja ki a címet! */
}
body { background-color: var(--dark-bg); color: var(--text-light); overflow-x: hidden; line-height: 1.6; padding-top: var(--nav-height); }

/* --- NAVIGÁCIÓ & HAMBURGER --- */
nav {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.98); 
    border-bottom: 2px solid var(--primary); /* A fő narancs vonal */
    display: flex; justify-content: space-between; align-items: center; 
    padding: 0 8%; /* Fel-le padding levéve, hogy a height középre húzzon mindent */
    height: var(--nav-height); transition: 0.3s;
}

/* --- LOGÓ & PAJZS HÁTTÉR --- */
.logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 140px; /* A fekete pajzs szélessége */
}

/* 1. Eltakarja az egyenes narancs vonalat a logó alatt */
.logo::before {
    content: '';
    position: absolute;
    bottom: -2px; /* Rátakar a 2px-es alsó vonalra */
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.98);
    z-index: 1;
}

/* 2. A lefelé mutató V-alakú pajzs rész */
.logo::after {
    content: '';
    position: absolute;
    bottom: -45px; /* Mennyire lógjon ki */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 2px solid var(--primary); /* Az új narancs vonal balra */
    border-right: 2px solid var(--primary);  /* Az új narancs vonal jobbra */
    border-bottom-right-radius: 8px; /* Lágyított csúcs */
    z-index: 1;
}

/* A tényleges SVG logó képe */
.logo a {
    position: relative;
    z-index: 10; /* Magasabb z-index, hogy a fekete háttér felett legyen */
    display: flex;
    justify-content: center;
}

.logo img { 
    height: 130px; 
    width: auto;
    object-fit: contain; 
    position: relative;
    top: 15px; /* Beletoljuk a V-alakba */
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.9)); /* Erős árnyék */
    transition: transform 0.3s;
}
.logo img:hover { transform: scale(1.05); }

/* --- MENÜ PONTOK --- */
.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Kifejezetten a "Kérem az ajánlatot" gomb a menüben */
.nav-links a.btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white !important;
    border: 2px solid var(--primary);
    border-radius: 5px;
    white-space: nowrap; /* Asztalin véletlenül sem törik 2 sorba */
}
.nav-links a.btn:hover { background: transparent; color: var(--primary) !important; }

/* --- DROPDOWN --- */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0; background: #000;
    list-style: none; min-width: 250px; border-top: 2px solid var(--primary); padding: 10px 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 10px 20px; display: block; text-transform: none; }
.dropdown-menu li a:hover { background: #1a1a1a; padding-left: 25px; }

.hamburger { display: none; cursor: pointer; color: var(--primary); font-size: 2rem; position: relative; z-index: 10; }

/* --- MOBIL NÉZET (1000px alatt) --- */
@media (max-width: 1000px) {
    :root { --nav-height: 80px; } /* Kisebb menüsáv mobilon */
    
    /* Logó és pajzs kicsinyítése, hogy ne takarja ki a képernyőt */
    .logo { width: 110px; }
    .logo::after { width: 70px; height: 70px; bottom: -35px; }
    .logo img { height: 100px; top: 10px; }

    .hamburger { display: block; }
    
    .nav-links {
        position: fixed; top: var(--nav-height); left: -100%; flex-direction: column; 
        background: rgba(0,0,0,0.98); width: 100%; height: calc(100vh - var(--nav-height));
        text-align: center; padding-top: 40px; padding-bottom: 80px; gap: 25px; transition: 0.4s;
        overflow-y: auto; /* Ha sok a menü, lehessen görgetni */
    }
    .nav-links.active { left: 0; }
    
    /* A menü gomb (Ajánlatkérés) javítása mobilon */
    .nav-links a.btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        white-space: normal; /* Mobilon engedjük, hogy sort törjön, ha nagyon hosszú */
        padding: 12px 15px;
    }

    .dropdown-menu { position: static; display: none; }
    .dropdown.active .dropdown-menu { display: block; background: #111; }
}

/* --- GOMBOK (Szekciókban lévők) --- */
.btn {
    padding: 12px 30px; background: var(--primary); color: white !important; text-decoration: none; 
    font-weight: 900; text-transform: uppercase; border-radius: 5px; transition: 0.3s; border: 2px solid var(--primary);
    display: inline-block; cursor: pointer; text-align: center;
}
.btn:hover { background: transparent; color: var(--primary) !important; transform: translateY(-3px); }

/* --- SZEKCIÓK ÁLTALÁNOS --- */
section { padding: 80px 8%; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--text-light); margin-bottom: 50px; text-transform: uppercase; font-weight: 900; }
.section-title span { color: var(--primary); }

/* --- KÁRTYÁK (Szolgáltatás, Vélemény, GYIK) --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--card-bg); padding: 30px; border-radius: 10px; border-top: 3px solid var(--primary); transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(255,102,0,0.2); }
.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.card h3 { margin-bottom: 15px; color: var(--primary); }

/* --- LÁBLÉC --- */
footer { background: #000; padding: 30px; text-align: center; color: var(--text-muted); border-top: 1px solid #222; }

/* Kisebb mobilokra (600px alatt) optimalizálás a szekcióknak */
@media (max-width: 600px) {
    section { padding: 50px 5%; }
    .section-title { font-size: 1.8rem; margin-bottom: 30px; }
    .grid { gap: 20px; }
    .card { padding: 25px 20px; }
}
/* --- GALÉRIA KÉPEK --- */
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ez a varázsszó! Ettől a kép kitölti a teret anélkül, hogy összenyomódna vagy eltorzulna. */
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
}
/* --- LEBEGŐ AJÁNLATKÉRÉS GOMB --- */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: white !important;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.4);
    z-index: 9999; /* Hogy mindig legfelül legyen */
    transition: 0.3s;
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 102, 0, 0.6);
}

/* Finom lebegő animáció */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Mobilon egy kicsit kisebb és máshol van */
@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}