:root {
    --primary: #00A0E1;
    --secondary: #003366;
    --accent: #FF6B00;
    --light: #F5F9FC;
    --dark: #1A2A3A;
    --gray: #6B7C8C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;

    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    flex: 1;
}

/* Fejléc és navigáció */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon > img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.logo-text span.cold {
    color: var(--primary);
}

.logo-text span.warm {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 160, 225, 0.3);
}

/* Hero rész */
.hero {
    background: linear-gradient(rgba(0, 48, 96, 0.8), rgba(0, 48, 96, 0.8)), url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Szolgáltatások */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.minicard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.minicard {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-direction: row;
    display: flex;
    cursor: pointer;
    height: 120px;
    text-decoration: none !important;
    text-underline: none !important;
    color: inherit !important;
}

.minicard:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.minicard-image {
    width: 30%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.minicard-content {
    padding: 15px;
}

.minicard-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.minicard-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Lábléc */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-column p, .footer-column a {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.center {
    text-align: center;
}

/* Reszponzív */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
}



.contact {
    /* General container styling */

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* Heading styles */

    h1 {
        font-family: 'Poppins', sans-serif;
        font-size: 36px;
        font-weight: 600;
        color: #333;
        margin-bottom: 20px;
    }

    .subtitle {
        font-family: 'Poppins', sans-serif;
        font-size: 28px;
        font-weight: 500;
        color: #555;
        margin-bottom: 15px;
    }

    /* Info section styling */

    .info {
        margin-bottom: 30px;
        line-height: 1.6;
        color: #444;
    }

    .info p {
        margin: 5px 0;
        font-size: 16px;
    }

    .info strong {
        font-weight: 600;
        color: #000;
    }

    iframe {
        width: 100%;
        height: 300px;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-top: 15px;
    }

    /* Form section styling */

    .form-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    form label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        color: #333;
    }

    form input, form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
        font-family: 'Poppins', sans-serif;
    }

    form button {
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        font-family: 'Poppins', sans-serif;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    form button:hover {
        background-color: #0056b3;
    }
}

.margin-y-40 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.services-intro {
    padding: 30px;
    color: #333;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.services-intro .intro {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.services-intro .text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-intro .text p {
    margin-bottom: 1.2em;
}

.services-intro .image {
    flex: 1 1 400px;
    text-align: center;
}

.services-intro .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.main-block {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.main-block:nth-child(even) {
    background-color: #ffffff;
}

.main-block .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.main-block .content.reverse {
    flex-direction: row-reverse;
}

.main-block .text {
    flex: 1;
    min-width: 300px;
}

.main-block .text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.main-block .text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.main-block .image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.main-block .image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.hidden {
    display: none;
}

.referencies {
    img {
        width: 100%;
        margin-bottom: 20px;
    }
}