:root {
    --bg-dark: #1e1e1e;
    --bg-panel: #2a2a2a;
    --rust: #b7410e;
    --rust-hover: #96350b;
    --metal-gray: #8e8e8e;
    --coffee: #4a3525;
    --text-light: #e0e0e0;
    --text-muted: #aaaaaa;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    background-image: radial-gradient(rgba(0,0,0,0.3) 1px, transparent 0);
    background-size: 24px 24px;
    padding-top: 85px; /* Kicsit növelve a logó magassága miatt */
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header {
    background-color: rgba(20, 20, 20, 0.95);
    border-bottom: 2px solid var(--rust);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px; /* Kisebb belső padding, hogy a logó tágítsa a menüt */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- KÉPES LOGÓ ÚJ STÍLUSA --- */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 55px; /* Biztosítja, hogy tökéletesen illeszkedjen a fejlécbe */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.header-logo:hover {
    transform: scale(1.03);
}

nav {
    display: flex;
    align-items: center;
}

nav .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rust);
    transition: var(--transition-smooth);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a:hover {
    color: #fff;
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--rust);
    color: var(--text-light);
    padding: 5px 12px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.lang-switch:hover {
    background-color: var(--rust);
    color: #fff;
}

section {
    padding: 90px 20px 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

#home {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.80)), url('caffe.jfif') no-repeat center center/cover;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: var(--rust);
    color: #fff;
    padding: 12px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(183, 65, 14, 0.4);
}

.cta-button:hover {
    background-color: var(--rust-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 65, 14, 0.6);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
}

.factory-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--bg-panel);
    border: 1px solid #3a3a3a;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--rust);
    transform: scaleY(0);
    transition: var(--transition-smooth);
    transform-origin: bottom;
}

.card:hover::before {
    transform: scaleY(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: #4a4a4a;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.card .price {
    font-size: 1.25rem;
    color: var(--rust);
    font-weight: 700;
    margin-bottom: 25px;
}

.card ul {
    list-style: none;
    margin-bottom: 35px;
}

.card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.4;
}

.card ul li::before {
    content: '⚙️';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
}

.badge-extra {
    background-color: var(--rust);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    font-weight: bold;
    margin-left: 5px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    background-color: var(--bg-panel);
    border: 1px solid #3a3a3a;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--rust);
    background-color: #333;
}

.gdpr-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gdpr-checkbox input {
    margin-top: 3px;
    cursor: pointer;
}

.legal-links-container {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-links-container a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition-smooth);
}

.legal-links-container a:hover {
    color: var(--rust);
}

footer {
    background-color: #141414;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.copyright-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px dashed #3a3a3a;
    display: inline-block;
    max-width: 500px;
}

.copyright-box p {
    margin-bottom: 5px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-content {
    background-color: var(--bg-panel);
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #444;
    width: 100%;
    max-width: 800px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: #fff;
}

.fade-in {
    animation: fadeInAnimation 1s ease forwards;
}

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2001;
    position: relative;
    width: 45px;
    height: 45px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--rust);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--rust);
}

@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }

    .header-logo {
        height: 45px; /* Mobilon kicsit kisebb logó, hogy elférjen a hamburger menü mellett */
        font-size: 110%;
    }

    nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(20, 20, 20, 0.98);
        border-left: 3px solid var(--rust);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        padding: 40px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1005;
    }

    nav .nav-links.active {
        right: 0;
    }

    nav a {
        font-size: 1.3rem;
    }

    .about-grid, .grid-3, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    body {
        padding-top: 75px;
    }

    section {
        padding: 60px 20px 40px 20px;
    }
}
.logo-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-left: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}
.about-p2 {
    font-size: 0.90rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
}
.about-p1 {
    font-size: 0.90rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
}
.hightcp {
    font-size: 10%;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 10px;
}