/* =================================================================== */
/*                     ALAP BEÁLLÍTÁSOK ÉS VÁLTOZÓK                    */
/* =================================================================== */
:root {
    --szin-hatter: #000000;
    --szin-doboz: #1a1a1ade;
    --szin-szoveg: #ffc355;
    --szin-cim: #d48337;
    --szin-kiemelt: rgb(212, 112, 55);
    --szin-szurke: #A0A0A0;
    --szin-border: rgba(255, 136, 0, 0.1);
}

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

html { 
    scroll-behavior: smooth; 
}

/* =================================================================== */
/*                            GLOBÁLIS STÍLUSOK                        */
/* =================================================================== */
body { 
    font-family: 'Nunito Sans', sans-serif; 
    background-color: var(--szin-hatter); 
    color: var(--szin-szoveg); 
    font-size: 16px; 
    line-height: 1.7; 
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    
    /* JAVÍTÁS: Itt adjuk hozzá a sötétítő réteget a háttérképhez */
    background-image: linear-gradient(rgba(0, 0, 0, 0.719), rgba(0, 0, 0, 0.315)), url('../img/hero-bg.png');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Ez az EGYETLEN szabály, ami a homályosítást és sötétítést RÁTESZI a háttérre.
   Csak akkor lép érvénybe, ha a body tagen rajta van a 'subpage-background' osztály. */
body.subpage-background::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* A háttérképet nem kell újra megadni, elég a filtereket rátenni egy áttetsző rétegre */
    backdrop-filter: blur(8px) brightness(0.3);
    z-index: -1;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

section { 
    padding: 60px 0; 
}

section:first-child { 
    padding-top: 120px; 
}

.main-content-box {
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--szin-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =================================================================== */
/*                      TIPOGRÁFIA ÉS ALAP ELEMEK                      */
/* =================================================================== */
h1, h2, h3, p, span, div, a, li { 
    text-shadow: 0 1px 3px rgba(0,0,0,0.6); 
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--szin-cim); 
    font-weight: 700; 
    line-height: 1.3; 
}

h1 { font-size: 3rem; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
h2::after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px; 
    background-color: var(--szin-kiemelt); 
    margin: 15px auto 0; 
    border-radius: 2px; 
    opacity: 0.7; 
}

p { 
    margin-bottom: 15px; 
    color: var(--szin-szurke); 
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    border-radius: 8px; 
}

.gomb { 
    display: inline-block; 
    background-color: var(--szin-kiemelt); 
    color: var(--szin-hatter); 
    padding: 12px 30px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease; 
}

.gomb:hover { 
    transform: translateY(-3px); 
    background-color: #fff; 
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); 
}

.back-link {
    color: var(--szin-kiemelt);
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 600;
    border: 1px solid var(--szin-border);
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.back-link:hover {
    background-color: var(--szin-kiemelt);
    color: var(--szin-hatter);
    border-color: var(--szin-kiemelt);
}

.kiemelt-alcim { 
    font-size: 1.5rem; 
    font-family: 'Nunito Sans', sans-serif; 
    font-weight: 700; 
    color: var(--szin-kiemelt); 
    margin-bottom: 15px; 
}

/* =================================================================== */
/*                         FEJLÉC ÉS NAVIGÁCIÓ                         */
/* =================================================================== */
.site-header { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; 
    z-index: 1000; 
    background-color: rgba(13, 13, 13, 0.7); 
    backdrop-filter: blur(10px); 
    padding: 15px 0; 
    border-bottom: 1px solid var(--szin-border); 
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--szin-cim); 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.logo-image { 
    height: 50px; 
    width: auto; 
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7)); 
    transition: transform 0.3s ease; 
}

.logo:hover .logo-image { 
    transform: scale(1.1); 
}

.main-nav { 
    display: block; 
}

.main-nav ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
}

.main-nav a { 
    color: var(--szin-szoveg); 
    text-decoration: none; 
    font-weight: 600; 
    position: relative; 
    padding-bottom: 5px; 
}

.main-nav a::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; left: 0; 
    width: 100%; 
    height: 2px; 
    background-color: var(--szin-kiemelt); 
    transform: scaleX(0); 
    transition: transform 0.3s ease; 
}

.main-nav a:hover, .main-nav a.active { 
    color: var(--szin-kiemelt); 
}

.main-nav a:hover::after, .main-nav a.active::after { 
    transform: scaleX(1); 
}

.mobile-nav-toggle { 
    display: none; 
    z-index: 1002; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 10px; 
}

.mobile-nav-toggle .bar { 
    display: block; 
    width: 25px; 
    height: 3px; 
    background: var(--szin-szoveg); 
    margin: 5px 0; 
    transition: all 0.4s ease-in-out; 
}

/* =================================================================== */
/*                          FŐOLDAL (HERO SZEKCIÓ)                     */
/* =================================================================== */
#fooldal { 
    padding: 0; 
}

.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    position: relative; 
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-bg.png'); 
    background-size: cover; 
    background-position: center; 
}

