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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Fejléc */
.header {
    background-color: #1a1a2e;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.contact-icon {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    flex-shrink: 0;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: opacity 0.3s ease;
    font-family: inherit;
}

.lang-btn:hover {
    opacity: 0.7;
}

.lang-btn.active {
    color: #6dd5ed;
}

.lang-divider {
    color: #ffffff;
    opacity: 0.5;
}

/* Hero Szekció */
.hero {
    background: #ffffff;
    color: #333;
    padding: 2rem 0 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo img {
    height: 120px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: #1a1a2e;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* Kategória Szekciók */
.category-section {
    padding: 2rem 0 4rem;
}

.category-manufacturers {
    background: linear-gradient(to bottom, #e0e0e0 0%, #f5f5f5 100%);
}

.category-hospitality {
    background: #fffdf0;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-align: center;
}

.category-description {
    font-size: 1.125rem;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Termék Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Termék Kártya */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Lábléc */
.footer {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

/* Mobil nézet - kis képernyőkön */
@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .contact-item {
        font-size: 0.75rem;
    }

    .contact-icon {
        width: 14px;
        height: 14px;
    }

    .language-selector {
        gap: 0.4rem;
    }

    .lang-btn {
        font-size: 0.8rem;
    }
}

/* Tablet nézet (768px és nagyobb) */
@media (min-width: 768px) {
    .hero-logo img {
        height: 150px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .product-image {
        height: 280px;
    }
}

/* Desktop nézet (1024px és nagyobb) */
@media (min-width: 1024px) {
    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero-logo img {
        height: 180px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .category-section {
        padding: 2.5rem 0 5rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .product-image {
        height: 300px;
    }

    .category-title {
        font-size: 2.5rem;
    }
}

/* Nagy desktop nézet (1440px és nagyobb) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .products-grid {
        gap: 3rem;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Print stílusok */
@media print {
    .header,
    .footer {
        display: none;
    }

    .product-card {
        break-inside: avoid;
    }
}
