/* =========================
   ALAPBEÁLLÍTÁSOK
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bordo: #701319;
    --bordo-light: #8a1c23;
    --text: #2b2b2b;
    --background: #f7f5f4;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--background);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* =========================
   FEJLÉC & NAVIGÁCIÓ (JAVÍTOTT TÖBBSOROS MOBIL NÉZET)
========================= */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 15px rgba(112,19,25,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 8px; /* Kisebb oldalsó padding mobilon, hogy jobban elférjenek a gombok */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A logó stílusai eltávolításra kerültek a fejlécből a helytakarékosság miatt */

.main-nav {
    margin-top: 0;
    width: 100%;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;        /* Oldalgörgetés helyett kényszerített sortörés mobilon */
    overflow-x: visible;    /* Eltávolítva a vízszintes görgetőcsatorna */
    gap: 6px 5px;           /* Függőleges és vízszintes távolság a menügombok között */
    padding: 4px 2px;
    width: 100%;
    justify-content: center; /* Mobilon esztétikusan középre rendezi a sorokat */
}

/* Eltüntetjük a böngészők esetleges beépített görgetősávjait */
.main-nav ul::-webkit-scrollbar {
    display: none;
}
.main-nav ul {
    scrollbar-width: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--bordo);
    font-weight: 600;
    font-size: 0.72rem; /* Finomított betűméret, hogy mobilon 2-3 sorba szépen elrendeződjön */
    padding: 5px 8px;
    border-radius: 6px;
    transition: 0.25s ease;
    background: #f7f5f4;
    white-space: nowrap;
    display: inline-block;
}

.main-nav a span {
    color: #ff9800;
}

.main-nav a:hover {
    background: var(--bordo);
    color: white;
}


/* =========================
   TARTALOM & SZEKCIÓK
========================= */

.content-wrapper {
    padding-top: 145px; /* Megnövelt távolság mobilon, hogy a 2-3 soros menü ne takarja ki a tartalom tetejét */
    padding-bottom: 30px;
    flex: 1;
}

.web-section {
    scroll-margin-top: 145px; /* Belső hivatkozásokra kattintáskor az új fejlécmagassághoz igazítja az ugrást */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

h1, h2, h3 {
    color: var(--bordo);
    margin-bottom: 15px;
}

h1 {
    font-size: 1.55rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 1rem;
}

.section-desc {
    color: #666;
    margin-bottom: 25px;
}


/* =========================
   HERO SZEKCIÓ & LOGÓ KIEMELÉS
========================= */

.hero-section {
    background: white;
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 25px;
    align-items: center;
}

.hero-text {
    width: 100%;
}

.hero-highlight {
    font-size: 1.05rem;
    border-left: 4px solid var(--bordo);
    padding-left: 12px;
    margin-bottom: 15px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cta-btn {
    display: inline-block;
    background: var(--bordo);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.25s;
    text-align: center;
    width: 100%;
}

.cta-btn:hover {
    background: var(--bordo-light);
}

.cta-secondary {
    background: #f7f5f4;
    color: var(--bordo);
    border: 1px solid rgba(112,19,25,0.2);
}

.cta-secondary:hover {
    background: #e8e4e2;
}

.hero-main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.hero-large-brand-img {
    width: 100%;
    height: auto;
    max-width: 220px;
    margin-bottom: 15px;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.12));
}

.hero-badge {
    width: 100%;
    max-width: 220px;
    background: #fafafa;
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 10px;
}

.cert-img {
    width: 100%;
    display: block;
}


/* =========================
   KAMERABÉRLÉS SZEKCIÓ & PROMO GALÉRIA
========================= */

.rental-section {
    background: white;
}

