/* =========================================
   1. KONFIGURÁCIA A PREMENNÉ
   ========================================= */
:root {
  --p: #3b66cf;
  --s: #5ec5ed;
  --dark: #101828;
  --gray: #667085;
  --white: #ffffff;
  --bg: #f9fbff;
  --radius: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. ZÁKLADNÝ RESET
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* --- HLAVNÝ SCROLLBAR CELÉHO WEBU --- */

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: #f9fbff; /* Farba tvojho pozadia webu */
}

html::-webkit-scrollbar-thumb {
  background: #3b66cf;
  border-radius: 10px;
  border: 3px solid #f9fbff; /* Robí ten pekný medzerový efekt */
}

section[id] {
  scroll-margin-top: 100px; /* Uprav podľa výšky tvojho menu + rezerva */
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

section {
  position: relative;
  width: 100%;
  padding: 100px 0;
}

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

.container {
  max-width: 1200px; /* Tu nastavujeme tú tvoju šírku */
  margin: 0 auto; /* Vycentruje obsah v strede obrazovky */
  padding: 0 24px; /* Odsadenie od okrajov na mobiloch */
  position: relative; /* Dôležité, aby obsah bol nad pozadím */
  z-index: 5; /* Vrstva nad vizuálnym pozadím */
}

.section-bg-visual {
  position: absolute; /* Odlepí sa od textu a pláva v pozadí */
  inset: 0; /* Roztiahne sa na celú plochu sekcie */
  z-index: 1; /* Bude pod kontajnerom (ten má z-index 5) */
  pointer-events: none; /* Zabezpečí, že cez pozadie sa dá klikať na tlačidlá */
}

/* =========================================
   3. DEKORATÍVNE POZADIE
   ========================================= */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(#e0e7ff 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.blob-main {
  width: 500px;
  height: 500px;
  background: #dbeafe;
  top: -100px;
  right: -100px;
}

.blob-sub {
  width: 400px;
  height: 400px;
  background: #ede9fe;
  bottom: 10%;
  left: -100px;
}

/* =========================================
   4. NAVIGÁCIA (UČESANÁ A ZAROVNANÁ)
   ========================================= */
nav {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.hide-nav {
  transform: translateY(-100%);
}

/* Zobrazenie navigácie (vrátenie do pôvodného stavu) */
nav.show-nav {
  transform: translateY(0);
}

.nav-flex {
  display: flex;
  align-items: center;
  /* justify-content tu už nemusí byť flex-start, margin-left auto to vyrieši */
}

/* TOTO JE TEN MAGICKÝ OBAL */
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px; /* Medzera medzi menu a tlačidlom */
  margin-left: auto; /* Odsunie logo vľavo a VŠETKO v tomto dive doprava */
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-nav {
  /* Farby a Gradient podľa obrázka */
  background: linear-gradient(135deg, #4a80f0, #3b66cf);
  color: #ffffff;

  /* Typografia */
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;

  /* Tvar a Odsadenie */
  padding: 12px 28px;
  border-radius: 12px;
  border: none;

  /* Tieň pre hĺbku */
  box-shadow: 0 10px 20px rgba(59, 102, 207, 0.25);

  /* Nastavenie pre plynulú animáciu */
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* HOVER EFEKT - Nadvihnutie a žiara */
.btn-nav:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(59, 102, 207, 0.4);
  background: linear-gradient(
    135deg,
    #5ec5ed,
    #3b66cf
  ); /* Jemná zmena gradientu */
}

/* AKTÍVNY STAV - Prekliknutie */
.btn-nav:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(59, 102, 207, 0.3);
}

/* JEMNÝ LESK (Glint efekt) */
.btn-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s;
}

.btn-nav:hover::before {
  left: 100%; /* Prebleskne lesk pri prejdení myšou */
}

/* =========================================
   LOGO ŠTÝL (ZVAČŠENÉ BEZ ROZTIAHNUTIA MENU)
   ========================================= */

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  /* Pevná šírka wrapperu zabezpečí, že sa menu nepohne */
  width: 180px;
  height: 45px; /* Výška zostáva rovnaká ako predtým */
}

