/* 1. SABLON TISZTÍTÁS - Eltüntetjük a képen látható listapöttyös menüt */
.pill-nav ul:not(.nav-list), 
.pill-nav li::before,
.header-menu, .mobile-nav-container {
    display: none !important;
}

/* 2. PC-S NÉZET ÉS HOVER JAVÍTÁSA */
@media (min-width: 769px) {
    .hamburger { display: none !important; }

    .pill-nav {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        background: transparent !important;
        position: relative;
        z-index: 999; /* Minden sablon-elem fölé emeljük */
    }

    .nav-list {
        display: flex !important;
        gap: 15px;
        list-style: none !important;
        padding: 0;
        margin: 0;
    }

    .nav-item {
        display: inline-block !important;
        padding: 10px 25px !important;
        border: 2px solid rgba(138, 201, 230, 0.8) !important;
        border-radius: 50px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        pointer-events: auto !important;
    }

    /* VILÁGOSABB, ÁTTETSZŐBB HOVER */
    .nav-item:hover {
        background: rgba(0, 210, 255, 0.3) !important; /* Világos kék derengés */
        border-color: #ffffff !important; /* Fehérre váltó szegély */
        box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
        transform: translateY(-2px);
    }
}

/* 3. MOBIL NÉZET JAVÍTÁSA */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        margin: 10px auto;
        z-index: 1001;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #ffffff !important; /* Fehér hamburger vonalak */
    }

    /* A mi egyedi ovális listánk mobilon */
    .nav-list {
        display: none;
        flex-direction: column !important;
        position: absolute;
        top: 360px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 30px 0 !important;
        z-index: 1000;
        align-items: center;
        gap: 30px !important; /* EZ adja meg a távolságot a gombok KÖZÖTT */
        list-style: none !important; /* Pöttyök ellen */
    }

    .nav-list.active {
        display: flex !important;
    }

    .nav-item {
        margin: 8px auto !important;
        width: 80% !important;
        text-align: center;
        border: 1.5px solid #00d2ff !important;
        border-radius: 50px !important;
        color: #ffffff !important;
        text-decoration: none !important;        
        padding: 12px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .nav-item, .nav-item:active, .nav-item:focus, .nav-item:visited {
        text-decoration: none !important; /* Tiltja az aláhúzást minden állapotban */
        outline: none !important;        /* Eltünteti a kattintáskori kék keretet */
        -webkit-tap-highlight-color: transparent; /* Eltünteti a mobilos szürke/kék villanást kattintáskor */
    }
}






.information{
  background-color: #001f33;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size:30px;
  color:white;

}
#cim{
    color:red;
    font-size:40px;
}

.card-img-top{
    border-radius:15px;
}
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 15px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50px;
    background: rgba(255,255,255,0.70);

}
.arrow{
    width:25px;
}



#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.custom-card {
      text-align:center;
    }
    @media (min-width: 992px) {
      .custom-card .card-body {
        justify-content: space-between;
      }
    }


    @media (min-width: 768px) {
      .custom-card {
        margin: 10px;
      }
    }

    .conn_btns {
      display: flex;
      justify-content: center;
      margin-top:10px;
    }
.card-title
{
    text-align:center;
    font-size: 30px;
}
    .ico {
      margin-right: 10px;
    }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #05070f;
    color: white;
    font-family: 'Roboto', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #05070f;
    background-image: url('../img/background.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card {
    border: none;
    background: transparent;
    margin-bottom: 20px;
    border-radius:12px;
}

.bimg{
    border-radius:10px;
    width:90%;
}
.bimg1{
    border-radius:10px;
    width:100%;
}

.mainlogo{
    margin: 20px;
}
.dekorgyar{
    text-align:center;
    
}
.topic{
    text-align:center;
    
}

h2 {
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 50px;

}

.ilogo {
    width: 40px;
    margin-left:5px;
    margin-right:5px;
    margin-bottom:15px;
}
.ilogo1 {
    width: 35px;
}
.conn_btns {
        text-align: center !important;
}

.footer {
    text-align: center;
    margin-top: 50px !important;
}

.ilogo:hover {
    transform: scale(1.1);
}


h2,
p,
h5 {
    text-align: center;
}
.conn_btns {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: flex-start;
    justify-content: center;
}

.ico {
    flex: 0 1 auto; 
}

