/* ============================================
   MetalSoft – Modern honlap stílusok
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --dark: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
}

/* Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    padding: 0.8rem 0;
    transition: box-shadow 0.3s;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--gray) !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--light) 0%, #e0e7ff 100%);
}

.hero-icon {
    font-size: 12rem;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
}

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

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
}

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

/* Services */
.service-block {
    padding: 2rem 0;
}

.service-icon-wrap {
    font-size: 2.5rem;
}

.feature-highlights {
    background: var(--light);
    border-radius: 12px;
    padding: 2rem;
}

.feature-item {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

/* Service Cards */
.service-card {
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* Stats */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item > i {
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.table a {
    color: var(--primary);
}

.table a:hover {
    text-decoration: underline;
}

/* Product Cards (főoldal kiemelt termékek) */
.product-card {
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

/* Subpage Hero */
.subpage-hero {
    padding-top: 100px;
    padding-bottom: 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #e0e7ff 100%);
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--gray);
}

/* Sidebar Cards (aloldalak) */
.sidebar-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.75rem;
    top: 0.65rem;
}

/* Feature list (aloldalak) */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark) !important;
}

/* Responsive */
@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .hero-section .lead {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .service-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}
