/* =========================================
   1. ALAPBEÁLLÍTÁSOK ÉS VÁLTOZÓK
   ========================================= */
:root {
    --primary-color: #0f9703;
    --primary-dark: #1d4ed8;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #1e293b;
    --bg-light: #f3f4f6;
    --white: #e9e6e6;
    --border-color: #7d7f83;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   2. FELSŐ INFORMÁCIÓS SÁV
   ========================================= */
.top-bar {
    background-color: #1e293b;
    color: #94a3b8;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    color: hsl(46, 59%, 50%);
    margin-right: 6px;
}

.top-bar-badge {
    color: var(--white);
    font-weight: 500;
}

.top-bar-badge i {
    color: #22c55e;
    margin-right: 5px;
}

/* =========================================
   3. NAVIGÁCIÓS SÁV (HEADER)
   ========================================= */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo i {
    color: var(--primary-color);
    margin-right: 10px;
}

.logo span span {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.navbar a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* =========================================
   4. HERO / FŐ BANNER SZEKCIÓ
   ========================================= */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 140px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

/* =========================================
   6. SZOLGÁLTATÁSOK SZEKCIÓ
   ========================================= */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background-color: var(--white);
}

.service-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* =========================================
   7. INTERAKTÍV KALKULÁTOR
   ========================================= */
.kalkulator-section {
    background-color: var(--bg-light);
}

.calculator-box {
    background-color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group select:focus {
    border-color: var(--primary-color);
}

.calc-result {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.calc-result span {
    font-size: 16px;
    color: var(--text-light);
}

.calc-result h3 {
    font-size: 38px;
    color: #9b8029;
    margin: 10px 0;
}

.calc-result p {
    font-size: 13px;
    color: var(--text-light);
}

#telepulesInput {
    width: 100%;          /* Teljesen kitölti a rendelkezésre álló szélességet */
    padding: 12px 15px;   /* Magasabbá és kényelmesebb méretűvé teszi a mezőt */
    font-size: 16px;      /* Nagyobb, jobban olvasható betűméret */
    border-radius: 8px;   /* Lekerekítettebb sarkok (haly úgy tetszik) */
}

/* =========================================
   8. ÁRAK ÉS CSOMAGOK
   ========================================= */
.pricing-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.pricing-card h2,
.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    height: 47px;
    display: flex;
    align-items: center;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-light);
}

.price-sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card ul {
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li i.fa-check {
    color: #22c55e;
}

.text-muted {
    color: #94a3b8;
}

/* =========================================
   9. RÓLUNK SZEKCIÓ
   ========================================= */
.bg-light {
    background-color: var(--bg-light);
}

.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-row i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-row h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.feature-row p {
    font-size: 14px;
    margin-bottom: 0;
}

.about-image {
    width: 100%;
}

.image-box-placeholder {
    background: linear-gradient(135deg, #1e293b, var(--primary-color));
    color: var(--white);
    height: 350px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.image-box-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
}

.image-box-placeholder span {
    font-size: 20px;
    font-weight: 600;
}

/* =========================================
   10. KAPCSOLAT ÉS AJÁNLATKÉRÉS
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-detail-item i {
    font-size: 22px;
    color: #b3942f;
    background-color: var(--bg-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.contact-detail-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-box {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-form-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.form-control {
    margin-bottom: 15px;
}

.form-control input,
.form-control textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    background-color: var(--white);
    transition: var(--transition);
}

.form-control input:focus,
.form-control textarea:focus {
    border-color: var(--primary-color);
}

.form-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   11. LÁBLÉC (FOOTER)
   ========================================= */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
    font-size: 14px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--white);
}

/* =========================================
   12. RESPONSIVE DESIGN (MOBILBARÁT STÍLUSOK)
   ========================================= */
@media (max-width: 992px) {
    .services-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-flex,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 15px;
    }

    .navbar.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        display: none;
    }

    .footer-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}