/* =====================================================
   ŠPICAMENU — Home Page  (Modern Redesign)
   ===================================================== */

/* -- Design Tokens ----------------------------------- */
:root {
  --brand-dark:    #5c0d0d;
  --brand-primary: #aa1318;
  --brand-light:   #d42b30;
  --accent:        #ffc107;
  --surface:       #ffffff;
  --bg-light:      #f5f5f5;
  --text-primary:  #1a1a1a;
  --text-muted:    #666666;
  --shadow-sm:  0 2px 8px  rgba(0,0,0,.10);
  --shadow-md:  0 6px 24px rgba(0,0,0,.14);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.18);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --ease:       .3s cubic-bezier(.4,0,.2,1);
}

/* ---- Body ----------------------------------------- */
.home-body {
  background-image: none;
    background-color: var(--bg-light);
}

/* ---- Hero Header ----------------------------------- */
.home-body header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin-top: 0;
  padding-top: 90px;
  background: linear-gradient(150deg, #1a0505 0%, var(--brand-dark) 45%, var(--brand-primary) 100%);
  overflow: hidden;
}

.home-body header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(255,255,255,.07) 0%, transparent 65%);
  pointer-events: none;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(90vw, 760px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.header-text a {
  width: auto;
}

.header-text a:hover {
  background: none;
  text-decoration: none;
}

#title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.1;
  transition: var(--ease);
}

.titleRed {
  color: var(--accent);
  transition: .2s;
}

.titleRed:hover {
  text-shadow: 0 0 32px rgba(255,193,7,.8);
}

#subtitle {
  font-size: clamp(.95rem, 2.2vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,.75);
  margin: 0;
  padding: 0;
  transition: var(--ease);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: .5rem;
}

.header-text a.hero-btn {
  width: auto;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: .9rem 2.5rem;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.header-text a.hero-btn-menu {
  background: #fff;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.header-text a.hero-btn-phone {
  background: transparent;
  color: #fff;
}

.header-text a.hero-btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.header-text a.hero-btn-menu:hover {
  background: var(--light-red);
}

.header-text a.hero-btn-phone:hover {
  background: rgba(255,255,255,.15);
}

#d-arrow {
  width: 52px;
  height: 52px;
  object-fit: contain;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  padding: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  transition: var(--ease);
  animation: hero-bounce 2.4s ease-in-out infinite;
  margin: .5rem 0 0;
}

#d-arrow:hover {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.22);
  transform: translateY(5px);
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(9px);}
}

/* ---- Feature Cards --------------------------------- */
.home-text {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding: 5rem 2rem;
  background: var(--bg-light);
  overflow: visible;
}

.home-text-container {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  flex: 1 1 240px;
  max-width: 310px;
  padding: 1.75rem;
  transition: transform var(--ease), box-shadow var(--ease);
}

.home-text-container:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-text-container-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-primary);
}

.home-text-container-head img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home-text-container-head h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-dark);
  padding: 0;
  margin: 0;
  text-align: left;
}

.home-text-container-body li {
  list-style: none;
  font-size: .95rem;
  color: var(--text-muted);
  padding: .35rem 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.home-text-container-body li::before {
  content: '✓';
  color: var(--brand-primary);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ---- Jak objednat ---------------------------------- */
.home-wave {
  display: block;
  width: 100%;
  /* překryv o 1 px zakryje světlou linku na spojích SVG a sekce */
  margin-top: -1px;
  margin-bottom: -1px;
}

.home-steps {
  padding: 3rem 2rem 4rem;
}

.home-steps-intro {
  max-width: 640px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,.88);
  margin: -1rem 0 2.5rem;
}

.home-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.75rem;
  max-width: 1300px;
}

.home-step {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  flex: 1 1 240px;
  max-width: 290px;
  margin: 0;
  padding: 1.75rem;
  transition: transform var(--ease), box-shadow var(--ease);
}

.home-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-step-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-primary);
}

.home-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
}

.home-step-head h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-dark);
  padding: 0;
  margin: 0;
  text-align: left;
}

