/* ============================================
   VÁLTOZÓK
============================================ */
:root {
    --primary: #FFA500;
    --primary-dark: #FF8C00;
    --secondary: #333;
    --accent: #FFD700;
    --light: #f8f8f8;
    --gray-light: #f2f2f2;
    --gray: #e0e0e0;
    --text-dark: #222;
    --text-light: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   ALAP STÍLUSOK
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   GOMBOK ÉS KÖZÖS ELEMEK
============================================ */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-light {
    background-color: white;
    color: var(--secondary);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h1::after,
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    display: block;
}

/* Töröljük a duplikált vonalakat */
.section-title::after,
.section-title::before,
.section-title h1::before,
.section-title h2::before {
    display: none !important;
}

.highlight {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ============================================
   FEJLÉC ÉS NAVIGÁCIÓ
============================================ */
header {
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 100;
}

/* Felső sáv */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo-container h1 {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.top-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Kapcsolati információk */
.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    vertical-align: middle;
}

.contact-item span {
    font-size: 0.95rem;
}

.contact-info .contact-item {
    color: #FFFFFF;
}

.contact-info .contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-info .contact-item a:hover {
    text-decoration: underline;
}

/* Nyelvváltó */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    position: relative;
}

.lang-emoji-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.9rem;
    border-radius: 5px;
    background-color: rgba(255, 165, 0, 0.08);
    border: 1px solid var(--gray);
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lang-emoji-btn:hover {
    background-color: rgba(255, 165, 0, 0.15);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#current-lang-emoji {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

#current-lang-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: 4px;
    margin-top: 0.5rem;
    display: none;
    z-index: 102;
    min-width: 150px;
    border: 1px solid var(--gray);
}

.lang-options.show {
    display: block;
}

.lang-option {
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.lang-flag {
    width: 40px;
    height: 28px;
    display: inline-block;
    border-radius: 2px;
    overflow: hidden;
    background-size: cover;
    vertical-align: middle;
}

.lang-option:hover {
    background-color: var(--gray-light);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background-color: var(--gray-light);
    transition: var(--transition);
}

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

.lang-btn-text {
    font-size: 0.9rem;
}

.lang-arrow {
    font-size: 0.7rem;
}

/* Fő navigáció - EREDETI BEÁLLÍTÁSOK MEGTARTVA */
.main-nav {
    background-color: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 101;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    z-index: 1000;
}

.nav-link {
    display: block;
    color: var(--text-light);
    padding: 1.2rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Legördülő menü pontosan, ahogy volt */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 10;
    border-radius: 0 0 4px 4px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-item:hover .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    border-bottom: 1px solid var(--gray);
}

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

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-link:hover {
    background-color: var(--gray-light);
    padding-left: 1.8rem;
    color: var(--primary-dark);
}

/* Mobil navigáció */
.mobile-nav-toggle {
    display: none;
}

/* Figyelmeztető csík */
.warning-stripe {
    background: repeating-linear-gradient(
        45deg,
        var(--accent),
        var(--accent) 20px,
        var(--secondary) 20px,
        var(--secondary) 40px
    );
    height: 30px;
    position: relative;
    z-index: 990;
}

/* ============================================
   HERO SZEKCIÓK
============================================ */
/* Fő Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1a1a1a;
    min-height: 400px;
    padding: 4rem 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 2rem;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Általános Hero Banner stílus minden oldalhoz */
.hero-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background-color: #222;
    margin-bottom: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-banner .hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-banner .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem 3rem;
    border-radius: 8px;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--primary);
}

.hero-banner .hero-text h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-banner .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Specifikus oldalak Hero színei */
.forestry-hero .hero-text {
    border-left-color: #2d8659;
}

.agriculture-hero .hero-text {
    border-left-color: #7cb342;
}

.construction-hero .hero-text {
    border-left-color: #f57c00;
}

.xcmg-hero .hero-text {
    border-left-color: #ffc107;
}

.used-hero .hero-text {
    border-left-color: #5d4037;
}

.gallery-hero .hero-text {
    border-left-color: #3f51b5;
}

.contact-hero .hero-text {
    border-left-color: #e53935;
}

/* ============================================
   KATEGÓRIA SZEKCIÓK
============================================ */
.machine-categories {
    padding: 5rem 0;
}

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