@media (max-width: 600px) {
    .conn_btns {
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    .ico {
        flex: 0 1 30%;
        margin: 1px; 
    }
}


/* From Uiverse.io by imtausef */ 

/* 1. A szülő konténer: Ez teszi középre a kártyákat */
.event-parent-wrapper {
  display: flex;
  flex-wrap: wrap;        /* Ha sok kártya van, új sorba törnek */
  justify-content: center; /* Vízszintes középre igazítás */
  align-items: stretch;   /* Ettől lesznek egyforma magasak egy soron belül */
  gap: 30px;              /* Távolság a kártyák között */
  padding: 40px 20px;
  width: 50%;
  box-sizing: border-box;
}

/* 2. A kártya egyedi mérete és stílusa */
.event-parent {
  width: 300px;           /* Fix szélesség */
  perspective: 1000px;
  display: flex;          /* Kell a magasság átadásához */
}

.event-card {
  padding-top: 50px;
  border: 3px solid #0A0D42;
  transform-style: preserve-3d;
  /* Mintás háttér a te színeiddel (#8AC9E6 és #0A0D42) */
  background: linear-gradient(135deg, #0000 18.75%, #8AC9E6 0 31.25%, #0000 0),
              repeating-linear-gradient(45deg, #8AC9E6 -6.25% 6.25%, #0A0D42 0 18.75%);
  background-size: 60px 60px;
  background-color: #0A0D42;
  width: 100%;
  display: flex;          /* Függőleges elrendezés a belső elemeknek */
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 30px 30px -10px;
  transition: all 0.5s ease-in-out;
}

.event-card:hover {
  background-position: -100px 100px, -100px 100px;
  transform: rotate3d(0.5, 1, 0, 30deg);
}

/* 3. A tartalom doboz színe és nyújtása */
.event-content-box {
  background: #FAFAFA;    /* Világos háttérszín */
  transition: all 0.5s ease-in-out;
  padding: 60px 25px 25px 25px;
  transform-style: preserve-3d;
  flex-grow: 1;           /* Kitölti a maradék helyet -> egyforma magasság */
  display: flex;
  flex-direction: column;
}

.event-content-box .event-card-title {
  display: inline-block;
  color: #0A0D42;         /* Sötétkék cím */
  font-size: 25px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 50px);
}

.event-content-box .event-card-content {
  text-align: left;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0A0D42;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 30px);
  flex-grow: 1;           /* Eltolja a gombot az aljára */
}

/* 4. A gomb ("részletek") stílusa */
.event-content-box .event-see-more {
  cursor: pointer;
  margin-top: 1.5rem;
  display: inline-block;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none !important; /* NINCS ALÁHÚZÁS */
  color: #FAFAFA;
  background: #0A0D42;    /* Sötétkék gomb */
  padding: 0.6rem 1rem;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
  width: fit-content;
  border: 2px solid rgba(138, 201, 230, 0.8) !important;
  border-radius: 50px !important;
}

.event-content-box .event-see-more:hover {
  background: #8AC9E6;    /* Világoskék hover */
  color: #0A0D42;
  transform: translate3d(0px, 0px, 60px);
}

/* 5. A dátum doboz */
.event-date-box {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  background: #FAFAFA;
  border: 2px solid #0A0D42;
  padding: 10px;
  transform: translate3d(0px, 0px, 80px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 10px -5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event-date-box .event-month {
  color: #0A0D42;
  font-size: 9px;
  font-weight: 800;
  display: block;
}

.event-date-box .event-date {
  font-size: 13px;
  font-weight: 900;
  color: #0A0D42;
  display: block;
}


/* Partnerek beállítása */
.partners-section {
    margin-top: 80px; /* Távolság az eseményektől */
    padding: 40px 20px;
    text-align: center;
    max-width: 1100px; /* Ugyanaz a szélesség, mint a 3 dobozos szekciónál */
    margin-left: auto;
    margin-right: auto;
}

.partners-title {
    color: #FAFAFA;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px; /* Kisebb távolság a sűrűbb elrendezéshez */
}

.partner-logo-box {
    width: 150px; /* Kisebb logóméret, hogy legalább 5 elférjen egy sorban */
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%) opacity(0.7); /* Alapból szürke és áttetsző a profi hatásért */
    margin: auto; 
    padding: 1rem;
    color: #0A0D42;
    background: rgba(255, 255, 255, 0.1); /* Áttetsző fehér */
    backdrop-filter: blur(10px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;    
    
}

.partner-logo-box:hover {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1); /* Hoverre színes lesz és felerősödik */
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Megőrzi a logó arányait */
}

/* Mobil nézetre vonatkozó szabályok (768px szélesség alatt) */
@media (max-width: 768px) {
.partners-logos {
    gap: 12px; /* Kisebb hely a dobozok között mobilon */
}

.partner-logo-box {
    /* Mobilon is maradjon sűrű, kb. 3 fér el egymás mellett */
    width: 28%;
    min-width: 90px;
    height: 80px;
    padding: 0.6rem;
}

.partner-logo-box img {
    max-width: 90%;     /* A logó töltse ki majdnem a teljes fehér dobozt */
    max-height: 80%;
}
}

/* Nagyon kicsi telefonokhoz (opcionális) */
@media (max-width: 380px) {
    .partner-logo-box {
        width: 42%;         /* Itt kb. 2 fér el egy sorban */
    }
}




/* Konténer beállítása – ugyanaz a grid, mint az "Egyedi szolgáltatásaink" kártyáknál, a szimmetria miatt */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 40px 0 10px;
}

@media (max-width: 900px) {
    .services-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .services-container { grid-template-columns: 1fr; }
}

/* Egyedi kártya stílus (Glassmorphism) */
.service-box {
    background: rgba(255, 255, 255, 0.1); /* Áttetsző fehér */
    backdrop-filter: blur(10px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    text-align: center;
    color: #fafafa;
    text-decoration: none !important;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Hover effekt */
.service-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: #fafafa;
}

/* Ikonok és feliratok */
/* Ikonokat tartalmazó div stílusa */
.service-icon {
    height: 100px; /* Fix magasságot adunk az ikon területének */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Magának a PNG képnek (ikonnak) a stílusa */
.service-icon img {
    /* Az ikon magassága ne legyen nagyobb, mint 80px */
    max-height: 80px; 
    
    /* Szélességét automatikusan állítja a magassághoz, 
       de maximum a doboz szélességének 80%-a lehet */
    max-width: 80%; 
    
    width: auto;
    height: auto;
    
    /* Biztosítja, hogy az ikon ne torzuljon */
    object-fit: contain; 
}

.service-box h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(138, 201, 230, 0.3);
    padding-bottom: 10px;
}

.service-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-box ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

/* Kis pont a listaelemek elé */
.service-box ul li::before {
    content: "•";
    color: #8ac9e6;
    position: absolute;
    left: 0;
    font-weight: bold;
}




/* Konténer az igazításhoz */
.cta-container {
    display: flex;
    justify-content: center;
    padding: 50px 0; /* Megfelelő távolság a blokkok és események között */
    width: 100%;
}

/* Ajánlatkérő gomb */
.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 60px 0;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 800;
    /* Aláhúzás minden állapotban kikapcsolva */
    text-decoration: none !important; 
    text-transform: uppercase;
    letter-spacing: 2px;
    
    /* Kevésbé áttetsző fehér háttér */
    background-color: rgba(255, 255, 255, 0.85); 
    
    /* Sötétebb szövegszín a jó olvashatóságért a fehér alapon */
    color: #0A0D42; 
    
    border-radius: 50px;
    /* A menü színvilágához igazított keret */
    border: 3px solid #8AC9E6; 
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

/* Interakció (Hover) */
.cta-button:hover {
    /* Biztosítjuk, hogy hovernél se jöjjön vissza az aláhúzás */
    text-decoration: none !important; 
    
    /* Teljesen fedett fehér háttér */
    background-color: rgba(255, 255, 255, 1);
    
    /* A keret színe élénkül, ahogy a menüpontoknál */
    border-color: #40e0d0; 
    
    /* Világosabb kék ragyogás */
    box-shadow: 0 0 25px rgba(138, 201, 230, 0.6);
    
    transform: translateY(-3px);
    color: #008080;
}

.cta-button:active {
    transform: translateY(1px);
}


/* Tudásbázis kártya*/
.knowledge-card {
    background: rgba(255, 255, 255, 0.1); /* Áttetsző fehér */
    backdrop-filter: blur(10px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 600px; margin: auto; margin-top: 5vh;
    padding: 2rem; border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    color: #ffffff;
}

.knowledge-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #8AC9E6; /* Kiemelő szín hoverre */
}

.card-tag {
    color: #8AC9E6;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.knowledge-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.knowledge-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: left;
}

.read-more {
    color: #8AC9E6;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

/* ==========================================================
   EGYEDI SZOLGÁLTATÁS KÁRTYÁK (home.php) – képes, linkelt kártyák
   3 oszlop / 2 sor, a meglévő üveghatású (glassmorphism) stílushoz igazítva
   ========================================================== */

.dg-offer-section {
    text-align: center;
    padding: 20px 0 10px;
    scroll-margin-top: 30px;
}

.dg-offer-intro {
    color: rgba(255, 255, 255, 0.75);
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.dg-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 0 50px;
    scroll-margin-top: 30px;
}

@media (max-width: 900px) {
    .dg-offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .dg-offer-grid { grid-template-columns: 1fr; }
}

.dg-offer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none !important;
    color: #fafafa;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.dg-offer-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: #fafafa;
}

.dg-offer-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.dg-offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dg-offer-card:hover .dg-offer-img img {
    transform: scale(1.06);
}

.dg-offer-content {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dg-offer-content h3 {
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin: 0 0 10px;
    border-bottom: 1px solid rgba(138, 201, 230, 0.3);
    padding-bottom: 10px;
    text-align: left;
}

.dg-offer-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0 0 14px;
    flex: 1;
    text-align: left;
}

.dg-offer-cta {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8AC9E6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dg-offer-cta::after {
    content: "→";
    transition: transform 0.25s ease;
}

.dg-offer-card:hover .dg-offer-cta::after {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .dg-offer-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}



/* ==========================================================
   KIEMELT SAJÁT MÁRKA – Wendigo3D (home.php teteje)
   ========================================================== */

.dg-featured-section {
    padding: 40px 0 10px;
}

.dg-featured-card {
    max-width: 1100px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.dg-featured-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.dg-featured-logo {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dg-featured-logo img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.dg-featured-text {
    flex: 1;
    text-align: left;
}

.dg-featured-tag {
    display: inline-block;
    color: #8AC9E6;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dg-featured-text h2 {
    text-align: left;
    margin: 0 0 12px;
    color: #8AC9E6;
}

.dg-featured-text p {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 18px;
}

.dg-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #0A0D42;
    background-color: rgba(255, 255, 255, 0.85);
    border: 2px solid #8AC9E6;
    border-radius: 50px;
    padding: 12px 28px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.dg-featured-card:hover .dg-featured-cta {
    background-color: rgba(255, 255, 255, 1);
    border-color: #40e0d0;
    color: #008080;
    box-shadow: 0 0 20px rgba(138, 201, 230, 0.5);
}

@media (max-width: 768px) {
    .dg-featured-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    .dg-featured-text,
    .dg-featured-text h2,
    .dg-featured-text p {
        text-align: center;
    }
}


/* ==========================================================
   SZÉLES BEVEZETŐ KÁRTYA (home.php – menü alatti szöveg)
   ========================================================== */

.dg-intro-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    text-align: center;
}

.dg-intro-card p {
    color: #fafafa;
    line-height: 1.7;
    margin: 0 0 28px;
    text-align: center;
}

.dg-intro-tag {
    display: inline-block;
    color: #8AC9E6;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dg-intro-title {
    text-align: center;
    margin: 0 0 16px;
}

.dg-intro-accent {
    color: #8AC9E6;
}

.dg-intro-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.dg-intro-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 20px 10px 12px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.dg-intro-highlight:hover {
    transform: translateY(-4px);
    background: rgba(138, 201, 230, 0.15);
    border-color: rgba(138, 201, 230, 0.5);
}

.dg-intro-highlight img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.dg-intro-highlight span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fafafa;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .dg-intro-highlights {
        flex-direction: column;
        align-items: stretch;
    }
    .dg-intro-highlight {
        justify-content: center;
    }
    .dg-intro-highlight img {
        width: 20px;
        height: 20px;
    }
    .dg-intro-highlight span {
        font-size: 0.8rem;
    }
}

/* ==========================================================
   EGYSÉGES OLDALCÍM BLOKK – minden aloldal tetején
   (ugyanaz, mint amit a dg-offer-section h2 / dg-offer-intro már használ,
   csak a nem-offer oldalakhoz külön névvel, hogy szabadon használható legyen)
   ========================================================== */

.dg-page-title {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-width: 1100px;
    box-sizing: border-box;
    text-align: center;
    padding: 2rem 2.5rem;
    margin: 0 auto 24px;
}

.dg-page-title h2 {
    margin-bottom: 8px;
}

.dg-page-title .dg-offer-intro {
    max-width: 700px;
    margin: 0 auto 0;
}

/* ==========================================================
   JOGI / KAPCSOLATI TARTALOM KÁRTYA
   (erdeklodes.php, adatvedelmi-tajekoztato.php közös doboz-stílusa)
   ========================================================== */

.dg-legal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    box-sizing: border-box;
}

.form-container,
.text-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    box-sizing: border-box;
}

.dg-legal-card h1,
.dg-legal-card h2 {
    text-align: left;
    color: #ffffff;
}

.dg-legal-card h1 {
    border-bottom: 2px solid rgba(138, 201, 230, 0.3);
    padding-bottom: 10px;
}

.dg-legal-card p,
.dg-legal-card ul {
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.dg-legal-card a {
    color: #8AC9E6;
}

.dg-legal-card .buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dg-legal-card .cancel-btn {
    cursor: pointer;
    display: inline-block;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 2px solid rgba(138, 201, 230, 0.8) !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.dg-legal-card .cancel-btn:hover {
    background: rgba(0, 210, 255, 0.3) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

/* Érdeklődés űrlap mezői */
.form-container label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    text-align: left;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
}

.form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.form-container .g-recaptcha {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.form-container .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
}

.form-container .cancel-btn,
.form-container .submit-btn {
    width: fit-content;
}

.form-container .submit-btn,
.form-container .cancel-btn {
    cursor: pointer;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 2px solid rgba(138, 201, 230, 0.8) !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.form-container .submit-btn:hover,
.form-container .cancel-btn:hover {
    background: rgba(0, 210, 255, 0.3) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}



.social-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.3s ease;
    color: #FAFAFA;
}

.social-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.social-item span {
    font-size: 14px;
    font-weight: 600;
}

.social-item:hover {
    transform: scale(1.1);
}

.social-item:hover span {
    color: #8AC9E6;
}

@media (max-width: 480px) {
    .social-item img {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================
   TUDÁSBÁZIS – témák külön kártyákon
   ========================================================== */

.dg-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 0 auto 50px;
    padding: 0;
    align-items: start;
}

.dg-knowledge-grid .knowledge-card {
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* ==========================================================
   LÁBLÉC SZÖVEGES MENÜ – minden oldalon megjelenik (index.php)
   ========================================================== */

.dg-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 16px;
    padding: 0;
    list-style: none;
}

.dg-footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.dg-footer-nav a:hover {
    color: #8AC9E6;
}


/* ==========================================================
   EGYSÉGES MOBIL SZÉLEK
   Minden kártyatípus (bevezető szöveg, Wendigo3D, szolgáltatás-dobozok,
   ajánlat-kártyák, tudásbázis-kártyák) ugyanakkora távolságra legyen
   a képernyő szélétől mobil nézetben - eddig eltérő volt.
   ========================================================== */

@media (max-width: 768px) {
    .dg-intro-card,
    .dg-featured-card,
    .form-container,
    .text-container,
    .dg-content-card,
    .dg-callout,
    .dg-calc-card,
    .dg-color-tool,
    .dg-legal-card,
    .dg-page-title {
        max-width: calc(100% - 32px);
        width: calc(100% - 32px);
    }

    .services-container,
    .dg-offer-grid,
    .dg-knowledge-grid,
    .dg-article-grid,
    .dg-swatch-grid,
    .dg-gallery {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ==========================================================
   TARTALOM-KÁRTYA — hosszabb, alcímekre tagolt leíró szöveghez
   (pl. szolgáltatás-részletező oldalak, mint az autódekoráció)
   ========================================================== */

.dg-content-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    box-sizing: border-box;
}

.dg-content-card h3 {
    text-align: left;
    color: #ffffff;
    margin: 32px 0 12px;
    clear: both;
}

.dg-content-card h3:first-child {
    margin-top: 0;
}

.dg-content-card p,
.dg-content-card ul {
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.dg-content-card ul {
    padding-left: 1.2rem;
}

.dg-content-card li {
    margin-bottom: 6px;
}

/* ==========================================================
   KIEMELŐ DOBOZOK — "Hasznos tippek" és "Érdekesség" blokkok
   Minden további szolgáltatás-oldalon újrafelhasználható.
   ========================================================== */

.dg-callout {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid #8AC9E6;
    border-radius: 15px;
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 2rem 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    box-sizing: border-box;
}

.dg-callout-tag {
    display: block;
    color: #8AC9E6;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dg-callout h3 {
    text-align: left;
    margin: 0 0 12px;
}

.dg-callout p,
.dg-callout ul {
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.dg-callout ul {
    padding-left: 1.2rem;
}

.dg-callout li {
    margin-bottom: 6px;
}

/* Az "Érdekesség" doboz kicsit más árnyalattal különbözzön a tippektől */
.dg-callout-fact {
    border-left-color: #40e0d0;
}

.dg-callout-fact .dg-callout-tag {
    color: #40e0d0;
}

/* ==========================================================
   GALÉRIA — automatikusan futó, végtelenített képsáv
   Megállítható hover-re. Bármelyik oldalon újrafelhasználható:
   csak cseréld ki a képeket, a szerkezet változatlan maradhat.
   ========================================================== */

.dg-gallery {
    max-width: 1100px;
    margin: 0 auto 24px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 15px;
    box-sizing: border-box;
    cursor: grab;
    /* Görgetősáv elrejtése (a húzás/lapozás így is működik) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dg-gallery::-webkit-scrollbar {
    display: none;
}

.dg-gallery.dg-gallery-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.dg-gallery-track {
    display: flex;
    width: max-content;
    gap: 16px;
}

.dg-gallery-track img {
    height: 240px;
    width: auto;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    /* Ne lehessen véletlenül képként kijelölni/húzni húzáskor, se elmenteni */
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: auto;
}

.dg-lightbox-img-wrap img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

@media (max-width: 600px) {
    .dg-gallery-track img {
        height: 160px;
    }
}

/* ==========================================================
   GOMBSOR — "Vissza" + "Kérjen ajánlatot" a szolgáltatás-oldalak alján
   ========================================================== */

.dg-detail-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 40px 0 60px;
}

.dg-btn-outline {
    cursor: pointer;
    display: inline-block;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border: 2px solid rgba(138, 201, 230, 0.8) !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.dg-btn-outline:hover {
    background: rgba(0, 210, 255, 0.3) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}


/* ==========================================================
   AJÁNLATKÉRŐ KALKULÁTOR (kalkulator.php)
   ========================================================== */

.dg-calc-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    box-sizing: border-box;
}

.dg-calc-card label {
    display: block;
    margin-top: 1.2rem;
    font-weight: bold;
    text-align: left;
}

.dg-calc-card select,
.dg-calc-card input[type="number"],
.dg-calc-card input[type="text"],
.dg-calc-card input[type="email"],
.dg-calc-card input[type="tel"],
.dg-calc-card input[type="file"],
.dg-calc-card textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    font-size: 1rem;
}

.dg-calc-card input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.dg-calc-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 700px) {
    .dg-calc-row {
        grid-template-columns: 1fr;
    }
}

.dg-calc-summary {
    margin-top: 24px;
    padding: 1.2rem 1.5rem;
    background: rgba(138, 201, 230, 0.12);
    border: 1px solid rgba(138, 201, 230, 0.4);
    border-radius: 12px;
    text-align: center;
}

.dg-calc-summary .dg-calc-m2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #8AC9E6;
}

.dg-calc-card .dg-calc-cta {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
}

/* ==========================================================
   ORACAL SZÍNKATALÓGUS + KERESŐ (szinkatalogus.php)
   ========================================================== */

.dg-color-tool {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    box-sizing: border-box;
    text-align: center;
}

.dg-color-tool h3 {
    margin-top: 0;
}

.dg-color-input-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin: 20px 0;
}

.dg-color-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.dg-color-input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

.dg-color-input-group input[type="number"] {
    width: 80px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: #222;
}

.dg-color-input-group input[type="color"] {
    width: 60px;
    height: 44px;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
}

.dg-color-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    align-self: center;
    padding-bottom: 10px;
}

.dg-color-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.dg-color-result-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 220px;
}