.home-step p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.home-step-link {
  color: var(--brand-primary);
  font-weight: 600;
  white-space: nowrap;
}
/* ---- CTA Section ----------------------------------- */
#button-section {
  background: var(--surface);
  padding: 3.5rem 1rem;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

#home-order-button {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 1rem 3.5rem;
  box-shadow: 0 6px 22px rgba(170,19,24,.4);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  cursor: pointer;
}

#home-order-button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(170,19,24,.5);
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
}

#home-phone-button {
  background: var(--surface);
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--brand-primary);
  border-radius: 50px;
  padding: .9rem 2.5rem;
  transition: transform var(--ease), background var(--ease);
}

#home-phone-button:hover {
  transform: translateY(-3px);
  background: var(--light-red);
}

/* ---- About Sections -------------------------------- */
.home-about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 2rem;
  height: auto;
  background-color: rgb(118, 16, 16);
  color: #fff;
  width: 100%;
}

.home-about-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  padding: 0;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.home-about-section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: .7rem auto 0;
}

.home-about-body {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  max-width: 960px;
  width: 100%;
}

.home-about-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,.88);
  padding: 0;
}

.home-about-body img {
  width: 280px;
  max-width: 36vw;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  flex-shrink: 0;
  padding: 0;
}

/* ---- News Section ---------------------------------- */
.news-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-light);
  padding: 4.5rem 1rem;
  margin: 0;
}

.news-current {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: min(680px, 92vw);
  padding: 0;
  box-shadow: none;
  margin: 0;
  background: none;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  border-top: 4px solid var(--brand-primary);
  transition: transform var(--ease), box-shadow var(--ease);
  height: auto;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.news-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 0 0 .75rem;
  margin: 0 0 .75rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.news-content {
  height: auto;
  gap: 1rem;
  align-items: flex-start;
}

.news-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  overflow-y: auto;
}

.news-text::-webkit-scrollbar {
  opacity: 0;
  width: 0;
}

.news-image {
  height: 160px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  margin: 0;
}

/* ---- Login / Account Button ----------------------- */
.login-btn {
  position: fixed;
  top: 100px;
  right: 20px;
  height: auto;
  padding: .45rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 50px;
  border: 2px solid var(--brand-primary);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  z-index: 9;
}

.login-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Menu Subscription Popup ---------------------- */
.sendMenuPopup {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.6);
  position: fixed;
  z-index: 100;
  padding: 2.75rem 2.25rem;
  max-width: 420px;
  width: 90vw;
  text-align: center;
}

.sendMenuPopup h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 0;
  margin: 0 0 .6rem;
  text-align: center;
}

.sendMenuPopup p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

.sendMenuPopup * {
  margin: 0;
}

.sendMenuPopupForm {
  display: flex;
  gap: .85rem;
  margin-top: 1.75rem;
  width: 100%;
  justify-content: center;
}

/* ---- Legacy Popup (popup-home) -------------------- */
.popup-home {
  border-radius: var(--radius-md);
  position: fixed;
  width: 60vw;
  height: 80vh;
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: .5s ease-in-out;
  z-index: 5;
  top: 0;
  margin-top: 10vh;
}

.popup-home-head {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  height: 10%;
  width: 100%;
  background: var(--brand-primary);
}

#cross {
  position: absolute;
  right: 0;
  height: 10%;
  cursor: pointer;
}

/* ---- Responsive ------------------------------------ */
@media (max-width: 992px) {
  .home-about-body {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .home-about-body img {
    max-width: 60%;
    width: auto;
  }

  #home-order-button,
  #home-phone-button,
  .header-text a.hero-btn {
    width: min(88vw, 400px);
  }

  .news-content {
    flex-direction: column;
    align-items: center;
  }

  .news-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .home-text {
    padding: 3rem 1rem;
    gap: 1rem;
  }

  .home-text-container,
  .home-step {
    max-width: 100%;
  }

  .news-current {
    width: 96vw;
  }

  h3 {
    font-size: 1.3rem;
  }

  .home-about-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .sendMenuPopupForm {
    flex-direction: column;
    align-items: center;
  }

  .home-body header {
    padding-top: 8vh;
  }
}