.category-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2.5rem 1.5rem 1.5rem;
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.category-overlay p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.8rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-link:hover {
    color: white;
}

/* ============================================
   HASZNÁLT GÉPEK KATEGÓRIA OLDAL
============================================ */
.used-header {
    text-align: center;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
}

.used-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.used-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Kategória oldal címe és alcíme */
.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.category-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

/* Üres kategória üzenet */
.empty-category {
    text-align: center;
    padding: 3rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.empty-category p {
    font-size: 1.1rem;
    color: #666;
}

/* ============================================
   XCMG BEMUTATÓ SZEKCIÓ
============================================ */
.xcmg-showcase {
    padding: 5rem 0;
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.xcmg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.xcmg-container {
    position: relative;
    z-index: 1;
}

.xcmg-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.xcmg-logo {
    max-width: 180px;
}

.xcmg-intro {
    flex: 1;
}

.xcmg-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.xcmg-intro p {
    font-size: 1rem;
    color: #444;
}

/* ============================================
   TERMÉKEK GRID
============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img-container {
    height: 220px;
    overflow: hidden;
}

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

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

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

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
}

.product-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-cta {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    justify-content: space-between;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ============================================
   RÓLUNK SZEKCIÓ
============================================ */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #fff, #f8f8f8);
}

.about-container {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 1rem;
    text-align: left;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    transform: none;
}

.about-text {
    margin-bottom: 1.5rem;
    color: #444;
}

/* ============================================
   PARTNEREK SZEKCIÓ
============================================ */
.partners-section {
    padding: 4rem 0;
    background-color: white;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
    margin-bottom: 2rem;
}

.container > .partners-grid:last-child {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 0;
}

.partner-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   CTA SZEKCIÓ
============================================ */
.cta-section {
    padding: 5rem 0;
    background-color: var(--secondary);
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #eee;
}

/* ============================================
   GARANCIÁLIS FELTÉTELEK LINK STÍLUS
============================================ */
.warranty-doc-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
    margin: 0.5rem 0 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ddd;
}

.warranty-doc-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.warranty-doc-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
    text-decoration: none;
    transform: translateX(5px);
}

/* ============================================
   KAPCSOLAT OLDAL STÍLUSOK
============================================ */
.contact-page-section {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2.5rem;
}

/* Címek stílusa */
.contact-info h2, 
.map-container h2, 
.grants-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary);
    color: var(--dark);
    position: relative;
}

/* Kontakt Infó Doboz */
.contact-info-card {
    background-color: white;
    padding: 0;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #555;
}

.contact-info strong {
    color: var(--dark);
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-info a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
    font-weight: 500;
    word-break: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--primary-dark, #e67e22);
}

