/* ================= ALAPVETŐ BEÁLLÍTÁSOK & SMOOTH SCROLL ================= */
:root {
    --primary-color: #1d4ed8;
    --primary-hover: #1e40af;
    --dark-bg: #090d16;
    --dark-surface: #111827;
    --text-light: #f3f4f6;
    --text-muted: #64748b;
    --text-dark: #1f2937;
    --border-color: #e5e7eb;
    --bg-light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= GOMBOK ================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

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

/* Fehér alapon a másodlagos gomb világos szürke hátteret kap */
.btn-secondary {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

/* ================= VILÁGOS HERO SZEKCIÓ (MÓDOSÍTVA) ================= */
.light-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: var(--text-dark);
    min-height: 100vh;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #111827;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 80px 5% 0;
}

.greeting {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    color: #111827;
}

.hero-desc {
    color: #4b5563;
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-item strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #111827;
}

.feature-item span {
    font-size: 0.75rem;
    color: #64748b;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.laptop-mockup {
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.phone-mockup {
    position: absolute;
    right: 20px;
    bottom: -30px;
    width: 180px;
    border-radius: 24px;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

/* ================= PROJEKTEK EGYMÁS ALATT ================= */
.projects-section {
    padding: 100px 5%;
    background-color: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #111827;
    margin: 8px 0 16px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

.project-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-image {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: flex;
}

.project-image img {
    width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.client-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.project-details h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 6px 0 16px;
    color: #111827;
}

.badge {
    display: inline-block;
    background-color: #eff6ff;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    border: 1px solid #dbeafe;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 24px;
}

.details-grid h4 {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 16px 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-grid h4:first-child {
    margin-top: 0;
}

.check-list li, .bullet-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list i {
    color: var(--text-dark);
    margin-top: 4px;
}

.bullet-list {
    list-style-type: disc;
    padding-left: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
}

.special-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.special-box .icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.special-box p {
    font-size: 0.9rem;
    color: #4b5563;
    margin: 0;
}

/* ================= MUNKAFOLYAMAT & TECH STACK SZEKCIÓK ================= */
.workflow-section, .tech-section {
    padding: 80px 5%;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

.workflow-section h2, .tech-section h2 {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: #111827;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 1px;
    border-top: 2px dashed #e2e8f0;
    z-index: 1;
}

.step {
    text-align: left;
    position: relative;
    z-index: 2;
}

.icon-wrap {
    width: 70px;
    height: 70px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
}

.step-num {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #111827;
}

.step p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

/* Tech Grid - 4x2-es rács */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-card span {
    font-weight: 600;
    font-size: 0.85rem;
}

/* ================= KAPCSOLAT / CTA SZEKCIÓ ================= */
.cta-section {
    background-color: #f1f5f9;
    padding: 80px 5%;
}

.cta-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.left-card {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.card-text h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #111827;
}

.card-text p {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 500;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.contact-info a:hover span {
    color: var(--primary-color);
}

.contact-info i {
    color: var(--primary-color);
}

.right-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.right-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #111827;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: center;
}

.social-item:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.social-item .icon {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.social-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #4b5563;
}

/* ================= RESZPONZIVITÁS ================= */
@media (max-width: 1024px) {
    .hero-container, .project-card, .cta-container {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: auto;
    }

    .project-image img {
        max-height: 350px;
    }

    .steps-container, .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container::before {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .left-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        justify-content: center;
    }
}

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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