.hero-content { 
    max-width: 800px; 
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 30px 40px; 
    border-radius: 12px; 
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.hero h1 { 
    font-size: 4rem; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    color: var(--szin-szoveg); 
}

/* =================================================================== */
/*                  BEMUTATKOZÓ ÉS AKCIÓK (VÁLTAKOZÓ GRID)             */
/* =================================================================== */
.bemutatkozo-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 40px; 
    align-items: center; 
    margin-bottom: 60px; 
}

.bemutatkozo-grid:last-child { 
    margin-bottom: 0; 
}

.bemutatkozo-kep img { 
    border: 5px solid rgba(255,255,255,0.05); 
}

.bemutatkozo-grid.layout-reversed { 
    grid-template-columns: 1.2fr 1fr; 
}

.bemutatkozo-grid.layout-reversed .bemutatkozo-kep { 
    grid-column: 2 / 3; 
    grid-row: 1 / 2; 
}

.bemutatkozo-grid.layout-reversed .bemutatkozo-szoveg { 
    grid-column: 1 / 2; 
    grid-row: 1 / 2; 
}

/* =================================================================== */
/*                GALÉRIA ÉS ALOLDALI GRIDEK                             */
/* =================================================================== */

/* --- GALÉRIA SZŰRŐ GOMBOK --- */
.gallery-filters { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-bottom: 40px; 
}

.filter-btn { 
    background-color: transparent; 
    border: 1px solid var(--szin-border); 
    color: var(--szin-szurke); 
    padding: 8px 20px; 
    border-radius: 50px; 
    font-size: 0.9em; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.filter-btn:hover { 
    background-color: var(--szin-doboz); 
    color: var(--szin-szoveg); 
}

.filter-btn.active { 
    background-color: var(--szin-kiemelt); 
    color: var(--szin-hatter); 
    border-color: var(--szin-kiemelt); 
}

.gallery-item { 
    display: block; 
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- KÁRTYA GRID RENDSZEREK --- */
.munka-grid, .partner-grid, .project-image-grid {
    display: grid;
    gap: 20px;
}

/* Galéria Főoldal: 4 oszlop */
.munka-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Partnerek Oldal: 2 oszlop */
.partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
/* --- PARTNER KÁRTYA SPECIFIKUS STÍLUSOK --- */
.partner-card-frame {
    /* Flexboxot használunk a tartalom elrendezéséhez */
    display: flex;
    flex-direction: column;
    height: 100%; /* A kártyák egyforma magasak lesznek a grid sorában */
}

.partner-card-content {
    padding: 20px 10px 10px 10px;
    /* A tartalom kitölti a rendelkezésre álló helyet */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-card-frame .duta-frame-image {
    height: 180px; /* A partnerképek magasságát beállítjuk */
}

/* Projekt Részletező Oldal: 5 oszlop */
.project-image-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* --- PROJEKT RÉSZLETEZŐ OLDAL TOVÁBBI STÍLUSAI --- */
.project-title { 
    text-align: left; 
    margin-bottom: 5px; 
}

.project-title::after { 
    display: none; 
}

.project-category { 
    font-weight: 600; 
    color: var(--szin-szurke); 
    margin-bottom: 30px; 
}

.project-description { 
    background: rgba(0,0,0,0.2); 
    padding: 20px; 
    border-radius: 8px; 
    margin-bottom: 40px; 
    line-height: 1.8; 
}

/* =================================================================== */
/*                    KONTAKT OLDAL ÉS ÁLTALÁNOS ŰRLAP                 */
/* =================================================================== */
.kontakt-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 40px; 
}

.kontakt-info-item { 
    display: flex; 
    align-items: center; 
    margin-bottom: 25px; 
    font-size: 1.1rem; 
}

.kontakt-info-item i { 
    font-size: 1.5rem; 
    color: var(--szin-kiemelt); 
    width: 40px; 
    text-align: center; 
    margin-right: 20px; 
}

.google-map { 
    border-radius: 8px; 
    overflow: hidden; 
    border: 2px solid var(--szin-border); 
}

.kontakt-form input, .kontakt-form textarea, .kontakt-form select {
    width: 100%;
    padding: 15px;
    background-color: var(--szin-hatter);
    border: 1px solid var(--szin-border);
    border-radius: 5px;
    color: var(--szin-szoveg);
    font-size: 1rem;
    font-family: 'Nunito Sans', sans-serif;
}

.kontakt-form input:focus, .kontakt-form textarea:focus, .kontakt-form select:focus {
    outline: none;
    border-color: var(--szin-kiemelt);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* =================================================================== */
/*                         EGYEDI KÉPKERET                             */
/* =================================================================== */
.duta-frame {
    position: relative;
    padding: 12px;
    background: #111;
    border: 1px solid var(--szin-border);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    overflow: hidden;
}

.duta-frame-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.duta-frame-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.315);
    padding: 2px 6px;
    border-top: 1px solid var(--szin-border);
}

.duta-frame-tag {
    display: block;
    text-align: right;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.6em;
    font-weight: 600;
    color: #979797;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7), 0 0 6px rgba(0, 0, 0, 0.4);
}

.kategoria-overlay {
    position: absolute;
    bottom: 30px; /* A footer magassága felett */
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.kategoria-overlay h3 {
    color: #fff;
    margin: 0;
}

/* =================================================================== */
/*                          LIGHTBOX KÉPNÉZEGETŐ                       */
/* =================================================================== */
.lightbox { 
    display: none; 
    position: fixed; 
    z-index: 2000; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    backdrop-filter: blur(5px); 
    align-items: center; 
    justify-content: center; 
}

.lightbox.active { 
    display: flex; 
}

#lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border: 3px solid var(--szin-kiemelt);
    border-radius: 8px;
    animation: zoomIn 0.5s ease;
    object-fit: contain;
}

@keyframes zoomIn { 
    from { transform: scale(0.8); opacity: 0; } 
    to { transform: scale(1); opacity: 1; } 
}

.lightbox-close { 
    position: absolute; 
    top: 20px; right: 35px; 
    color: #fff; 
    font-size: 40px; 
    font-weight: bold; 
    cursor: pointer; 
}

#lightbox-content-wrapper { 
    position: relative; 
}