/* Csapatkép */
.team-image-container {
    text-align: center;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.team-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-image-container:hover img {
    transform: scale(1.02);
}

/* Social Ikonok */
.social-icons {
    margin-top: 2rem;
    text-align: left;
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons img {
    height: 24px;
    width: 24px;
    transition: transform 0.2s ease;
    font-size: 0;
    color: transparent;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-icons a:hover img {
    filter: brightness(0) invert(1);
}

/* Térkép konténer */
.map-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex-grow: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    min-height: 450px;
}

.map-container iframe {
    border: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

/* ============================================
   PÁLYÁZATOK SZEKCIÓ
============================================ */
.grants-section {
    padding: 4rem 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.grants-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.grants-section .section-title h2 {
    font-size: 2.2rem;
    border-bottom: none;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.grants-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.grant-logos {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.grant-logos img {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.grant-logos img:hover {
    transform: scale(1.05);
}

.grants-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
}

.grant-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.grant-item:hover {
    transform: translateY(-5px);
}

.grant-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: var(--dark);
    line-height: 1.4;
}

.grant-item p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #555;
}

.grant-item strong {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   LÁBLÉC
============================================ */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-about {
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    max-width: 200px;
    display: block;
}

.footer-about p {
    font-size: 0.95rem;
    color: #ccc;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-contact-info i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-info p span {
    flex-grow: 1;
    word-break: break-word;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Navigáció a lábléc alján */
.footer-nav {
    background-color: #252525;
    padding: 0.5rem 0;
    text-align: center;
}

.footer-nav-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-nav-item {
    margin-bottom: 0.3rem;
}

.footer-nav-link {
    color: #ccc;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    display: block;
    transition: var(--transition);
}

.footer-nav-link:hover {
    color: var(--primary);
}

/* ============================================
   RESZPONZÍV STÍLUSOK
============================================ */
/* Nagy képernyők (1200px felett) */
@media (min-width: 1200px) {
    /* nagy képernyős beállítások */
}

/* Asztali méret (992px felett) */
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grants-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-nav-toggle {
        display: none !important;
    }
}

/* Tablet méret (768px-991px) */
@media (max-width: 991px) {
    /* Mobil menü */
    .mobile-nav-toggle {
        display: flex !important;
        background-color: var(--secondary);
        border: none;
        box-shadow: var(--shadow);
        color: white;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        left: 50%; /* közép */
        transform: translateX(-50%);
        z-index: 990;
        border-radius: 4px;
        font-size: 28px;
    }
    
    .navbar-toggler {
        transform: scale(0.8);
        transform-origin: top right;
    }
    
    .nav-container {
        min-height: 65px;
        position: relative;
        padding: 10px 0;
        justify-content: flex-start; /* Balra igazítjuk */
        padding-left: 60px; /* Helyet hagyunk a menü gombnak */
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary);
        flex-direction: column;
        display: none;
        z-index: 991;
        border-top: 1px solid var(--primary);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        padding-left: 20px;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    /* Mobil dropdown menü */
    .dropdown {
        position: static;
        width: 100%;
        display: none;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        transform: none;
        background-color: #444;
        transition: none;
        z-index: 1000;
    }
    
    .nav-item.open .dropdown {
        display: block;
    }
    
    .dropdown-link {
        padding: 0.8rem 20px 0.8rem 40px;
        color: #f8f8f8;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-item:last-child .dropdown-link {
        border-bottom: none;
    }
    
    .dropdown-link:hover {
        background-color: var(--primary);
        padding-left: 45px;
        color: white;
    }
    
    /* Egyéb tablet méretű elem beállítások */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content, .about-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .xcmg-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobil méret (768px alatt) */
@media (max-width: 767px) {
    /* Alapvető méretezések mobilra */
    .top-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .top-right {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .lang-switcher {
        margin-left: 0;
        margin: 0.5rem auto;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title h1,
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    /* Kategória és termék elemek */
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        height: 350px; /* Magasabb kártya mobil nézetben */
    }
    
    .category-overlay {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    /* Hero bannner */
    .hero-banner {
        height: 300px;
    }
    
    .hero-banner .hero-text {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .hero-banner .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-banner .hero-text p {
        font-size: 1rem;
    }
    
    /* Kategória oldalak - Használt gépek */
    .used-header {
        padding: 1.5rem;
    }
    
    .used-header h2 {
        font-size: 1.5rem;
    }
    
    .category-header h1 {
        font-size: 1.8rem;
    }
    
    .empty-category {
        padding: 2rem 1rem;
    }
    
    /* Lábléc beállítások */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Kapcsolat oldal */
    .contact-grid {
        padding: 1.5rem;
    }
    
    .contact-info h2, 
    .map-container h2 {
        font-size: 1.5rem;
    }
    
    .map-wrapper {
        min-height: 350px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Kis mobil méret (576px alatt) */
@media (max-width: 576px) {
    .section-title h1,
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .category-card {
        height: 280px;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .category-overlay p {
        font-size: 0.9rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-img-container {
        height: 180px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .partner-logo {
        max-width: 120px;
    }
    
    /* Pályázatok */
    .grants-section {
        padding: 2rem 1rem;
    }
    
    .grant-item {
        padding: 1.5rem;
    }
    
    .grant-item h3 {
        font-size: 1.15rem;
    }
    
    /* Hero banner */
    .hero-banner {
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .hero-banner .hero-text {
        padding: 1.2rem;
    }
    
    .hero-banner .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-banner .hero-text p {
        font-size: 0.9rem;
    }
}

/* Legkisebb mobilok (375px alatt) */
@media (max-width: 375px) {
    .section-title h1, 
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .category-card {
        height: 250px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}