.dg-color-result-swatch {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.dg-color-result-text {
    text-align: left;
}

.dg-color-result-text .dg-color-result-name {
    font-weight: 700;
    display: block;
}

.dg-color-result-text .dg-color-result-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.dg-swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.dg-swatch {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dg-swatch:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.dg-swatch::after {
    content: attr(data-label);
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background: #05070f;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 3;
}

.dg-swatch:hover::after {
    opacity: 1;
}

.dg-swatch-copied::after {
    content: "Vágólapra másolva!" !important;
    opacity: 1 !important;
    background: #8AC9E6 !important;
    color: #05070f !important;
}


/* ==========================================================
   TUDÁSBÁZIS – automatikusan listázott cikk-kártyák
   Fix magasságúak (a kivonat sortörése korlátozott), így nincs
   üres hely a kártyák alján, akárhány/akármilyen hosszú cikk van.
   ========================================================== */

.dg-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    box-sizing: border-box;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.dg-article-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.8rem;
    height: 100%;
    box-sizing: border-box;
    text-decoration: none !important;
    color: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.dg-article-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: #fafafa;
}

.dg-article-tag {
    display: inline-block;
    color: #8AC9E6;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dg-article-card h3 {
    text-align: left;
    font-size: 1.1rem;
    margin: 0 0 10px;
    /* Max. 2 sor cím, hogy a hosszú címek se törjék meg az egyenlő magasságot */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-article-card p {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
    /* Max. 4 sor kivonat - emiatt lesz minden kártya egyforma magas */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-article-cta {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8AC9E6;
}


/* ==========================================================
   LIGHTBOX – kattintásra felugró, nagyított galéria-kép
   ========================================================== */

.dg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5, 7, 15, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
    box-sizing: border-box;
}

.dg-lightbox.dg-lightbox-open {
    display: flex;
}

.dg-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: dg-lightbox-fade 0.2s ease;
}

@keyframes dg-lightbox-fade {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.dg-lightbox-close,
.dg-lightbox-prev,
.dg-lightbox-next {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(138, 201, 230, 0.8);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 3001;
    user-select: none;
}

.dg-lightbox-close:hover,
.dg-lightbox-prev:hover,
.dg-lightbox-next:hover {
    background: rgba(0, 210, 255, 0.3);
    border-color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.5);
}

.dg-lightbox-close {
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
}

.dg-lightbox-prev,
.dg-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
}

