/* ==========================================================================
   1. ALAPOK ÉS VÁLTOZÓK
   ========================================================================== */
:root {
    --primary-color: #2c3e50;    /* Sötét pala/kék */
    --accent-color: #e67e22;     /* Narancs csempe szín */
    --light-bg: #f8f9fa;         /* Világos szürke háttér */
    --text-color: #333333;       /* Fő szövegszín */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

body {
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

/* ==========================================================================
   2. FEJLÉC ÉS NAVIGÁCIÓ
   ========================================================================== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Négy csempéből álló logó ikon */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    width: 24px;
    height: 24px;
}

.logo-icon span {
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.logo-icon .tile-2, .logo-icon .tile-3 {
    background: var(--accent-color);
}

/* Logó lebegési effekt (csempék megmozdulnak) */
.logo:hover .logo-icon span {
    transform: scale(0.85);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: var(--accent-color);
}

/* Menüpontok */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

nav ul a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   3. HERO (FŐ) SZEKCIÓ - IMAGES MAPPÁVAL
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.82), rgba(44, 62, 80, 0.82)), 
                url('images/hero.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-phone {
    margin-bottom: 25px;
}

.hero-phone a {
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px dashed var(--accent-color);
    transition: var(--transition);
}

.hero-phone a:hover {
    color: var(--accent-color);
}

/* Általános gomb stílus */
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* ==========================================================================
   4. SZOLGÁLTATÁSOK (SERVICES)
   ========================================================================== */
.services {
    padding: 80px 0;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.services .card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.services .card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.services .card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.services .card p {
    color: #666;
}

/* ==========================================================================
   5. PORTFÓLIÓ GALÉRIA EFFEKTEK
   ========================================================================== */
.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    transition: var(--transition);
    transform: translateY(0);
}

/* ==========================================================================
   6. KAPCSOLAT ÉS AJÁNLATKÉRŐ ŰRLAP
   ========================================================================== */
.contact-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.ai-quote-container {
    text-align: center;
    margin-bottom: 30px;
}

.ai-quote {
    display: inline-block;
    background: #e8f4fd;
    color: #2980b9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ==========================================================================
   7. LÁBLÉC (FOOTER)
   ========================================================================== */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.95rem;
}

footer p {
    margin-bottom: 10px;
}

footer p:last-child {
    margin-bottom: 0;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* ==========================================================================
   8. MOBIL RESPONSIVITY (MÉRETRE IGAZÍTÁS)
   ========================================================================== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .contact-wrapper {
        padding: 25px;
    }
}