.lightbox-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(0,0,0,0.5); 
    color: white; 
    border: none; 
    font-size: 2rem; 
    padding: 10px 15px; 
    cursor: pointer; 
    transition: background 0.3s; 
    z-index: 2001; 
}

.lightbox-nav:hover { 
    background: rgba(0,0,0,0.8); 
}

.lightbox-nav.prev { 
    left: 10px; 
}

.lightbox-nav.next { 
    right: 10px; 
}

/* =================================================================== */
/*                              LÁBLÉC                                 */
/* =================================================================== */
.site-footer { 
    padding: 60px 0 30px 0; 
    border-top: 1px solid var(--szin-border); 
    position: relative; 
    background: var(--szin-hatter);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}
.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--szin-kiemelt);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-text p {
    color: var(--szin-szurke);
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: none;
}
.footer-links a:hover { color: var(--szin-kiemelt); }
.footer-text p { margin-bottom: 10px; line-height: 1.6; }
.footer-bottom {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--szin-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--szin-szurke);
}
.copyright { margin-bottom: 20px; }
/* A régi zöld villogó creator-effektet a lentebb definiált arany DropX-effekt váltja. */

/* =================================================================== */
/*                           ADMIN FELÜLET                             */
/* =================================================================== */
.admin-section {
    padding-top: 120px;
    padding-bottom: 60px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--szin-border);
    text-align: left;
}
.admin-table thead {
    background: rgba(0,0,0,0.3);
}
.admin-table th {
    color: var(--szin-kiemelt);
}
.admin-table td img {
    border-radius: 4px;
}
.action-btn {
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
}
.action-btn.edit {
    background-color: var(--szin-kiemelt);
    color: var(--szin-hatter);
}
.action-btn.delete {
    background-color: #8B0000;
    color: #fff;
}
.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.admin-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-decoration: none;
    color: var(--szin-szoveg);
    border-radius: 8px;
    border: 1px solid var(--szin-border);
    transition: all 0.3s ease;
    text-align: center;
}
.admin-menu-item:hover {
    transform: translateY(-5px);
    color: var(--szin-kiemelt);
    border-color: var(--szin-kiemelt);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.admin-menu-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: none;
}
.admin-menu-item span {
    font-weight: 600;
}

/* === BEÁLLÍTÁSOK OLDAL (Settings) === */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Két egyenlő oszlop */
    gap: 30px;
}

.settings-group {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border: 1px solid var(--szin-border);
    border-radius: 8px;
    height: 100%; /* Az oszlopok egyforma magasak lesznek */
}

.settings-subtitle {
    font-size: 1.5rem;
    color: var(--szin-szoveg);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--szin-border);
    padding-bottom: 10px;
}

/* Reszponzivitás a beállításokhoz */
@media (max-width: 992px) {
    .settings-grid {
        grid-template-columns: 1fr; /* Tablet és mobil nézetben egy oszlop */
    }
}

/* =================================================================== */
/*                  TABLET NÉZET (max-width: 992px)                    */
/* =================================================================== */
@media (max-width: 992px) {
    .main-nav { 
        display: none; 
    }
    .mobile-nav-toggle { 
        display: block; 
    }
    .main-nav.active { 
        display: flex; 
        position: fixed; 
        top: 0; right: 0; 
        width: 70%; 
        max-width: 320px; 
        height: 100vh; 
        background: rgba(13, 13, 13, 0.95); 
        backdrop-filter: blur(15px); 
        transform: translateX(0); 
        transition: transform 0.5s ease-in-out; 
        z-index: 1001; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
    }
    .main-nav ul { 
        flex-direction: column; 
        gap: 40px; 
        text-align: center; 
    }
    body.nav-open .mobile-nav-toggle .bar1 { transform: rotate(-45deg) translate(-5px, 6px); }
    body.nav-open .mobile-nav-toggle .bar2 { opacity: 0; }
    body.nav-open .mobile-nav-toggle .bar3 { transform: rotate(45deg) translate(-5px, -6px); }

    .munka-grid, .partner-grid { 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    }
    .project-image-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }
    
    .admin-menu-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .admin-menu-item { 
        padding: 20px 15px; 
    }
    .admin-menu-item i { 
        font-size: 2rem; 
    }
    .admin-menu-item span { 
        font-size: 0.9rem; 
    }
}

