:root {
  --primary: #1e88e5;
  --accent: #0d47a1;
  --secondary: #ff6d00;
  --dark-secondary:#e65c00;
}

html { scroll-behavior: smooth; }
body { 
  color: #1f2937; 
  padding-top: 60px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial, 'Apple Color Emoji','Segoe UI Emoji', 'Segoe UI Symbol';
}

/* === NAVBAR === */
.navbar-custom {
  background: rgba(15, 23, 42, 0.8); 
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-custom .nav-link {
  color: #f1f5f9;
  margin: 0 0.6rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--secondary); 
}

.navbar-custom .btn-accent {
  background-color: var(--secondary);
  color: #fff;
  border: none;
}
.navbar-custom .btn-accent:hover {
  background-color: var(--dark-secondary);
}

/* Na scroll ztmaví pozadí */
.navbar-scrolled {
  background: #0f172a !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Mobile menu */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(120deg, rgba(30,58,138,0.85) 0%, rgba(255,109,0,0.8) 100%), 
              url('../img/warehouse-bg.jpg') center/cover no-repeat;
  min-height: 90vh;
  position: relative;
}

.text-accent {
  color: var(--secondary); 
}

.btn-accent {
  background-color: var(--secondary);
  border: none;
  color: #fff;
  transition: all 0.25s ease;
}
.btn-accent:hover {
  background-color: var(--dark-secondary);
  transform: translateY(-2px);
}

.feature-box i {
  display: block;
}
.feature-box h6 {
  margin-bottom: 0.25rem;
}

/* animation */
.hero h1, .hero p, .hero a, .feature-box {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.hero h1 { animation-delay: 0.2s; }
.hero p { animation-delay: 0.4s; }
.hero a { animation-delay: 0.6s; }
.feature-box { animation-delay: 0.8s; }

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


/* === FEATURED CATEGORIES === */
.categories-section {
  background-color: #f8fafc;
}

.category-card {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(0,0,0,0.8) 100%);
  transition: opacity 0.3s ease;
}