.logo-text {
  margin-left: 60px;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #101828 30%, #1e3a8a 100%);
  letter-spacing: -0.5px;
  white-space: nowrap; /* Zabezpečí, že text bude v jednom riadku */
  /* Jemné nadvihnutie, aby to ladilo s vznášajúcim sa logom */
  transition: var(--transition);
  /* Vystrihnutie textu */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Zabezpečíme, aby sa gradient pri animácii loga netrhal */
  display: inline-block;
  transition: var(--transition);
}

/* Ak chceme, aby sa pri hoveri na logo zmenila farba textu */
.logo-wrapper:hover .logo-text {
  background: linear-gradient(135deg, #1e3a8a 0%, var(--p) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateX(2px);
}

/* Responzivita - ak by sa text na mobile nezmestil */
@media (max-width: 480px) {
  .logo-text {
    display: none; /* Na úplne malých displejoch necháme len ikonku */
  }
}
.main-logo {
  /* Logo je teraz väčšie */
  height: 65px;
  width: auto;
  display: block;

  /* Absolútne pozicionovanie ho "odpúta" od výšky menu */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;

  filter: drop-shadow(0 5px 15px rgba(59, 102, 207, 0.15));
  transition: var(--transition);
  animation: floatingLogo 4s infinite ease-in-out;
  z-index: 10;
}

/* --- UPRAVENÁ ANIMÁCIA --- */
@keyframes floatingLogo {
  0%,
  100% {
    transform: translateY(-50%);
    filter: drop-shadow(0 5px 15px rgba(59, 102, 207, 0.15));
  }
  50% {
    /* Logo sa vznáša o niečo vyššie nad rámec menu */
    transform: translateY(-55%);
    filter: drop-shadow(0 15px 30px rgba(59, 102, 207, 0.25));
  }
}

/* Responzivita pre mobil */
@media (max-width: 768px) {
  .logo-wrapper {
    width: 140px;
    height: 35px;
  }
  .main-logo {
    height: 45px; /* Na mobile ho tiež necháme mierne väčšie */
  }
}

/* =========================================
   5. HERO SEKCIU
   ========================================= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;

  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;

  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* TOTO VYTVORÍ PLYNULÝ PRECHOD DO STRATENA */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-flex h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-flex p {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 600px; /* Aby riadok nebol príliš dlhý */
}

/* Gradinent pre text, ak ho chceš mať v h1 */
.text-gradient {
  background: linear-gradient(135deg, #101828 30%, #1e3a8a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient2 {
  background: linear-gradient(70deg, #1e3a8a 30%, #101828 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  /* Zachovaný tvoj pôvodný gradient */
  background: linear-gradient(90deg, #2b52cc, #5ec5ed);
  color: #ffffff;

  /* Typografia a tvar */
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 12px;
  border: none;

  /* Tieň pre hĺbku (modrastý nádych) */
  box-shadow: 0 10px 20px rgba(59, 102, 207, 0.25);

  /* Nastavenia pre výkon a plynulosť */
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* HOVER EFEKT - Nadvihnutie a zvýraznenie */
.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(59, 102, 207, 0.4);
  /* Jemná zmena jasu gradientu pri hoveri */
  background: linear-gradient(90deg, #3b66cf, #73e0ff);
}

/* AKTÍVNY STAV - Zatlačenie */
.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(59, 102, 207, 0.3);
}

/* JEMNÝ LESK (Glint efekt) */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover::before {
  left: 100%; /* Preblesknutie svetla */
}

/* RESPONZIVITA */
@media (max-width: 768px) {
  .btn-primary {
    width: 100%;
  }
}

.glass-mockup {
  width: 100%;
  height: 420px;
  background: white;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 40px 80px rgba(16, 24, 40, 0.08);
  position: relative;
  overflow: visible;
}

.floating-card {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.fl-1 {
  width: 120px;
  height: 120px;
  background: #fff;
  top: -30px;
  right: -30px;
}

.fl-2 {
  width: 100px;
  height: 100px;
  background: var(--p);
  bottom: 40px;
  left: -40px;
  opacity: 0.9;
}
/* =========================================
   6. O MNE - FINÁLNA OPRAVA PODĽA OBRÁZKA
   ========================================= */
.about-section {
  padding: 100px 0;
  text-align: left;
}

/* 1. Veľké O MNE */
.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

/* 2. Čiara cez celú šírku */
.header-line {
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* 3. Hlavný text (Väčší a hrubý) */
.main-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

/* 4. Popis pod tým */
.description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.description2 {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 60px;
}
/* 5. Bunky (Pilly) */
.stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================================
   BUNKY S BRUTÁLNYM HOVER EFEKTOM
   ========================================= */

/* =========================================
   BUNKY S EFEKTOM "LIQUID & TILT"
   ========================================= */

.stat-pill {
  background: #ffffff;
  padding: 20px 35px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
  border: 1px solid #f0f2f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);

  /* Plynulý prechod pre všetky vlastnosti */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;

  /* Tvoja pôvodná animácia levitovania */
  /* animation: floatingLogo 2s infinite ease-in-out;  */
}

/* Skrytá "tekutina" v pozadí */
.stat-pill::after {
  content: "";
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 102, 207, 0.05),
    rgba(94, 197, 237, 0.05)
  );
  transition: all 0.4s ease;
  z-index: -1;
}

/* HOVER STAV */
.stat-pill:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--p);
  box-shadow: 0 15px 30px rgba(59, 102, 207, 0.1);
}

.stat-pill:hover::after {
  bottom: 0; /* Tekutina sa vysunie hore */
}

/* Animácia obsahu - číslo a text sa jemne rozídu */
.stat-pill:hover .stat-number {
  transform: translateX(-3px);
  color: var(--p);
}

.stat-pill:hover .stat-text {
  transform: translateX(3px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  transition: all 0.3s ease;
}

.stat-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
}

/* =========================================
   7. PROJEKTY
   ========================================= */
.projects-section {
  padding: 80px 0;
}

.projects-section .title,
.subtitle {
  text-align: left;
}

.projects-grid {
  text-align: center;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--gray);
  margin-bottom: 48px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.p-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.p-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.p-img {
  height: 230px;
  background: #f2f5ff;
}

.p-content {
  padding: 30px;
}

.btn-secondary {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;

  /* Tvoj gradient upravený pre 3D hĺbku */
  background: linear-gradient(90deg, #4a80f0, #73e0ff);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;

  /* Pozícia pre Glint efekt */
  position: relative;
  overflow: hidden;
  z-index: 1;

  /* 3D tieňovanie a plynulosť */
  box-shadow:
    0 6px 15px rgba(74, 128, 240, 0.2),
    inset 0 -3px 0 rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);

  /* Hardvérová akcelerácia pre 60+ FPS */
  will-change: transform, box-shadow;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* HOVER EFEKT - Nadvihnutie a žiara */
.btn-secondary:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 12px 25px rgba(74, 128, 240, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  /* Mierne oživenie farieb */
  filter: brightness(1.05);
}

/* ACTIVE - Fyzické stlačenie */
.btn-secondary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 3px 8px rgba(74, 128, 240, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* JEMNÝ LESK (Glint efekt) */
.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary:hover::before {
  left: 100%; /* Preblesknutie pri hoveri */
}

/* =========================================
   8. SLUŽBY
   ========================================= */
.services-section {
  padding: 80px 0;
}

.services-section .title,
.subtitle {
  text-align: left;
}

.services-section .services-grid {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.s-card {
  background: white;
  padding: 48px 24px;
  border-radius: 28px;
  border: 1px solid #f0f2f5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.s-card:hover {
  border-color: var(--p);
  transform: scale(1.02);
}

.s-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 28px;
  border-radius: 20px;
  display: flex;          /* Zarovnanie ikonky na stred */
  align-items: center;
  justify-content: center;
}

.i-blue {
  background: linear-gradient(135deg, #4a80f0, #2b52cc);
  box-shadow: 0 10px 20px rgba(59, 102, 207, 0.2);
}

.i-purple {
  background: linear-gradient(135deg, #a78bfa, #8a3ffc);
  box-shadow: 0 10px 20px rgba(138, 63, 252, 0.2);
}

.i-dark {
  background: #101828;
}

.i-outline {
  border: 2.5px solid var(--p);
}

/* Nastavenie samotných SVG ikoniek */
.s-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;          /* Biela farba pre plné pozadia */
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-outline svg {
  stroke: var(--p);       /* Modrá farba pre outline verziu */
}

/* =========================================
   PÄTA (FOOTER) - PREMIUM DESIGN
   ========================================= */
.footer {
  padding: 120px 0 40px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(244, 247, 255, 0.4) 15%,
    #f4f7ff 40%,
    #ffffff 100%
  );
}

.btn-large {
  padding: 22px 64px;
  font-size: 1.15rem;
  margin-top: 10px;
}

.footer-cta {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.footer-cta p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.footer-line {
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center; /* Zarovná logo a text na stred výšky */
  margin-bottom: 5px; /* Odstup od popisu pod tým */
}

.footer-logo {
  height: 40px; /* Veľkosť loga v päte */
  width: auto;
}

.footer-logo-text {
  font-size: 1.2rem; /* Veľkosť nápisu HDK */
  font-weight: 800; /* Extra hrubé písmo */
  letter-spacing: -0.5px;
  color: var(--dark); /* Použije tvoju tmavú farbu */

  /* Ak chceš, aby aj v päte bol ten pekný gradient: */
  background: linear-gradient(135deg, #101828 30%, #1e3a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-info p {
  color: var(--gray);
  max-width: 300px;
}

.footer-contact h4,
.footer-socials h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.footer-contact a {
  display: block;
  text-decoration: none;
  color: var(--gray);
  margin-bottom: 10px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--p);
}

/* Sociálne siete - 3D krúžky */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--dark);
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f2f5;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
  background: var(--p);
  color: white;
  box-shadow: 0 10px 20px rgba(59, 102, 207, 0.2);
  border-color: var(--p);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-legal a {
  text-decoration: none;
  color: var(--gray);
  margin-left: 20px;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--dark);
}

/* Responzivita */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-info p {
    margin: 0 auto;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* =========================================
   10. RESPONSIVITA (MOBILNÁ VERZIA)
   ========================================= */

@media (max-width: 768px) {
  /* Hero sekcia pod seba */
  /* Zabezpečíme, aby hero sekcia nemala žiadne tvrdé pozadie */
  .hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent; /* Aby pod tým bolo vidieť naše nové pozadie */
    overflow: hidden;
  }

  .hero-text h1 {
    font-size: 2.8rem; /* Zmenšenie písma na mobile */
  }

  .hero-visual {
    margin-top: 50px;
    width: 100%;
  }

  .glass-mockup {
    height: 300px; /* Menší mockup pre mobil */
  }

  /* Skrytie/úprava plávajúcich kariet, aby nezavadzali */
  .fl-2 {
    left: 0;
    bottom: -20px;
  }

  /* Menu pod seba alebo skryté (zjednodušená verzia) */
  .nav-menu {
    display: none; /* Pre plne funkčné menu by bol potrebný JS burger, 
                          ale pre začiatok ich skryjeme alebo necháme len CTA */
  }

  /* Štatistiky pod seba */
  .stats-container {
    flex-direction: column;
    gap: 16px;
  }

  /* Gridy (Projekty a Služby) na 1 stĺpec */
  .projects-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Úprava nadpisov sekcií */
  .title {
    font-size: 2rem;
  }

  /* Footer - prvky pod seba */
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-links span {
    margin: 0 10px;
  }

  /* Tlačidlá na celú šírku pre lepšie klikanie */
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* =========================================
   11. ANIMATION CORE (Povinné pre Scroll efekty)
   ========================================= */
.revealOnScroll {
  opacity: 0;
  will-change: transform, opacity;
}

.revealOnScroll.animated {
  opacity: 1;
}

.hero-visual {
  margin-left: -500px;
  z-index: -1;
  height: auto;
  width: 100%;
}

body {
  background-color: #ffffff;
  position: relative;
}

.soft-tech-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* TOTO JE FARBA POZADIA POD MENU (CELÝ WEB) */
  background: radial-gradient(circle at 20% 20%, #f4f7ff 0%, #ffffff 100%);
  overflow: hidden;
}

.subtle-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 102, 207, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 102, 207, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.accent-line-1,
.accent-line-2 {
  position: absolute;
  width: 120vw;
  height: 30vh;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(94, 197, 237, 0.05),
    transparent
  );
  transform: rotate(-15deg);
  filter: blur(40px);
}

.accent-line-1 {
  top: 10%;
  left: -10%;
  animation: moveLine 15s infinite alternate ease-in-out;
}
.accent-line-2 {
  bottom: 15%;
  right: -10%;
  animation: moveLine 20s infinite alternate-reverse ease-in-out;
}

@keyframes moveLine {
  from {
    transform: rotate(-15deg) translateY(0);
  }
  to {
    transform: rotate(-10deg) translateY(50px);
  }
}

.header-line {
  background: linear-gradient(90deg, var(--p), transparent);
  height: 1px;
  opacity: 0.2;
}

/* =========================================
   PRICING STACK - UNIFIED BUTTONS
   ========================================= */

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
  perspective: 1000px; /* Nutné pre 3D hĺbku */
}

.p-row {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(59, 102, 207, 0.08) !important;
  border-radius: 28px;
  padding: 35px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden; /* Dôležité pre svetelný efekt */

  /* Plynulý prechod bez sekania */
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease,
    background 0.4s ease;
}

/* SVETELNÝ EFEKT (Blesk, ktorý prebehne pri hoveri) */
.p-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.5s;
  pointer-events: none;
}

.p-row:hover::before {
  left: 150%;
}

.p-row:hover {
  /* POSUN HORE bez zmeny veľkosti (text ostane ostrý) */
  transform: translateY(-12px);

  background: rgba(255, 255, 255, 0.9) !important;
  border-color: var(--p) !important;

  /* Extrémna hĺbka cez tieň */
  box-shadow:
    0 40px 80px -20px rgba(59, 102, 207, 0.3),
    0 20px 40px -15px rgba(0, 0, 0, 0.1) !important;
}

/* FEATURED VERZIA - ešte viac "glow" */
.p-row.featured:hover {
  box-shadow:
    0 50px 100px -20px rgba(59, 102, 207, 0.4),
    0 0 30px rgba(94, 197, 237, 0.2) !important;
}

.p-info h3 {
  font-size: 1.7rem;
  margin: 10px 0;
  color: var(--dark);
}

.p-info p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 350px;
}

.p-badge.blue {
  background: rgba(59, 102, 207, 0.1);
  color: var(--p);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
/*
.p-list ul { list-style: none; }
*/
.p-list li {
  font-size: 1rem;
  color: var(--dark);
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Ikona namiesto šípky pre viac "dizajnový" look */
.p-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--p);
  border-radius: 50%;
}

.p-action {
  display: flex;
  align-items: center;
  gap: 40px;
}

.p-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

/* Upravené tlačidlá v cenníku */
.p-action button {
  min-width: 160px;
}

/* Mobilná verzia */
@media (max-width: 992px) {
  .p-row {
    flex-direction: column;
    text-align: center;
    padding: 40px;
    gap: 30px;
  }
  .p-action {
    flex-direction: column;
    gap: 15px;
  }
}

/* =========================================
   ACCORDION PRICING SYSTEM
   ========================================= */

.pricing-category {
  margin-bottom: 20px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(59, 102, 207, 0.08);
  transition: var(--transition);
}

.category-header {
  padding: 30px 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  transition: background 0.3s ease;
}

.category-header:hover {
  background: rgba(59, 102, 207, 0.03);
}

/* Ikona šípky */
.arrow-icon {
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--p);
  border-bottom: 3px solid var(--p);
  transform: rotate(45deg);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-right: 10px;
}