.dg-lightbox-prev {
    left: 24px;
}

.dg-lightbox-next {
    right: 24px;
}

.dg-lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    color: #ffffff;
    z-index: 3001;
}

.dg-gallery-track img {
    cursor: zoom-in;
}

@media (max-width: 600px) {
    .dg-lightbox-prev,
    .dg-lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .dg-lightbox-close {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        top: 14px;
        right: 14px;
    }
    .dg-lightbox-prev { left: 10px; }
    .dg-lightbox-next { right: 10px; }
}


/* ==========================================================
   BESZÚRHATÓ SZÖVEGKÖZI KÉP (cikkekhez, szolgáltatás-leírásokhoz)
   Használat: <img src="..." alt="..." class="dg-inline-img dg-inline-img--left">
   Az igazítást a --left / --center / --right módosító adja,
   ezt cseréld a kívánt irányra. Kattintásra lightboxban nyílik meg.
   ========================================================== */

.dg-inline-img {
    max-width: min(320px, 100%);
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    box-sizing: border-box;
}

.dg-inline-img:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.dg-inline-img--left {
    float: left;
    margin: 4px 24px 16px 0;
}

.dg-inline-img--right {
    float: right;
    margin: 4px 0 16px 24px;
}

.dg-inline-img--center {
    display: block;
    float: none;
    margin: 20px auto;
}