/* =================================================================== */
/*                   MOBIL NÉZET (max-width: 767px)                    */
/* =================================================================== */
@media (max-width: 767px) {
    .main-content-box { 
        padding: 25px 20px; 
    }
    h2 { 
        font-size: 2rem; 
    }
    .hero h1 { 
        font-size: 2.8rem; 
    }

    /* === PUBLIKUS OLDALAK MOBILON === */
    .bemutatkozo-grid, .bemutatkozo-grid.layout-reversed, .kontakt-grid { 
        grid-template-columns: 1fr; 
    }
    .bemutatkozo-grid {
        gap: 30px;
    }
    .bemutatkozo-grid.layout-reversed .bemutatkozo-kep,
    .bemutatkozo-grid.layout-reversed .bemutatkozo-szoveg {
        grid-column: auto;
        grid-row: auto;
    }
    .munka-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    .partner-grid { 
        grid-template-columns: 1fr; 
    }
    .project-image-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px; 
    }
    .duta-frame-image { 
        height: 150px; 
    }
        /* === EZ AZ ÚJ, JAVÍTÓ BLOKK === */
    .kontakt-grid {
        gap: 40px; /* Térköz a két rész között mobilon */
    }

    /* Biztosítjuk, hogy a google map iframe ne lógjon ki a konténerből */
    .kontakt-grid .google-map iframe, .google-map iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 300px;
    }

    /* === ADMIN FELÜLET MOBILON === */
    .admin-header { 
        flex-direction: column; 
        align-items: stretch; 
    }
    .admin-header .gomb { 
        width: 100%; 
        text-align: center; 
    }
    .admin-menu-grid { 
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
        gap: 15px; 
    }
    .admin-menu-item { 
        padding: 15px 10px; 
    }
    .admin-menu-item i { 
        font-size: 1.8rem; 
        margin-bottom: 10px; 
    }
    .admin-menu-item span { 
        font-size: 0.8rem; 
    }

    /* === RESZPONZÍV TÁBLÁZAT MOBILON === */
    .admin-table { 
        border: 0; 
    }
    .admin-table thead { 
        display: none; 
    }
    .admin-table tr { 
        display: block; 
        margin-bottom: 20px; 
        border: 1px solid var(--szin-border); 
        border-radius: 8px; 
        overflow: hidden; 
    }
    .admin-table td { 
        display: block; 
        text-align: right; 
        padding: 10px 15px; 
        border-bottom: 1px solid var(--szin-border); 
    }
    .admin-table td:last-child { 
        border-bottom: 0; 
    }
    .admin-table td::before { 
        content: attr(data-label); 
        float: left; 
        font-weight: bold; 
        color: var(--szin-kiemelt); 
    }
    .admin-table td img { 
        max-width: 80px; 
        float: right; 
        margin-left: 10px; 
    }
}
/* =================================================================== */
/*                      ÚJ, KÉTOSZLOPOS FŐOLDAL                        */
/* =================================================================== */
#fooldal {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Két egyenlő oszlop */
    gap: 30px;
    width: 100%;
    max-width: 1400px; /* Lehet kicsit szélesebb, mint a normál container */
    padding: 20px;
}

/* Az üdvözlő doboz stílusai */
.hero-content-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.hero-content-box h1 { font-size: 2.5rem; }
.hero-content-box p { font-size: 1.1rem; }

/* A friss munkák doboz stílusai */
.latest-work-box {
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--szin-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    
    /* === EZ AZ ÚJ RÉSZ A KÖZÉPRE IGAZÍTÁSHOZ === */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Függőlegesen középre igazít */
}

.latest-work-box h2 {
    margin-bottom: 20px;
}
.latest-work-box .gallery-item {
    max-width: 200px; /* A kártya maximális szélessége */
    margin: 0 auto;   /* Vízszintesen középre igazít */
}

/* === EZ AZ ÚJ BLOKK A LÉNYEG === */
/* Kifejezetten a főoldali, jobb oldali oszlopban lévő munkák listájához */
.latest-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Mindig egy oszlopban jelennek meg */
    gap: 15px; /* Térköz a kártyák között */
}

/* A kártyák maximális szélességét is beállítjuk */
.latest-works-grid .gallery-item {
    max-width: 250px;
    margin: 0 auto;
    width: 100%;
}

/* Reszponzivitás a főoldalhoz */
@media (max-width: 992px) {
    .homepage-grid-container {
        grid-template-columns: 1fr; /* Tablet és mobil nézetben egymás alá kerülnek */
    }
    .hero-content-box h1 { font-size: 2.8rem; }
}
/* === REJTETT ADMIN LOGIN LINK === */
.admin-login-link {
    text-decoration: none;
    color: inherit; /* Örökli a szülő (copyright) szöveg színét */
}

.admin-login-link:hover {
    color: var(--szin-kiemelt); /* Egérrávitelkor finoman kiemeljük */
}
/* =================================================================== */
/*                         SWUP.JS ÁTMENETEK                           */
/* =================================================================== */
.transition-fade {
    opacity: 1;
    transition: opacity 0.4s;
}

html.is-animating .transition-fade {
    opacity: 0;
}
/* =================================================================== */
/*             ÁRAK OLDAL STÍLUSOK (PRECÍZIÓS, KOMMENTELT VERZIÓ)       */
/* =================================================================== */

