/* ==========================================================================
   Dobrý futon — Hlavní stylopis
   Lokální fonty: Inter (Google Fonts) + Font Awesome 6
   ========================================================================== */

@import url('assety/fonts/inter.css');
@import url('assety/fonts/fontawesome.css');

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-brand-green: #6f8043;
  --color-brand-green-light: #788653;
  --color-brand-logo: #60662d;
  --color-brand-brown: #b95335;
  --color-brand-brown-hover: #9e432a;
  --color-brand-dark: #20201e;
  --color-brand-gray: #626158;
  --color-brand-bg-light: #faf8f3;
  --color-brand-bg-card: #faf8f7;
  --color-brand-border: #e8e4da;
  --color-border-subtle: #fcfaf9;
  --container-max: 1280px;
}

/* ==========================================================================
   Reset & Základní prvky
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-brand-dark);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Vlastní posuvník */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--color-brand-border);
  border-radius: 10px;
}

.container {
  width: min(calc(100% - 48px), var(--container-max));
  margin-inline: auto;
}

/* ==========================================================================
   Horní lišta s výhodami (Utility Banner)
   ========================================================================== */
.utility-banner {
  background-color: var(--color-brand-bg-light);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 12px 0;
}

.utility-banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 48px;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand-gray);
  font-size: 14px;
  font-weight: 500;
}

.utility-item i {
  color: rgba(120, 134, 83, 0.6);
  font-size: 15px;
}

/* ==========================================================================
   Hlavní navigace (Header)
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover .brand-logo {
  opacity: 0.88;
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link,
.nav-dropdown-btn {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-brand-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-dropdown-btn:hover {
  color: var(--color-brand-green);
}

.nav-chevron {
  font-size: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pro-massage-btn {
  background-color: var(--color-brand-brown);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pro-massage-btn:hover {
  background-color: var(--color-brand-brown-hover);
  transform: translateY(-1px);
}

.action-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  border-left: 1px solid #f3f4f6;
  padding-left: 24px;
}

.action-btn {
  font-size: 18px;
  color: var(--color-brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.action-btn:hover {
  color: var(--color-brand-green);
}

.mobile-menu-btn {
  display: none;
}

/* Mobilní menu rozbalovací panel */
.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--color-brand-border);
  padding: 16px 24px;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-brand-dark);
  padding: 8px 0;
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: var(--color-brand-green);
}

.mobile-pro-btn {
  background-color: var(--color-brand-brown);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* ==========================================================================
   Hero sekce
   ========================================================================== */
.hero-section {
  padding: 32px 0 48px;
  background-color: #ffffff;
}

.hero-banner {
  position: relative;
  background-color: var(--color-brand-bg-light);
  overflow: hidden;
  min-height: 520px;
  border-radius: 16px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 64px 48px 64px 118px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 28px;
  margin: 0;
}

.hero-headings {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

.hero-title {
  font-size: clamp(1.2rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #000000;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.16vw, 1.35rem);
  color: #60662D;
  font-weight: 600;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  background-color: var(--color-brand-green);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.hero-cta-btn:hover {
  background-color: #5c6b36;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Posuvníky / šipky slideru */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.88);
  color: var(--color-brand-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background-color: #ffffff;
  color: var(--color-brand-green);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.06);
}

.slider-arrow-prev {
  left: 24px;
}

.slider-arrow-next {
  right: 24px;
}

/* Indikátory (tečky) */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(0, 0, 0, 0.5);
}

.slider-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--color-brand-green);
}

/* ==========================================================================
   Přednosti / Pilíře (USP Section)
   ========================================================================== */
.usps {
  background-color: var(--color-brand-bg-card);
  border-bottom: 1px solid var(--color-brand-border);
  padding: 48px 0;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.usp-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
}

.usp-item:not(:last-child) {
  border-right: 1px solid var(--color-brand-border);
}

.usp-icon-box {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background-color: #f0ede4;
  border-radius: 16px;
  border: 1px solid #c8c4a8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-green);
  font-size: 22px;
}

.usp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 3px;
}

.usp-title {
  font-size: 14.4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--color-brand-dark);
}

.usp-desc {
  color: var(--color-brand-gray);
  font-size: 11.5px;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Sekce produktů / Kolekce (Collection)
   ========================================================================== */
.collection {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-brand-dark);
}

.section-divider {
  width: 64px;
  height: 4px;
  background-color: var(--color-brand-green);
  border-radius: 9999px;
  margin: 16px auto 0;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--color-brand-border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  border-color: rgba(111, 128, 67, 0.4);
}

.product-img-box {
  height: 240px;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-info {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand-dark);
  transition: color 0.2s ease;
}

.product-card:hover .product-name {
  color: var(--color-brand-green);
}

.product-desc {
  color: var(--color-brand-gray);
  font-size: 14px;
  margin-top: 4px;
}

.product-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-brand-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-green);
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-card:hover .product-arrow {
  background-color: var(--color-brand-green);
  color: #ffffff;
}

/* ==========================================================================
   Promo banner (Masážní stoly)
   ========================================================================== */
.promo {
  background-color: #f3efe5;
  border-top: 1px solid var(--color-brand-border);
  border-bottom: 1px solid var(--color-brand-border);
  padding: 64px 0;
}

.promo-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.promo-content {
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-brand-dark);
  line-height: 1.2;
}

.promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.promo-text {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-brand-dark);
  opacity: 0.85;
  line-height: 1.4;
}

.promo-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-brand-brown);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.promo-btn:hover {
  background-color: var(--color-brand-brown-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.promo-img-box {
  width: 100%;
  max-width: 340px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Patička (Footer)
   ========================================================================== */
.site-footer {
  background-color: var(--color-brand-bg-light);
  padding: 96px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand .brand-logo {
  height: 44px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9eddf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-green);
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background-color: var(--color-brand-green);
  color: #ffffff;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-brand-gray);
  font-size: 15px;
}

.footer-link {
  color: var(--color-brand-gray);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-brand-green);
}

.footer-highlight {
  color: var(--color-brand-dark);
  font-weight: 700;
}

.footer-about-text {
  color: var(--color-brand-gray);
  font-size: 15px;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-brand-border);
  text-align: center;
  color: var(--color-brand-gray);
  font-size: 14px;
}

.footer-heart {
  color: var(--color-brand-brown);
  margin-left: 5px;
  font-size: 13px;
  display: inline-block;
  vertical-align: -1px;
}

.footer-bottom-link {
  color: var(--color-brand-dark);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: var(--color-brand-green);
}

/* ==========================================================================
   Responzivní zobrazení (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .usps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .usp-item {
    padding: 0;
    border-right: none !important;
  }
  .usp-item:not(:last-child) {
    border-bottom: 1px solid var(--color-brand-border);
    padding-bottom: 32px;
  }
  .promo-inner {
    flex-direction: column;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 42px;
  }
  .header-actions .pro-massage-btn {
    display: none;
  }
  .action-icons {
    border-left: none;
    padding-left: 0;
  }
  .slider-arrow {
    display: none;
  }
  .hero-section {
    padding: 16px 0 32px;
  }
  .hero-banner {
    min-height: 480px;
    border-radius: 12px;
  }
  .hero-slide {
    padding: 36px 20px;
  }
  .slider-dots {
    bottom: 16px;
  }
  .hero-content {
    gap: 20px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .promo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .utility-banner-inner {
    gap: 12px 24px;
  }
}
