/* Reset és alapok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Konténer */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Szekciók */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero szekció */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #fff7ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.bg-circle-1 {
    width: 320px;
    height: 320px;
    background-color: #dbeafe;
    top: -160px;
    right: -160px;
    animation: pulse 4s ease-in-out infinite;
}

.bg-circle-2 {
    width: 320px;
    height: 320px;
    background-color: #fed7aa;
    bottom: -160px;
    left: -160px;
    animation: pulse 4s ease-in-out infinite 1s;
}

.bg-circle-3 {
    width: 80px;
    height: 80px;
    background-color: #dcfce7;
    top: 50%;
    left: 25%;
    animation: bounce 3s ease-in-out infinite 0.5s;
}

.hero-content {
    max-width: 1000px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 10;
}

.logo {
    height: 220px;
    width: auto;
    margin-bottom: 30px;
    
    
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    display: block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 10px;
}

.hero-motto-box {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border-left: 4px solid #ea580c;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px auto;
    max-width: 800px !important;
}

.hero-motto {
    font-size: 1.5rem;
    color: #ea580c;
    font-weight: 600;
    font-style: italic;
    margin: 0;
}

.hero-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 40px auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.stat-card:nth-child(1) {
    border-color: #dbeafe;
}

.stat-card:nth-child(2) {
    border-color: #dcfce7;
}

.stat-card:nth-child(3) {
    border-color: #fed7aa;
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #2563eb;
}

.stat-card:nth-child(2) i {
    color: #16a34a;
}

.stat-card:nth-child(3) i {
    color: #ea580c;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.scroll-indicator {
    animation: bounce 2s infinite;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: #666;
}

.scroll-indicator i {
    font-size: 2rem;
}

/* Gombok */
.btn {
    padding: 12px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.btn-outline:hover {
    background-color: #eff6ff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    padding: 15px;
}

/* Grid rendszer */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Kártyák */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Kártya ikonok */
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.card-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.card-icon.orange {
    background-color: #fed7aa;
    color: #ea580c;
}

.card-icon.green {
    background-color: #dcfce7;
    color: #16a34a;
}

.card-icon.purple {
    background-color: #e9d5ff;
    color: #9333ea;
}

.card-icon.red {
    background-color: #fecaca;
    color: #dc2626;
}

.card-icon.indigo {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.card-icon.teal {
    background-color: #ccfbf1;
    color: #0d9488;
}

.card-icon.yellow {
    background-color: #fef3c7;
    color: #d97706;
}

/* Veszélyességi osztályok */
.danger-classes {
    margin: 60px 0;
}

.danger-classes h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.danger-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.danger-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.danger-1 {
    border-left: 4px solid #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.danger-2 {
    border-left: 4px solid #ea580c;
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.danger-3 {
    border-left: 4px solid #d97706;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.danger-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.danger-1 h4 {
    color: #dc2626;
}

.danger-2 h4 {
    color: #ea580c;
}

.danger-3 h4 {
    color: #d97706;
}

.danger-card ul {
    list-style: none;
    padding: 0;
}

.danger-card li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #374151;
}

.danger-1 li {
    color: #b91c1c;
}

.danger-2 li {
    color: #c2410c;
}

.danger-3 li {
    color: #a16207;
}

/* Bírságok szekció */
.penalties-section {
    margin: 60px 0;
}

.penalty-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.penalty-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.work-safety {
    border-left: 4px solid #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.fire-safety {
    border-left: 4px solid #ea580c;
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.penalty-box h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.work-safety h3 {
    color: #dc2626;
}

.fire-safety h3 {
    color: #ea580c;
}

.penalty-box h3 i {
    margin-right: 8px;
}

.penalty-details p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.work-safety .penalty-details p {
    color: #b91c1c;
}

.fire-safety .penalty-details p {
    color: #c2410c;
}

.penalty-details .small-text {
    font-size: 0.85rem;
    font-style: italic;
}

/* Figyelmeztetés doboz */
.warning-box {
    margin-top: 40px;
    padding: 20px;
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: 0 8px 8px 0;
}

.warning-box h3 {
    color: #dc2626;
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.warning-box p {
    color: #b91c1c;
}

.warning-box-large {
    margin-top: 40px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.warning-box-large h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.warning-box-large p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Előny kártyák */
.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.red-gradient::before {
    background: linear-gradient(135deg, #fef2f2, #fce7e7);
}

.blue-gradient::before {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.green-gradient::before {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.yellow-gradient::before {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.red-gradient .benefit-icon {
    color: #ef4444;
}

.blue-gradient .benefit-icon {
    color: #3b82f6;
}

.green-gradient .benefit-icon {
    color: #10b981;
}

.yellow-gradient .benefit-icon {
    color: #f59e0b;
}

.benefit-card h3,
.benefit-card p {
    position: relative;
    z-index: 1;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1.125rem;
}

/* Befektetés doboz */
.investment-box {
    margin-top: 40px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.investment-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.investment-box p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Szolgáltatás kártyák */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #dbeafe;
    color: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Egyedi megoldások */
.custom-solutions {
    margin-top: 40px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.custom-solutions h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-solutions p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 25px;
}

.industry-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.industry-badge {
    padding: 8px 16px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Kapcsolat szekció */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Kapcsolat kártya */
.contact-card {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.quick-response {
    margin-top: 30px;
    background-color: #fff7ed;
    border-left: 4px solid #ea580c;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.quick-response h3 {
    color: #c2410c;
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.quick-response p {
    color: #9a3412;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #d1d5db;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

.footer-motto {
    font-style: italic;
    color: #fbbf24 !important;
    margin-top: 10px;
}

/* Animációk */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* Reszponzív design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-motto {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }

    .bg-circle-1,
    .bg-circle-2 {
        width: 200px;
        height: 200px;
    }

    .bg-circle-1 {
        top: -100px;
        right: -100px;
    }

    .bg-circle-2 {
        bottom: -100px;
        left: -100px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        height: 80px;
    }
    
    .card,
    .service-card,
    .benefit-card {
        padding: 20px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .hero-motto-box {
        padding: 15px 20px;
    }

    .hero-motto {
        font-size: 1.125rem;
    }
}

/* Tooltip stílusok */
.tooltip {
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    z-index: 1000;
    display: none;
    pointer-events: none;
}

/* Focus visible stílusok akadálymentesség érdekében */
.btn:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print stílusok */
@media print {
    .hero-bg-elements,
    .scroll-indicator,
    .hero-buttons {
        display: none;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .hero {
        min-height: auto;
        padding: 20px;
    }
}

/* Magas kontraszt mód támogatása */
@media (prefers-contrast: high) {
    .card,
    .service-card,
    .benefit-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-outline {
        border: 2px solid #000;
    }
}

/* Csökkentett mozgás preferencia */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .bg-circle {
        animation: none;
    }
}