@media (max-width: 600px) {
    /* Kis képernyőn a lebegő (float) elrendezés helyett inkább teljes
       szélességben, középen jelenjen meg minden szövegközi kép */
    .dg-inline-img--left,
    .dg-inline-img--right {
        float: none;
        display: block;
        margin: 16px auto;
        max-width: 100%;
    }
}


/* ==========================================================
   TÖBB SZÖVEGKÖZI KÉP EGY SORBAN (statikus, nem fut, mint a galéria)
   Használat: rakj több .dg-inline-img képet egy .dg-inline-img-row
   konténerbe - PC-n egymás mellett, mobilon egymás alatt jelennek meg.
   ========================================================== */

.dg-inline-img-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin: 20px 0;
    clear: both;
}

.dg-inline-img-row .dg-inline-img {
    float: none;
    margin: 0;
    width: auto;
    flex: 1 1 200px;
    max-width: min(320px, 100%);
}


/* ==========================================================
   WEBSHOP — Termékkártya
   Használat: másolj be egy .dg-product-card blokkot bármelyik
   szolgáltatás-oldal szövegébe (lásd a dokumentációs mintát).
   ========================================================== */

.dg-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 0;
    box-sizing: border-box;
}

.dg-product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-sizing: border-box;
    color: #fafafa;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dg-product-images {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.dg-product-images img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: zoom-in;
    -webkit-user-drag: none;
    user-select: none;
}