.category-card .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.category-card i {
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.category-card h5 {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.category-card:hover .overlay {
  opacity: 0.85;
}

.category-card:hover i {
  transform: scale(1.1);
}

/* === WORKFLOWS === */
.workflows {
  background-color: #f9fafb;
}

.workflow-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.workflow-card h5 {
  color: #0f172a;
}

.quick-quote {
  max-width: 720px;
  border-top: 4px solid var(--dark-secondary);
}

.quick-quote h4 {
  color: #1e3a8a;
}

/* === CATALOG PAGE === */
.catalog-header {
  margin-top: 90px; /* kvůli fixed navbaru */
}

.product-card {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
  object-fit: cover;
  width: 100%;
  height: 180px;
}

.filter-bar select {
  border-radius: 0.5rem;
  border-color: #e2e8f0;
}
.filter-bar select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(255, 109, 0, 0.25);
}

.pagination .page-link {
  color: var(--primary);
  border-radius: 0.5rem;
  margin: 0 3px;
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* === PRODUCT DETAIL === */
.product-detail {
  margin-top: 100px;
}

.product-detail img {
  transition: transform 0.3s ease;
}

.product-detail img:hover {
  transform: scale(1.02);
}

.table th, .table td {
  padding: 0.75rem;
}

.related-products .product-card {
  transition: all 0.3s ease;
}

.related-products .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* === REQUEST QUOTE === */
.quote-form {
  background-color: #f8fafc;
  margin-top: 40px;
}

.quote-form form {
  border-top: 4px solid var(--secondary);
}

.quote-form input,.quote-form select,
.quote-form textarea {
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.quote-form input:focus,.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(255, 109, 0, 0.25);
}

.quote-form .btn-accent {
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
}

.quote-form .btn-accent:hover {
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.35);
}

/* === CATEGORIES PAGE === */
.category-header {
  margin-top: 100px;
}

.category-card {
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* === BULK PRICING PAGE === */
.pricing-header {
  margin-top: 100px;
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.badge.bg-accent {
  background-color: var(--secondary) !important;
  color: #fff;
  font-size: 0.8rem;
  border-radius: 50px;
}

.pricing-card h3 {
  color: var(--accent);
}

/* === ABOUT PAGE === */
.about-header {
  margin-top: 100px;
}

.values-section i {
  color: var(--secondary);
}

.values-section .p-4 {
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.values-section .p-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* === CONTACT SECTION === */
.contact-section {
  background-color: #f8fafc;
}

.contact-section h2 {
  color: var(--primary);
  font-weight: 800;
}

.contact-box {
  border-top: 4px solid var(--secondary);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-box:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.contact-box .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-box .form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(255, 109, 0, 0.25);
}

.contact-box .form-label {
  color: #0f172a;
  font-weight: 600;
}

.contact-box textarea {
  resize: vertical;
}

.contact-box .btn-accent {
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
}
.contact-box .btn-accent:hover {
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.35);
}

/* === FAQ PAGE === */
.faq-header { margin-top: 100px; }

/* === ACCOUNT PAGE === */
.account-page {
  background: linear-gradient(180deg, #fff7f1 0%, #f8fafc 220px, #f8fafc 100%);
  min-height: calc(100vh - 60px);
}

.account-header {
  padding: 3.5rem 0 2rem;
}

.account-header h1 {
  color: #0f172a;
}

.account-shell {
  padding-bottom: 4rem;
}

.account-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.account-card .card-header {
  background: transparent;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 1.5rem 1rem;
}

.account-card .card-body {
  padding: 1.5rem;
}

.account-meta {
  display: grid;
  gap: 0.75rem;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff7ed;
  color: #9a3412;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.account-form .form-control,
.account-form .form-select,
.account-form textarea {
  border-radius: 0.75rem;
  border: 1px solid #dbe4ee;
  padding: 0.85rem 1rem;
}

.account-form .form-control:focus,
.account-form .form-select:focus,
.account-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(255, 109, 0, 0.18);
}

.address-list {
  display: grid;
  gap: 1rem;
}

.address-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
}

.address-item.primary {
  border-color: #fdba74;
  box-shadow: 0 10px 24px rgba(251, 146, 60, 0.12);
}

.address-label {
  font-weight: 700;
  color: #0f172a;
}

.address-lines {
  color: #475569;
  line-height: 1.55;
}

.address-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .account-header {
    padding-top: 2.5rem;
  }
}
.accordion-button:not(.collapsed) {
  background-color: var(--primary);
  color: #fff;
}
.accordion-button:focus { box-shadow: none; }

/* === BLOG PAGE === */
.blog-header {
  margin-top: 100px;
}

.blog-list .card {
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  border-radius: 1rem;
}

.blog-list .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-list .card-img-top {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.blog-list .card-body {
  padding: 1.5rem;
}

.blog-list h5 a {
  transition: color 0.2s ease;
}

.blog-list h5 a:hover {
  color: var(--secondary);
}

/* === BLOG POST PAGE === */
.blog-post {
  margin-top: 100px;
  color: #2d3748;
}

.blog-post h1 {
  font-size: 2.2rem;
  color: var(--primary);
}

.blog-post img {
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.blog-post h4 {
  color: var(--accent);
  margin-top: 2rem;
}

.blog-post blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1rem;
  font-size: 1.05rem;
  color: #4a5568;
}

.blog-post p.lead {
  color: #4a5568;
  font-size: 1.1rem;
}

.blog-post a.btn-outline-primary {
  border-width: 2px;
  border-color: var(--primary);
}

.blog-post a.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #fff;
}


/* === FOOTER === */
.footer {
  background: #0f172a; 
  position: relative;
}

.footer .text-gray {
  color: #9ca3af;
}

.footer .link-light:hover {
  color: var(--secondary);
}

.footer .socials a {
  transition: all 0.3s ease;
}
.footer .socials a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

.footer .form-control {
  background: #1e293b;
  border: none;
  color: #f8fafc;
}
.footer .form-control::placeholder {
  color: #94a3b8;
}
.footer .form-control:focus {
  box-shadow: 0 0 0 2px var(--secondary);
}

/* 🧭 Reduce spacing for cleaner layout */
section {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

@media (max-width: 768px) {
  body{
     padding-top: 0px;
  }
  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

.text-gray, .text-muted {
  color: #555 !important;
}

.footer .text-gray {
  color: #bbb !important;
}
