/*
Theme Name: Építőipar Pro Alap
Theme URI: https://example.com/epitoipar-pro
Author: AI Web Architect
Description: Modern one-page WordPress sablon magas- és mélyépítési vállalkozások számára.
Version: 2.0
Text Domain: epitoipar-pro
*/

:root {
    --primary-dark: #1e293b;
    --secondary-dark: #0f172a;
    --accent-yellow: #f59e0b;
    --accent-hover: #d97706;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

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

/* Header & Navigáció */
.site-header {
    background-color: var(--secondary-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.site-logo span {
    color: var(--accent-yellow);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--accent-yellow);
}

.menu-toggle {
    display: none;
    background: var(--accent-yellow);
    border: none;
    color: var(--secondary-dark);
    padding: 8px 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

/* Hero Szekció */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), 
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--secondary-dark);
    padding: 5px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-radius: 2px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--secondary-dark);
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

/* Általános Szekciók */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-bg);
}

.section-dark {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 0 auto;
}

/* Szolgáltatások (Magas- és Mélyépítés) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-bottom: 4px solid var(--accent-yellow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 25px;
}

.service-body h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary-dark);
}

/* Munkafolyamatok (Lépésről lépésre) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.process-step {
    background: rgba(255,255,255,0.05);
    padding: 30px 20px;
    border-left: 3px solid var(--accent-yellow);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 15px;
}

/* Galéria / Referenciák */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
    color: #fff;
    padding: 20px 15px 15px;
}

.gallery-caption span {
    font-size: 0.75rem;
    color: var(--accent-yellow);
    text-transform: uppercase;
    font-weight: bold;
}

/* Kapcsolat & Footer */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.site-footer {
    background: var(--secondary-dark);
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #334155;
}

/* Reszponzivitás */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--secondary-dark);
        padding: 20px;
    }
    .main-navigation.toggled {
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