/* Obsah akordeónu */
.category-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.6s ease;
  padding: 0 45px;
}

/* Aktívny stav po tuknutí */
.pricing-category.active {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--p);
}

.pricing-category.active .category-content {
  max-height: 5000px; /* Zvýšené, aby sa zmestili všetky služby */
  padding-bottom: 70px;
  overflow: visible;
}

/* =========================================
   12. AUTH MODAL (PRIHLÁSENIE / REGISTRÁCIA)
   ========================================= */

/* Pozadie (Overlay) */
#authModal {
  position: fixed;
  inset: 0;
  z-index: 2000; /* Musí byť nad všetkým */
  background: rgba(16, 24, 40, 0.4); /* Tmavé polopriehľadné pozadie */
  backdrop-filter: blur(8px); /* Rozmazanie pozadia za oknom */
  -webkit-backdrop-filter: blur(8px);
  display: none; /* Predvolene skryté, JS to prepne na flex */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Samotné okno (Karta) */
.auth-content {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 1);
  position: relative;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tlačidlo zatvoriť (X) */
.auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: var(--gray);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.auth-close:hover {
  background: #e2e8f0;
  color: var(--dark);
  transform: rotate(90deg);
}

/* Nadpisy v modale */
.auth-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.5px;
}

.auth-header p {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* Vstupné polia */
.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: #fff;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(59, 102, 207, 0.1);
}

