/* TZM - The Zero Movement | CSS Reset & Base Styles */
:root {
    --primary: #2c5530;
    --secondary: #4a7c59;
    --accent: #8fb996;
    --light: #f8f9fa;
    --dark: #1e2b22;
    --gray: #6c757d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
    overflow-x: hidden;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; }

.text-center { text-align: center; }

/* HEADER & NAVIGATION */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo-dot { color: var(--secondary); }

.desktop-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.desktop-menu a:hover { color: var(--primary); }
.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}
.desktop-menu a:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    min-height: 44px;
    min-width: 44px;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    width: 100%;
    text-align: center;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { margin: 15px 0; }
.mobile-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
}

/* HERO SECTION */
.hero {
    margin-top: 70px;
    text-align: center;
    padding: 40px 0;
}

.hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    min-height: 200px; /* Minimum magasság */
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Biztosítja, hogy ne lógjon ki */
    background-color: #f0f0f0; /* Háttérszín ha a kép hiányzik */
}

.hero-text-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.5;
}

/* KÉP BETÖLTÉSI ANIMÁCIÓ */
.hero-image {
    opacity: 0;
    animation: fadeInImage 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInImage {
    to { opacity: 1; }
}

/* HIBÁTÚRŐ HA A KÉP NEM TÖLTŐDIK BE */
.hero-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.1;
    border-radius: 8px;
    z-index: -1;
}

/* Fallback text ha a kép hiányzik */
.hero-image:after {
    content: 'TZM - The Zero Movement';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.hero-image[src=""]:after,
.hero-image:not([src]):after {
    opacity: 1;
}

/* SECTIONS */
.section { padding: 80px 0; }

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* VALUE PROPOSITION */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* HOW IT WORKS SECTION */
.process-section { background-color: #f8faf8; }

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.step-highlight {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

/* WHY CHOOSE US */
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.differentiator-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.differentiator-tag {
    display: inline-block;
    background-color: #e8f4e8;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CLIENT STORIES */
.stories-section { background-color: #f0f7f0; }

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.story-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.story-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 15px;
}

.story-company {
    font-weight: 700;
    color: var(--dark);
}

.story-sector {
    font-size: 0.9rem;
    color: var(--gray);
}

.story-quote {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    padding-left: 20px;
}

.story-quote:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.story-results {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.result-value {
    font-weight: 700;
    color: var(--primary);
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.cta-section .section-title { color: white; }
.cta-section .section-title::after { background-color: var(--accent); }

.cta-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.cta-option {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 30px;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-option h3 { color: var(--primary); margin-bottom: 15px; }
.cta-option p { margin-bottom: 25px; color: var(--gray); }
.cta-option .btn { width: 100%; }

/* CALCULATOR */
.calculator-section { background-color: #f0f7f0; }

.calculator-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.calculator-info {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1rem;
}

/* ESG SECTION */
.esg-highlight {
    background-color: #e8f4f1;
    border-left: 5px solid var(--primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.esg-highlight h3 { color: var(--primary); margin-top: 0; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-secondary { background-color: var(--secondary); border-color: var(--secondary); }
.btn-light { background-color: transparent; color: var(--primary); border-color: var(--primary); }
.btn-white { background-color: white; color: var(--primary); border-color: white; }

.btn-secondary:hover { background-color: transparent; color: var(--secondary); }
.btn-light:hover { background-color: var(--primary); color: white; }
.btn-white:hover { background-color: transparent; color: white; border-color: white; }

/* CONTACT FORM */
.contact-form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

/* FOOTER */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: font-weight 0.15s ease-in-out;
}

footer a:hover { font-weight: 700; }

.client-portal-btn {
    display: block;
    margin: 30px auto;
    text-align: center;
}

.client-portal-btn img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition);
}

.client-portal-btn img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */

@media (max-width: 992px) {
    .process-step { min-width: 220px; }
}

@media (max-width: 768px) {
    .desktop-menu { display: none; }
    .mobile-menu-btn { 
        display: block;
        margin-right: 10px;
    }
    
    /* HERO FIX MOBILON */
    .hero { 
        margin-top: 60px; 
        padding: 30px 0 20px;
    }
    
    .hero-image-container { 
        margin-bottom: 25px;
        min-height: 150px;
    }
    
    .hero-image {
        max-height: 250px;
        object-fit: cover; /* Kép arányok megtartása */
    }
    
    .hero-text-content {
        padding: 0 15px;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .section { padding: 50px 0; }
    .section-title { 
        font-size: 1.8rem; 
        margin-bottom: 40px;
    }
    
    .section-title::after {
        width: 60px;
        bottom: -12px;
    }
    
    .process-steps { 
        flex-direction: column; 
        align-items: center;
        gap: 40px;
    }
    
    .process-step, .cta-option { 
        max-width: 100%; 
        width: 100%;
        margin-bottom: 0;
    }
    
    /* KÉP HIÁNYÁNAK KEZELÉSE MOBILON */
    .hero-image[src=""],
    .hero-image:not([src]) {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        min-height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
    }
    
    .hero-image[src=""]:before,
    .hero-image:not([src]):before {
        content: 'TZM';
        color: white;
        opacity: 1;
        font-size: 1.5rem;
        font-weight: 700;
    }
}

@media (max-width: 576px) {
    .value-grid, .differentiators-grid, .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo { 
        font-size: 1.5rem; 
        left: 15px;
        max-width: 120px;
        overflow: hidden;
    }
    
    /* EXTRA KIS KÉPERNYŐK */
    .hero {
        margin-top: 55px;
        padding: 20px 0 15px;
    }
    
    .hero-image-container {
        min-height: 120px;
        margin-bottom: 20px;
    }
    
    .hero-image {
        max-height: 180px;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* EXTRA KICSI KÉPERNYŐK (iPhone 5/SE stb.) */
@media (max-width: 375px) {
    .hero-image-container {
        min-height: 100px;
    }
    
    .hero-image {
        max-height: 150px;
    }
    
    h1 { font-size: 1.8rem; }
    .hero-tagline { font-size: 1.1rem; }
    
    .container {
        padding: 0 15px;
    }
}

/* ==================== */
/* LANGUAGE SWITCHER */
/* ==================== */

/* Desktop Language Switcher */
.language-switcher {
    position: absolute;
    right: 860px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 1001;
}

.language-switcher a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(44, 85, 48, 0.2);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.language-switcher a:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.language-switcher img {
    border-radius: 2px;
    border: 1px solid #ddd;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    background: rgba(248, 249, 250, 0.95);
}

.mobile-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    background: white;
    transition: var(--transition);
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.mobile-lang-btn:hover {
    background: var(--primary);
    color: white;
}

.mobile-lang-btn img {
    border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .language-switcher {
        right: 100px;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        right: 80px;
    }
    
    .language-switcher a span {
        display: none; /* Hide text on mobile, show only flag */
    }
    
    .language-switcher a {
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    .language-switcher {
        right: 60px;
    }
    
    .language-switcher a {
        padding: 5px 8px;
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .language-switcher {
        right: 50px;
    }
} 