/* ALAPBEÁLLÍTÁSOK */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #f4f4f4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #000;
    padding: 1.5rem 1rem; /* Kisebb párnázás, hogy több hely maradjon */
    text-align: center;
    border-bottom: 2px solid #d4af37;
    overflow: hidden; /* Biztonsági mentés kilógás ellen */
}

header h1 {
    font-size: 1.7rem; /* Kisebb betűméret, hogy elférjen egy sorban mobilom is */
    letter-spacing: 1px; /* Kisebb betűköz a hosszú név miatt */
    text-transform: uppercase;
    color: #fff;
    word-wrap: break-word;
}

/* BEMUTATKOZÁS */
.hero {
    padding: 2rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* TERMÉKEK RÁCSA */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 1rem;
}

.product-card {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 15px; /* Kicsit kisebb belső hely */
    width: 320px;
    text-align: center;
    transition: 0.3s;
}

.product-card:hover {
    border-color: #d4af37;
}

.product-image-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: zoom-in;
}

.product-gallery {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.product-gallery img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #444;
    cursor: pointer;
}

.price {
    font-size: 1.4rem; /* Kicsit finomabb ár */
    font-weight: bold;
    color: #fff;
    margin: 5px 0;
}

.description {
    font-size: 0.85rem; /* Kisebb, olvashatóbb leírás */
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
    min-height: 60px; /* Egyforma kártyamagasságért */
}

/* GOMBOK */
.buy-button {
    background-color: #d4af37;
    color: #000;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* MODAL / POP-UP */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 10px;
}

#modalImg {
    max-width: 95%;
    max-height: 80%;
    border: 2px solid #d4af37;
}

/* RENDELÉSI ABLAK */
.order-content {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    border: 2px solid #d4af37;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.order-form input, 
.order-form select, 
.order-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #000;
    color: #fff;
    font-size: 0.95rem;
}

.submit-button {
    background-color: #d4af37;
    color: #000;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
}