/* Tlačidlo Odoslať (použije tvoj existujúci štýl btn-primary, ale upravíme šírku) */
.auth-form .btn-primary {
  width: 100%;
  margin-top: 10px;
}

/* Prepínanie (Login <-> Register) */
.auth-footer {
  margin-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
}

.auth-footer a {
  color: var(--p);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Logika prepínania boxov */
#login-box, #register-box {
  display: none;
}

#login-box.active, #register-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.pricing-category.active .arrow-icon {
  transform: rotate(-135deg); /* Šípka sa otočí hore */
}

/* Zaistíme, aby 3D efekty riadkov fungovali aj vo vnútri */
.category-content .pricing-stack {
  padding-top: 20px;
}


/* 1. Definícia blendu (ostáva podobná) */
.p-info::after,
.p-list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  /* Použijeme farbu tvojho pozadia karty (biela s opacity 0.4 podľa tvojho kódu) */
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1));
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

/* 2. HOVER STAV - Úplné zneviditeľnenie blendu */
.p-row:hover .p-info::after,
.p-row:hover .p-list::after {
  opacity: 0;
  visibility: hidden;
}

/* 3. Oprava pre zoznam, aby bol pri hoveri úplne čitateľný */
.p-row:hover .p-info,
.p-row:hover .p-list {
  max-height: 1000px; /* Roztiahne sa na plnú výšku obsahu */
}