/* Információs doboz (ez a rész rendben van) */
.info-box {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--szin-border);
    border-left: 5px solid var(--szin-kiemelt);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 50px;
}
.info-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--szin-kiemelt);
}

/* --- A KÁRTYÁKAT TARTALMAZÓ GRID RENDSZER --- */
.prices-grid {
    display: grid;
    /* Ez a sor felel a 4 oszlopos elrendezésért.
       A kártyák minimum 280px szélesek lesznek, így fér el 4 db egy 1200px-es konténerben. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
}

/* --- AZ EGYEDI SABLONKÉPES KÁRTYA STÍLUSA --- */
.price-card-template {
    /* --- A KÜLSŐ KÁRTYA MÉRETE --- */
    width: 100%; /* A kártya töltse ki a grid celláját. */
    max-width: 280px; /* EZZEL TUDOD A KÁRTYA MÉRETÉT ÁLLÍTANI! Kisebb érték = kisebb kártya. */
    aspect-ratio: 500 / 921; /* A sablonkép arányát tartjuk, hogy ne torzuljon. */

    /* --- HÁTTÉRKÉP --- */
    background-image: url('../img/arlista_sablon.jpg');
    background-size: 100% 100%;

    /* --- POZICIONÁLÁS ELŐKÉSZÍTÉSE --- */
    position: relative; /* Ez a kulcs! A belső dobozt ehhez képest fogjuk pozícionálni. */
}

/* --- A BELSŐ SZÖVEGDOBOZ (460x560 arányú) --- */
.price-card-inner-content {
    /* Abszolút pozicionálással elszakítjuk a normál szövegfolyamtól... */
    position: absolute;

    /* ...és megadjuk a pontos helyét a kereten belül.
       Ezeket a százalékos értékeket belőttem a sablonkép kereteihez.
       EZEKKEL TUDOD FINOMHANGOLNI A BELSŐ DOBOZ MÉRETÉT ÉS HELYZETÉT!
    */
    top: 25.5%;      /* Távolság fentről. Kisebb szám = magasabbra kerül a doboz. */
    bottom: 11.5%;   /* Távolság alulról. Kisebb szám = lejjebb végződik a doboz. */
    left: 8%;        /* Távolság balról. */
    right: 8%;       /* Távolság jobbról. */
    
    /* A maradék stílus a szöveg megjelenéséért felel */
    overflow-y: auto; /* Ha sok a szöveg, görgethető lesz. */
    color: #442a15;
    font-size: 12px;
    line-height: 1.5;
    text-shadow: none;
    padding-right: 5px; /* Egy kis extra hely a görgetősávnak */
}


/* Scrollbar stílus (opcionális, de szebb) */
.price-card-inner-content::-webkit-scrollbar { width: 6px; }
.price-card-inner-content::-webkit-scrollbar-track { background: #d4af3730; }
.price-card-inner-content::-webkit-scrollbar-thumb { background: #442a15; border-radius: 3px; }

/* --- SZÖVEG STÍLUSOK A KÁRTYÁN BELÜL --- */
.price-card-inner-content h4,
.price-card-inner-content h5 {
    color: #442a15;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.0rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}
.price-card-inner-content h5 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}
.price-card-inner-content p,
.price-card-inner-content li,
.price-card-inner-content span {
    color: #442a15;
    text-shadow: none;
}
.price-card-inner-content strong,
.price-card-inner-content b {
    color: #000;
}
.price-card-inner-content ul {
    list-style-type: none;
    padding-left: 5px;
}
.price-card-inner-content li {
    margin-bottom: 8px;
}

/* =====================================================================
   DuTa-Fa Atelier — arculati frissítés 2026
   Meglévő oldalak és admin funkciók megőrzésére épülő, felülrétegzett skin.
   ===================================================================== */
:root {
    --szin-hatter: #17110d;
    --szin-doboz: rgba(48, 34, 25, .92);
    --szin-szoveg: #ead9bd;
    --szin-cim: #d5a05d;
    --szin-kiemelt: #c78343;
    --szin-szurke: #c4b5a2;
    --szin-border: rgba(213, 160, 93, .22);
    --duta-cream: #f2e8d8;
    --duta-walnut: #241811;
    --duta-gold: #d5a05d;
}
body {
    font-family: 'Manrope', sans-serif;
    color: var(--duta-cream);
    background-color: #17110d;
    background-image: linear-gradient(115deg, rgba(20, 13, 9, .72), rgba(20, 13, 9, .34)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
h1, h2, h3, .hero-content-box h1, .latest-work-box h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    letter-spacing: -.025em;
    text-shadow: none;
}
p, a, li, span, div { text-shadow: none; }
p { color: #cdbda9; }
.site-header {
    padding: 10px 0;
    background: rgba(24, 17, 12, .91);
    border-bottom: 1px solid rgba(213,160,93,.22);
    box-shadow: 0 12px 35px rgba(0,0,0,.14);
    backdrop-filter: blur(18px);
}
.nav-container { max-width: 1320px; }
.logo-image { height: 48px; filter: drop-shadow(0 4px 14px rgba(213,160,93,.24)); }
.main-nav ul { gap: clamp(14px, 2vw, 30px); align-items: center; }
.main-nav a { font-size: .88rem; font-weight: 700; color: #e9d5b4; letter-spacing: .005em; }
.main-nav a::after { height: 2px; background: var(--duta-gold); }
.main-nav a:hover, .main-nav a.active { color: #e6a65e; }
.mobile-nav-toggle { border: 1px solid rgba(213,160,93,.28); border-radius: 12px; background: rgba(255,255,255,.035); }
.mobile-nav-toggle .bar { background: #e4b36f; border-radius: 2px; }
#fooldal {
    min-height: min(900px, 100svh);
    padding: 116px clamp(16px, 4vw, 58px) 64px;
    align-items: center;
}
.homepage-grid-container {
    max-width: 1370px;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: clamp(22px, 3vw, 42px);
    padding: 0;
}
.left-column-wrapper, .right-column-wrapper { gap: 22px; }
.hero-content-box, .latest-work-box, .stats-box {
    border: 1px solid rgba(235, 201, 158, .19);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(38,27,20,.88), rgba(25,18,14,.78));
    box-shadow: 0 24px 70px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter: blur(18px);
}
.hero-content-box {
    padding: clamp(28px, 4vw, 58px);
    text-align: left;
    position: relative;
    overflow: hidden;
}
.hero-content-box::before {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: linear-gradient(90deg, #e8b86e, #a76535);
}
.hero-content-box h1 {
    color: #f0d6ad;
    font-size: clamp(2.65rem, 4.3vw, 4.5rem);
    line-height: .99;
    margin: 0 0 24px;
    max-width: 12ch;
    text-wrap: balance;
}
.hero-content-box p { font-size: clamp(1rem, 1.2vw, 1.13rem); line-height: 1.9; max-width: 55ch; margin-bottom: 28px; }
.hero-content-box .gomb {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 25px;
    border: 1px solid #d89555;
    border-radius: 999px;
    color: #21150e;
    background: linear-gradient(110deg, #d99450, #e8b875);
    font-size: .94rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(190,112,49,.18);
}
.hero-content-box .gomb:hover { background: #f4dfbd; color: #21150e; box-shadow: 0 14px 35px rgba(190,112,49,.25); }
.latest-work-box { padding: clamp(22px, 3vw, 38px); }
.latest-work-box h2 { font-size: clamp(2.1rem, 3vw, 3.1rem); color: #f0d6ad; margin-bottom: 28px; }
.latest-work-box h2::after { width: 48px; height: 2px; background: #c78343; opacity: 1; }
.latest-works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.latest-works-grid .gallery-item { max-width: none; }
.duta-frame { border: 1px solid rgba(213,160,93,.2); border-radius: 14px; overflow: hidden; background: #211710; transition: transform .25s ease, border-color .25s ease; }
.latest-works-grid .gallery-item:hover .duta-frame { transform: translateY(-5px); border-color: rgba(213,160,93,.6); }
.duta-frame-image { aspect-ratio: 3 / 4; object-fit: cover; }
.kategoria-overlay { bottom: 24px; padding: 12px; background: linear-gradient(0deg, rgba(20,13,9,.93), rgba(20,13,9,.04)); }
.kategoria-overlay h3 { font-size: clamp(1rem, 1.45vw, 1.4rem); line-height: 1.05; color: #fff0d9; }
.duta-frame-footer { height: 24px; padding: 3px 8px; background: #211710; }
.duta-frame-tag { font-size: .62rem; color: #b9a58e; }
.stats-box { padding: 26px; }
.stats-box h2 { color: #f0d6ad; font-size: 2rem; }
.stat-card .stat-value { font-family: 'Manrope', sans-serif; color: #f6e5cd; }
.stat-card .stat-label { color: #c5b29b; }
.site-footer {
    padding: 58px 0 28px;
    background: linear-gradient(145deg, #211710, #120d09 72%);
    border-top: 1px solid rgba(213,160,93,.28);
    box-shadow: 0 -18px 55px rgba(0,0,0,.16);
}
.site-footer > .container { max-width: 1240px; }
.footer-grid { grid-template-columns: minmax(220px, 1.25fr) minmax(160px, .8fr) minmax(230px, 1fr); gap: clamp(26px, 5vw, 76px); margin-bottom: 36px; }
.footer-logo { display: inline-flex; margin-bottom: 16px; }
.footer-logo img { width: 145px; max-height: 58px; object-fit: contain; object-position: left center; }
.footer-intro { max-width: 32ch; line-height: 1.85; font-size: .94rem; }
.footer-title { display: flex; align-items: center; gap: 10px; font-family: 'Manrope', sans-serif; font-size: .91rem; letter-spacing: .11em; text-transform: uppercase; color: #e2ae6c; margin-bottom: 20px; text-shadow: none; }
.footer-title svg, .footer-text svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-links { display: grid; grid-template-columns: 1fr; gap: 9px; }
.footer-links li { margin: 0; }
.footer-links a, .footer-text p { color: #c8b7a2; font-size: .92rem; line-height: 1.75; transition: color .2s ease, transform .2s ease; }
.footer-links a { display: inline-block; }
.footer-links a:hover { color: #efc58f; transform: translateX(3px); }
.footer-text p { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; }
.footer-text svg { margin-top: 5px; color: #d19a5d; }
.footer-text a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.footer-text a:hover { color: #f0c58e; }
.footer-bottom { border-top: 1px solid rgba(213,160,93,.17); margin-top: 30px; padding-top: 24px; color: #a99782; }
.copyright { font-size: .82rem; color: #a99782; margin-bottom: 15px; }
.creator-wrapper { display: flex; justify-content: center; }
.creator-link {
    --pointer-x: 50%;
    --pointer-y: 50%;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12px 20px;
    overflow: hidden;
    border: 1px solid rgba(221, 169, 91, .42);
    border-radius: 999px;
    color: #e8d4b3;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(42, 29, 18, .96), rgba(18, 13, 9, .98));
    box-shadow: 0 8px 26px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255,255,255,.045);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.creator-link::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 211, 119, .28), transparent 42%);
    opacity: .42;
    transition: opacity .25s ease;
}
.creator-link::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -2px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--glow-angle, 0deg), transparent 0 58%, rgba(255, 220, 143, .95) 69%, #b8782c 74%, transparent 84% 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: dropx-orbit 5.5s linear infinite;
    pointer-events: none;
}
.creator-caption { color: #bca88d; font-size: .78rem; letter-spacing: .02em; }
.dropx-brand { display: inline-flex; align-items: baseline; gap: 1px; font-size: .96rem; font-weight: 800; letter-spacing: -.035em; }
.dropx-word { color: #f5d18a; text-shadow: 0 0 11px rgba(228, 167, 69, .24); animation: dropx-pulse 3.2s ease-in-out infinite; }
.dropx-domain { color: #fff0c9; }
.dropx-spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffe6a6; box-shadow: 0 0 7px 2px rgba(255, 199, 87, .7); pointer-events: none; animation: dropx-sparkle 2.8s ease-in-out infinite; }
.dropx-spark-one { top: 17%; left: 28%; }
.dropx-spark-two { top: 70%; right: 17%; animation-delay: -.9s; }
.dropx-spark-three { bottom: 16%; left: 62%; width: 2px; height: 2px; animation-delay: -1.8s; }
.creator-link:hover, .creator-link.is-pointer-active { border-color: rgba(255, 213, 127, .8); box-shadow: 0 0 0 1px rgba(211, 157, 65, .08), 0 0 25px rgba(205, 145, 48, .16), 0 10px 30px rgba(0,0,0,.28); transform: translateY(-1px); }
.creator-link:hover::before, .creator-link.is-pointer-active::before { opacity: 1; }
@keyframes dropx-orbit { to { --glow-angle: 360deg; } }
@property --glow-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes dropx-pulse { 0%, 100% { text-shadow: 0 0 8px rgba(228,167,69,.18); } 50% { text-shadow: 0 0 13px rgba(255,201,91,.62); } }
@keyframes dropx-sparkle { 0%, 100% { opacity: .2; transform: scale(.65); } 50% { opacity: 1; transform: scale(1.3); } }
@media (max-width: 1100px) {
    .homepage-grid-container { grid-template-columns: 1fr 1fr; gap: 18px; }
    .hero-content-box { padding: 30px; }
    .hero-content-box h1 { font-size: clamp(2.35rem, 4vw, 3.5rem); }
    .latest-work-box { padding: 24px; }
    .latest-works-grid { gap: 9px; }
}
@media (max-width: 900px) {
    #fooldal { padding: 106px 20px 44px; min-height: auto; }
    .homepage-grid-container { grid-template-columns: 1fr; max-width: 700px; }
    .hero-content-box { padding: clamp(28px, 6vw, 44px); }
    .hero-content-box h1 { max-width: 15ch; font-size: clamp(2.8rem, 8vw, 4.1rem); }
    .latest-work-box h2 { font-size: 2.7rem; }
    .duta-frame-image { aspect-ratio: 4 / 5; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    body { background-attachment: scroll; background-position: 54% top; }
    .site-header { padding: 8px 0; }
    .logo-image { height: 42px; }
    .main-nav.active { width: min(86%, 360px); max-width: none; padding: 90px 24px 30px; background: rgba(29,20,14,.98); border-left: 1px solid rgba(213,160,93,.2); }
    .main-nav ul { gap: 20px; }
    .main-nav a { font-size: 1rem; }
    #fooldal { padding: 92px 14px 30px; }
    .homepage-grid-container { gap: 16px; }
    .hero-content-box { padding: 28px 22px; border-radius: 18px; }
    .hero-content-box::before { margin-bottom: 18px; }
    .hero-content-box h1 { font-size: clamp(2.5rem, 11vw, 3.45rem); line-height: 1; margin-bottom: 18px; }
    .hero-content-box p { font-size: .98rem; line-height: 1.8; margin-bottom: 22px; }
    .hero-content-box .gomb { width: 100%; text-align: center; padding: 14px 16px; }
    .latest-work-box { padding: 22px 15px; border-radius: 18px; }
    .latest-work-box h2 { font-size: 2.45rem; margin-bottom: 22px; }
    .latest-works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .duta-frame { border-radius: 10px; }
    .duta-frame-image { aspect-ratio: 3 / 4; }
    .kategoria-overlay { bottom: 22px; padding: 8px 6px; }
    .kategoria-overlay h3 { font-size: clamp(.78rem, 3.2vw, 1rem); }
    .duta-frame-footer { height: 22px; padding: 3px 5px; }
    .duta-frame-tag { font-size: .48rem; }
    .stats-box { padding: 22px 16px; }
    .stats-box h2 { font-size: 1.7rem; }
    .stat-card .stat-value { font-size: 1.35rem; }
    .stat-card .stat-label { font-size: .64rem; }
    .site-footer { padding: 42px 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; margin-bottom: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-logo img { width: 132px; }
    .footer-title { margin-bottom: 12px; }
    .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; }
    .footer-text p { font-size: .9rem; }
    .footer-bottom { padding-top: 20px; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}

/* Footer és navigáció: egységes, finom SVG ikonrendszer */
.main-nav a { display: inline-flex; align-items: center; gap: 7px; }
.nav-icon { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; opacity: .86; transition: transform .2s ease, opacity .2s ease; }
.main-nav a:hover .nav-icon, .main-nav a.active .nav-icon { transform: translateY(-1px); opacity: 1; }
.admin-nav-link { color: #e5b66e; }
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(226,174,108,.55), transparent); }
.site-footer::after { content: ''; position: absolute; top: 0; left: 50%; width: min(900px, 90%); height: 240px; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(174,112,49,.09), transparent 68%); pointer-events: none; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { align-items: start; }
.footer-col { min-width: 0; }
.footer-brand { padding-right: clamp(8px, 2vw, 28px); }
.footer-intro { color: #cdbba4; }
.footer-title { padding-bottom: 11px; border-bottom: 1px solid rgba(213,160,93,.15); }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; }
.footer-links a svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.footer-links a:hover svg { opacity: 1; }
.footer-bottom { position: relative; z-index: 1; }
@media (max-width: 767px) {
    .main-nav a { gap: 12px; }
    .nav-icon { width: 18px; height: 18px; flex-basis: 18px; }
    .creator-link { gap: 8px; padding: 11px 16px; }
    .footer-brand { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .creator-link::after, .dropx-word, .dropx-spark { animation: none; }
}


/* DuTa-Fa finomhangolás: kezelhető Hero és kompakt, négyoszlopos lábléc */
body { font-family: 'Montserrat', sans-serif; }
.hero-section { position: relative; isolation: isolate; background: linear-gradient(rgba(15, 9, 5, calc(var(--hero-overlay, 38%) / 100)), rgba(15, 9, 5, calc(var(--hero-overlay, 38%) / 100))), url('../img/hero-bg.png') center 42% / cover no-repeat; }
.hero-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,11,7,.28), transparent 72%); pointer-events: none; }
.hero-content-box { width: min(100%, var(--hero-content-width, 580px)); max-width: var(--hero-content-width, 580px); background: linear-gradient(135deg, rgba(31,21,15,.88), rgba(20,14,10,.76)); backdrop-filter: blur(8px); }
.hero-content-box h1 { max-width: 18ch; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.04; overflow-wrap: normal; hyphens: manual; }
.hero-content-box p { max-width: 58ch; }
.hero-eyebrow { color: #e3a85c; font-family: 'Montserrat', sans-serif; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer { padding: 30px 0 16px; }
.site-footer > .container { max-width: 1120px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1fr .9fr 1.15fr; gap: clamp(16px, 2.2vw, 30px); margin-bottom: 18px; }
.footer-brand { padding-right: 0; }
.footer-logo { margin-bottom: 8px; }
.footer-logo img { width: 124px; max-height: 48px; }
.footer-intro { max-width: 30ch; font-size: .8rem; line-height: 1.6; }
.footer-title { font-size: .76rem; letter-spacing: .09em; margin-bottom: 10px; padding-bottom: 7px; }
.footer-links { gap: 4px; }
.footer-links a, .footer-text p { font-size: .79rem; line-height: 1.5; }
.footer-text p { gap: 8px; margin-bottom: 7px; }
.footer-icon { display: inline-flex; flex: 0 0 14px; width: 14px; height: 14px; color: #d7a15f; }
.footer-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-links a { align-items: center; gap: 7px; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 14px; padding-top: 12px; }
.copyright { font-size: .7rem; margin: 0; }
.creator-link { justify-self: center; gap: 8px; padding: 7px 11px; border-radius: 5px; font-family: 'Montserrat', sans-serif; }
.creator-caption { font-size: .66rem; }
.dropx-brand { font-family: 'Montserrat', sans-serif; font-size: .88rem; font-weight: 800; letter-spacing: -.04em; }
.dropx-spark { display: none; }
.creator-link::after { animation-duration: 4.8s; }
.footer-legal { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; font-size: .7rem; }
.footer-legal a { color: #bba78d; text-decoration: none; }
.footer-legal a:hover { color: #f0c58e; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-legal { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 767px) {
  .hero-section { background-position: 55% center; }
  .hero-content-box { width: 100%; max-width: none; }
  .hero-content-box h1 { font-size: clamp(2.15rem, 9vw, 3.1rem); max-width: 18ch; }
  .site-footer { padding: 28px 0 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .creator-link { justify-self: start; }
  .footer-legal { grid-column: auto; }
}
