/* Hero section */
.hero-section {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 120px 0;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/hero.png') no-repeat center center;
    background-size: cover;
    transform: scale(1.04);
    animation: hero-slow-zoom 18s ease-in-out infinite alternate;
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

@keyframes hero-slow-zoom {
    from {
        transform: scale(1.04) translateX(0);
    }

    to {
        transform: scale(1.14) translateX(-1.5%);
    }
}

/* Services preview section */
.services-preview-section {
    background-color: #f4f7f9;
}

.services-preview-title a {
    color: inherit;
    text-decoration: none;
}

.services-preview-title a:hover {
    color: #0d6efd;
}

.service-preview-card {
    border: none;
    border-radius: 15px;
    background: #fff;
    transition: 0.3s;
    height: 100%;
    color: inherit;
    text-decoration: none;
    display: block;
}

.service-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: inherit;
    text-decoration: none;
}

.service-preview-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e7f1ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin: 0 auto 18px auto;
}

/* Featured products slider */
.kiemelt-swiper {
    padding: 20px 5px 60px 5px;
    overflow: hidden;
}

.kiemelt-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.product-image-wrap {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.product-image {
    max-height: 250px;
    width: 100%;
    object-fit: contain;
}

.power-indicator {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    justify-content: center;
    min-height: 54px;
    align-items: center;
}

.indicator-pill {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    line-height: 1.2;
    width: 175px;
    min-height: 24px;
    white-space: nowrap;
}

.pill-hutes {
    background-color: #007bff;
}

.pill-futes {
    background-color: #a30d56;
}

.pill-futes-rasegites {
    background-color: #e86f0c;
}

.product-title {
    min-height: 48px;
    font-size: 0.95rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0.75rem;
}

.spec-box {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-row {
    min-height: 72px;
}
/* Brands section */
.brands-section {
    padding: 40px 0;
    background-color: #f4f7f9;
}

.brand-item {
    text-align: center;
    padding: 6px;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    max-width: 165px;
    height: 72px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.brands-section h2 {
    margin-bottom: 0.5rem !important;
}

.brands-section p {
    margin-bottom: 2rem !important;
}
/* Products page */
.category-header {
    background: #f4f7f9;
    color: #111827;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.category-header .lead {
    color: #4b5563;
}

.products-page .product-image {
    max-height: 170px;
}
/* Product detail page */
.product-main-img {
    max-height: 450px;
    object-fit: contain;
    width: 100%;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb-img:hover {
    border-color: #0d6efd;
}

.price-tag {
    font-size: 1.45rem;
    color: #0d6efd;
    font-weight: 800;
}

.price-normal {
    font-size: 1.15rem;
    font-weight: 700;
}

.spec-table th {
    background-color: #f8f9fa;
    width: 40%;
}

.status-badge {
    font-size: 0.9rem;
    padding: 5px 15px;
}

.recommendation-box {
    background: #e7f1ff;
    border-radius: 8px;
    padding: 15px;
    border-left: 5px solid #0d6efd;
}

.product-description-text {
    white-space: pre-line;
}

/* R贸lunk oldal */
.about-header {
    background: #0056b3;
    color: white;
    padding: 60px 0;
}

.about-intro-section {
    overflow: hidden;
}

.about-intro-content::after {
    content: "";
    display: block;
    clear: both;
}

.about-float-img {
    max-width: 100%;
    height: auto;
}

.team-card {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
    height: 100%;
}

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

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-img:hover {
    filter: brightness(80%);
    transform: scale(1.02);
}