:root {
    --primary-color: #004a8d;
    --secondary-color: #ff6b00;
}

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

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

section {
    scroll-margin-top: 90px;
}

.title {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

/* Fejléc */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 2rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    width: 180px;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background:
        linear-gradient(rgba(0, 74, 141, 0.8),
            rgba(0, 74, 141, 0.8)),
        url('https://metroserviceshvac.com/wp-content/uploads/2025/02/air-conditioner-man-and-electrical-machine-work-with-person-in-a-home-with-ac-repair-maintenance-.jpg') center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 100px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
}


.cta-button {
    background: var(--secondary-color);
    color: white;
    padding: .5rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.3s;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: scale(1.1, 1.1);
}

/* Szolgáltatások */
.services {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card h3 {
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
}

/* Referenciák */
.references {
    padding: 4rem 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.references-grid {
    padding-bottom: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    grid-auto-flow: column;
    grid-gap: 10px;
    margin: 30px;
    overflow: auto;
    gap: 2rem;
}

.references-card {
    background: white;
    border-radius: 10px;
    text-align: center;
    min-width: 300px;
    background: #f8f9fa;
}

.references img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

/* Rólunk */
.about-us {
    padding: 4rem 2rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-us p {
    text-align: center;
    font-size: 1.25rem;
    max-width: 75%;
}

/* Kapcsolat űrlap */
.contact-section {
    background: #004a8d;
    color: white;
    padding: 4rem 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: none;
    margin-top: 0.5rem;
}

/* Lábléc */
footer {
    background: #002d54;
    color: white;
    height: 40vh;
    display: flex;
    align-items: center;

}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.footer-content .footer-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-icon img {
    height: 50px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}