.p-row:hover .p-list::after {
  opacity: 0;
}

.p-list ul {
  margin-top: 30px;

  list-style: none;

  display: inline-block;
}

/* Kontajner pre akciu */
.price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 15px;
}

/* Štítok nad cenou */
.price-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 500;
  margin-bottom: -5px;
}

/* Hlavná cena s dôrazom na číslo */
.main-price {
  font-size: 3rem; /* Ešte o niečo väčšie */
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  letter-spacing: -1px;
}

.main-price .currency {
  font-size: 1.5rem;
  margin-top: 8px;
  margin-right: 2px;
}

/* Výrazná zľava */
.save-amount {
  background: linear-gradient(90deg, #2b52cc, #5ec5ed);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(59, 102, 207, 0.2);
}

/* Slovo ZADARMO v zozname */
.free-text {
  color: #2b52cc;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(43, 82, 204, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 0px;
}

/* Zvýraznenie riadku s akciou */
.promo-row {
  border: 2px solid rgba(59, 102, 207, 0.15) !important;
}

.txt-sluzby {
  margin-bottom: 7px;
}

.txt-sluzby2 {
  margin-bottom: 25px;
}

/* =========================================
   MODAL PORTFÓLIO - PRESNE PODĽA OBRÁZKA
   ========================================= */

/* Pozadie za oknom */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.2); /* Veľmi jemné stmavenie */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  width: 100%;
  max-width: 950px; /* Mierne zväčšené pre viac priestoru */
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Hlavný padding pre celé okno */
  padding: 0;
}

