/* --- HERO SZEKCIÓ --- */
.hero {
    /* Rengeteg "White Space" a tartalom körül */
    padding: 100px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60vh;
    /* A képernyő magasságának legalább a 60%-át elfoglalja */
}

.hero-content {
    max-width: 800px;
    /* Ne engedjük a szöveget túl szélesre folyni */
}

.hero h1 {
    /* A clamp() minimális, ideális és maximális méretet állít be */
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -1px;
    /* Kicsit szorosabb betűköz, nagyon elegáns */
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- GOMB STÍLUSOK (Apple "Pill" forma) --- */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 40px;
    /* Teljesen kerekített végek */
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
    /* Pici emelkedés hoverre */
    box-shadow: 0 10px 20px rgba(16, 47, 118, 0.15);
    /* Finom árnyék */
}

/* --- MIKRÓ-ANIMÁCIÓK (Beúszás betöltéskor) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    /* Kicsit lejjebb indul */
    /* cubic-bezier: ez adja meg a "lassuló", elegáns Apple-ös mozgást */
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Késleltetések, hogy az elemek egymás után jelenjenek meg */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- TERMÉKEK SZEKCIÓ --- */
.products {
    background-color: var(--bg-light);
    /* Nagyon világos szürke háttér, hogy a kártyák kiemelkedjenek */
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Kártyák Rácsszerkezete (Grid) - EZ MARAD */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobilon 1 oszlop */
    gap: 30px;
    /* Távolság a kártyák között */
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- KÉPEK A KÁRTYÁKBAN (Logó vágás javítva) --- */
.product-image-placeholder {
    width: 100%;
    height: 280px;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    overflow: hidden;
}

.product-image-placeholder img {
    width: 100%;
    height: 100%;
    padding: 10px;
    /* Visszatettünk egy pici belső margót, hogy a logó tuti ne érjen a széléhez */
    object-fit: contain;
    mix-blend-mode: multiply;

    /* Kivettük a scale(1.15)-öt, hogy alapállapotban ne legyen felnagyítva! */
    transform: scale(1);

    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Finomított Apple-zoom effektus rámutatáskor */
.product-card:hover .product-image-placeholder img {
    transform: scale(1.05);
    /* Csak egy nagyon picit nagyítunk rajta, hogy a logó ne tűnjön el hoverkor sem */
}

.product-card h3 {
    font-size: 1.3rem;
    /* Az !important garantálja, hogy a böngésző semmiképp ne írja felül a mi mélykék logó-színünket */
    color: var(--primary-blue) !important;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

/* Listák a kártyán belül */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
    /* Hely a vizuális "pipának" vagy pontnak */
}

/* Elegáns egyedi felsorolásjelző (kék pont) */
.feature-list li::before {
    content: "•";
    color: var(--primary-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
    font-family: var(--font-main);
}

.feature-list strong {
    color: var(--primary-blue);
}

/* --- ASZTALI NÉZET (768px felett) --- */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Asztali gépen 2 oszlopos elrendezés */
        gap: 40px;
    }
}

/* --- BEMUTATKOZÁS (RÓLUNK) SZEKCIÓ --- */
.about {
    background-color: var(--bg-white);
    padding: 120px 20px;
    /* Hatalmas negatív tér a prémium érzetért */
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-blue);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.about-content .lead-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.about-content p:not(.lead-text) {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    /* Nagyobb sorköz a könnyebb olvashatóságért */
}

/* --- KAPCSOLAT SZEKCIÓ --- */
.contact-section {
    padding: 40px 20px 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    max-width: 1000px;
    margin: 0 auto;
}

/* Elérhetőségek */
.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Űrlap stílusok */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

/* Bemeneti mezők Apple-stílusban */
.form-group input,
.form-group textarea {
    font-family: var(--font-secondary);
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background-color: var(--bg-light);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

/* Amikor a felhasználó belekattint a mezőbe */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--bg-white);
    border-color: var(--primary-blue);
    /* Elegáns fókusz gyűrű */
    box-shadow: 0 0 0 4px rgba(16, 47, 118, 0.1);
}

.submit-btn {
    margin-top: 10px;
    width: 100%;
    /* Mobilon teljes szélességű gomb */
}

/* --- ASZTALI NÉZET --- */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        /* A form szélesebb helyet kap, mint az infók */
        padding: 60px;
    }

    .submit-btn {
        width: auto;
        align-self: flex-start;
        /* Asztalon csak akkora, amekkora kell */
    }
}

.products-hero {
    /* Nagyobb felső belső margó, hogy a fix fejléc ne takarjon rá a címre */
    padding-top: 120px !important;
}

/* --- EGYEDI TERMÉKOLDAL --- */
.product-detail-section {
    padding: 60px 20px 100px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Képgaléria */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    background-color: var(--bg-light);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease;
    /* Finom áttűnés képváltáskor */
}

/* Kisképek (Thumbnails) */
.thumbnail-gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 10px;
    object-fit: contain;
    mix-blend-mode: multiply;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Termékinformációk (Jobb oldal) */
.product-info h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.1;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 500;
}

/* Elegáns, ikonos felsorolás */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.feature-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-row svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-row strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-row p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Gombok és linkek */
.product-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.back-link {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.back-link:hover {
    color: var(--primary-blue);
}

/* --- ASZTALI NÉZET --- */
@media (min-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        /* Fele kép, fele szöveg */
        align-items: center;
    }

    .main-image-container {
        height: 500px;
        /* Asztalon magasabb a kép */
    }

    .thumbnail-gallery {
        justify-content: flex-start;
        /* Asztalon balra igazítjuk a kisképeket */
    }
}

/* --- RÓLUNK OLDAL (Apple Stílus) --- */

.about-hero {
    padding: 140px 20px 60px;
    /* Hatalmas felső tér a fejléc miatt */
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-blue);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.about-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* 3 Kártyás Rács */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobilon egymás alatt */
    gap: 30px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-card {
    background-color: var(--bg-white);
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(16, 47, 118, 0.08);
}

/* Letisztult vonalas ikonok */
.about-card svg {
    width: 60px;
    height: 60px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    stroke-width: 1.5px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
}

/* --- ASZTALI NÉZET --- */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Asztalon 3 oszlop egymás mellett */
        padding: 40px 20px;
    }
}