/* Ha csak 1 kép van, töltse ki a teljes szélességet; ha 2, osszák meg */
.dg-product-images:has(img:only-child) img {
    height: 200px;
}

.dg-product-card h3 {
    text-align: left;
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.dg-product-card .dg-product-desc {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

.dg-stock-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.dg-stock-badge--in {
    background: rgba(80, 200, 120, 0.18);
    border: 1px solid rgba(80, 200, 120, 0.5);
    color: #7CE0A0;
}

.dg-stock-badge--low {
    background: rgba(255, 180, 60, 0.18);
    border: 1px solid rgba(255, 180, 60, 0.5);
    color: #FFC773;
}

.dg-stock-badge--out {
    background: rgba(255, 90, 90, 0.15);
    border: 1px solid rgba(255, 90, 90, 0.45);
    color: #FF8A8A;
}

.dg-product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #8AC9E6;
    margin-bottom: 12px;
}

.dg-product-card label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.dg-product-card select.dg-size-select,
.dg-product-card input.dg-qty-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    font-size: 0.9rem;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.dg-product-options {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.dg-add-to-cart {
    cursor: pointer;
    display: inline-block;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(138, 201, 230, 0.8);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.dg-add-to-cart:hover {
    background: rgba(0, 210, 255, 0.3);
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.dg-add-to-cart-done {
    background: rgba(80, 200, 120, 0.3) !important;
    border-color: #7CE0A0 !important;
}

/* ==========================================================
   WEBSHOP — Kosár ikon a fejlécben
   ========================================================== */

.dg-cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dg-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 15px;
    border: none;
    border-radius: 50%;
    background: #8AC9E6;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dg-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(138, 201, 230, 0.55);
}

.dg-cart-count {
    display: none;
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    background: #0A0D42;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50px;
    border: 2px solid #8AC9E6;
}

/* ==========================================================
   WEBSHOP — Kosár oldal (/kosar)
   ========================================================== */

.dg-cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto auto auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dg-cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dg-cart-item-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dg-cart-item-name {
    font-weight: 700;
}

.dg-cart-item-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.dg-cart-item-qty input {
    width: 60px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    text-align: center;
}

.dg-cart-item-total {
    font-weight: 800;
    color: #8AC9E6;
    white-space: nowrap;
}

.dg-cart-remove {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dg-cart-remove:hover {
    color: #FF8A8A;
}

@media (max-width: 600px) {
    .dg-cart-item {
        grid-template-columns: 50px 1fr auto;
        row-gap: 8px;
    }
    .dg-cart-item img { width: 50px; height: 50px; }
    .dg-cart-item-qty { grid-column: 2; }
    .dg-cart-item-total { grid-column: 3; }
}

.dg-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.dg-cart-total-row span:last-child {
    color: #8AC9E6;
}

/* ==========================================================
   WEBSHOP — Szállítási / fizetési mód választó (checkout)
   ========================================================== */

.dg-option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 20px;
}

.dg-option-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dg-option-choice:hover {
    background: rgba(138, 201, 230, 0.1);
    border-color: rgba(138, 201, 230, 0.5);
}

.dg-option-choice input {
    margin-top: 3px;
}

.dg-option-choice .dg-option-title {
    font-weight: 700;
    display: block;
}

.dg-option-choice .dg-option-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}