@keyframes portfolioFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hlavička - zväčšené bočné odsadenie */
.modal-header {
  padding: 70px 60px 30px; /* 60px zboku dáva ten profi look */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #101828;
  letter-spacing: -1px;
  margin: 0;
  line-height: 1.1;
  max-width: 50%; /* Zabezpečí, že nadpis neodoženie filtre preč */
  text-align: left;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 5px; /* Jemné doladenie výšky voči textu */
}

/* Filtre ostávajú v riadku, ale pôsobia čistejšie */
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid #e4e7ec;
  background: white;
  color: #475467;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #3b66cf;
  color: #3b66cf;
}

.filter-btn.active {
  background: #3b66cf;
  color: white;
  border-color: #3b66cf;
}

/* Grid s projektmi */
/* Skrolovacia plocha - kľúč k oprave medzier zboku */
.portfolio-scroll-area {
  overflow-y: auto;
  /* Padding zboku musí sedieť s hlavičkou (60px) */
  /* Padding hore a dole vytvorí medzeru od filtrov a od päty */
  padding: 20px 60px 40px;
}
.portfolio-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.portfolio-scroll-area::-webkit-scrollbar-track {
  margin: 20px 0; /* Lišta nezačína hneď na okraji */
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px; /* Väčšia medzera medzi samotnými kartami */
}