.rental-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.rental-card {
    background: var(--background);
    padding: 20px;
    border-radius: 12px;
    border-top: 4px solid var(--bordo);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.promo-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.promo-img-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.promo-img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.promo-img-caption {
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.use-case-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.use-case-item {
    background: #fafafa;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #ff9800;
    font-size: 0.95rem;
    line-height: 1.4;
}


/* =========================
   LISTÁK
========================= */

.info-group ul {
    list-style-type: none;
}

.info-group li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 1rem;
}

.info-group li::before {
    content: "•";
    color: var(--bordo);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.margin-top-large {
    margin-top: 35px;
}


/* =========================
   PARTNEREK
========================= */

.brands-section {
    background: #fafafa;
}

.brands-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.brand-item {
    height: 90px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.brand-item img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
}


/* =========================
   REFERENCIÁK
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   KAPCSOLAT & ŰRLAP
========================= */

.contact-section {
    background: white;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info a {
    color: var(--bordo);
    text-decoration: none;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 12px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bordo);
    box-shadow: 0 0 6px rgba(112, 19, 25, 0.15);
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.submit-btn {
    background: var(--bordo);
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}


/* =========================
   SÜTI BANNER & LIGHTBOX
========================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 3000;
    display: none;
    border-top: 3px solid var(--bordo);
}

.cookie-banner.active {
    display: block;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
}

.accept-btn { background: var(--bordo); color: white; }
.reject-btn { background: #e0e0e0; color: #333; }

.lightbox {
    display: none;
    position: fixed;
    z-index: 4000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active { display: flex; }
.lightbox-content { max-width: 95%; max-height: 80vh; border-radius: 6px; }
.lightbox-close { position: absolute; top: 15px; right: 20px; color: white; font-size: 35px; cursor: pointer; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    user-select: none;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }


.main-footer { width: 100%; background: white; border-top: 2px solid var(--bordo); text-align: center; }
.footer-container { padding: 15px; font-size: 0.8rem; }


/* =========================
   ASZTALI MONITOR OPTIMALIZÁLÁS
========================= */

@media (min-width: 768px) {
    .web-section { 
        scroll-margin-top: 75px; /* Asztali nézetben vékonyabb a fejléc, kisebb margó kell */
    }
    .header-container { 
        flex-direction: row; 
        justify-content: center; 
        padding: 12px 20px; 
    }
    .main-nav { 
        width: 100%; 
    }
    .main-nav ul { 
        flex-wrap: nowrap; /* Asztalon visszaállítjuk egy sorba a menüt */
        gap: 10px; 
        justify-content: center; /* Logó nélkül tökéletesen középre záródnak a menüpontok */
    }
    .main-nav a { 
        font-size: 0.85rem; 
        padding: 8px 14px; 
        background: transparent; 
    }
    .content-wrapper { 
        padding-top: 75px; 
    }
    .section-container { 
        padding: 60px 20px; 
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-container { flex-direction: row; justify-content: space-between; gap: 40px; }
    .hero-text { flex: 1; }
    .hero-actions { flex-direction: row; }
    .hero-main-logo { flex: 0 0 320px; max-width: 320px; }
    .hero-large-brand-img { max-width: 300px; margin-bottom: 25px; filter: drop-shadow(0px 12px 24px rgba(0, 0, 0, 0.15)); }
    .hero-badge { max-width: 300px; padding: 10px; }
    .cta-btn { width: auto; }

    .rental-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    
    .promo-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .promo-img-card img { height: 220px; }

    .use-case-list { flex-direction: row; }
    .use-case-item { flex: 1; }

    .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .contact-grid { flex-direction: row; gap: 50px; }
    .contact-info, .contact-form-container { flex: 1; }

    .cookie-container { flex-direction: row; justify-content: space-between; padding: 15px 30px; }
    .cookie-container p { text-align: left; max-width: 70%; }
    .cookie-buttons { width: auto; gap: 15px; }
    .cookie-btn { padding: 8px 20px; }
}

@media (min-width: 1200px) {
    .brands-grid { grid-template-columns: repeat(8, 1fr); }
    .rental-grid { grid-template-columns: repeat(4, 1fr); }
}