/* Karta projektu - biela a čistá */
.portfolio-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f2f4f7;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex; /* Zabezpečí, že karta sa správa ako flexbox vnútri gridu */
  flex-direction: column;
  .portfolio-item {
    animation: portfolioFadeIn 0.4s ease forwards;
  }
}

.portfolio-item.is-hidden {
  display: none;
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.item-image {
  position: relative;
  height: 160px;
  background: #f9fafb;
}

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

/* Tmavý štítok na obrázku (ako na foto) */
.item-image::before {
  content: "Custom E-shop pre lokálnu značku";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 50px;
  background: rgba(16, 24, 40, 0.7);
  backdrop-filter: blur(5px);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .item-image::before {
  opacity: 1;
}

/* Informácie pod obrázkom */
.item-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item-info span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #101828;
}

/* Tlačidlo v karte s tvojím gradientom */
.btn-item {
  background: linear-gradient(90deg, #5ec5ed, #3b66cf);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.3s;
}

.btn-item:hover {
  opacity: 0.9;
}

/* Tlačidlo X - fixná pozícia v rohu, aby nezavadzalo */
.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: #f2f4f7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #667085;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20;
}

.modal-close:hover {
  background: #e4e7ec;
  color: #101828;
  transform: rotate(90deg);
}

/* Responzivita: Ak je málo miesta (mobil), dáme ich pod seba */
@media (max-width: 768px) {
  .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 60px;
  }

  .modal-header h2 {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* =========================================
   DASHBOARD STYLES (User & Admin)
   ========================================= */

.dashboard-section {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.05);
}

.dashboard-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
  border-bottom: 2px solid rgba(0,0,0,0.05);
  padding-bottom: 15px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: #fff;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(59, 102, 207, 0.1);
}

/* Checkbox & Radio Customization */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.check-item:hover {
  background: rgba(255,255,255,0.9);
}

/* Order Status Item */
.order-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #f2f4f7;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark);
}

.order-details {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 15px;
}

/* Progress Bar */
.progress-container {
  margin-top: 15px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--p);
}

.progress-track {
  width: 100%;
  height: 10px;
  background: #e0e7ff;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--s), var(--p));
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th {
  text-align: left;
  padding: 15px;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.admin-table td {
  padding: 15px;
  border-top: 1px solid #f2f4f7;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}* Checkbox & Radio Customization */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.check-item:hover {
  background: rgba(255,255,255,0.9);
}

/* Order Status Item */
.order-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #f2f4f7;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark);
}

.order-details {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 15px;
}

/* Progress Bar */
.progress-container {
  margin-top: 15px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--p);
}

.progress-track {
  width: 100%;
  height: 10px;
  background: #e0e7ff;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--s), var(--p));
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th {
  text-align: left;
  padding: 15px;
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.admin-table td {
  padding: 15px;
  border-top: 1px solid #f2f4f7;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   RECENZIE - GLASS DESIGN
   ========================================= */
.reviews-section {
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--p);
  background: rgba(255, 255, 255, 0.9);
}

.quote-icon {
  color: var(--p);
  margin-bottom: 20px;
  opacity: 0.5;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.review-author {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--gray);
}
