/* ============================================
   B.A.R.D. - Стилове за началната страница
   ============================================ */

/* HERO СЕКЦИЯ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 4rem 8%;
  background: linear-gradient(135deg, #cf1259, #7a0d39);
  color: #fff;
}

.hero-pan {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  transition: background-position 0.3s ease-out;
  will-change: background-position;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,8,14,0.4), rgba(20,8,14,0.6));
}

.hero-inner {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

@media (hover: none) {
  .hero-pan {
    animation: heropan 20s ease-in-out infinite alternate;
  }
}

@keyframes heropan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pan { animation: none; }
}

.hero .tag {
  color: rgba(255,255,255,0.85);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero h1 em {
  font-style: normal;
  color: #ffc9de;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.75);
  background: transparent;
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* БЪРЗА ИНФОРМАЦИЯ */
.quick-info {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.info-item .icon {
  font-size: 1.5rem;
}

.info-item strong {
  color: var(--dark);
  font-weight: 600;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* СЕКЦИИ */
.section {
  padding: 5rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gray);
  margin-top: 0.5rem;
}

/* КАТЕГОРИИ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-card:hover {
  box-shadow: 0 8px 30px rgba(99,102,241,0.12);
  transform: translateY(-2px);
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.category-card .example {
  font-size: 0.85rem;
  color: var(--gray);
}

.category-card .view-more {
  display: block;
  margin-top: 15px;
  color: var(--brand);
  font-weight: 600;
}

/* ЗАЩО НИЕ */
.why-us {
  background: var(--brand-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.why-grid h3 {
  color: var(--brand2);
  margin-bottom: 10px;
}

/* CTA СЕКЦИЯ */
.cta-section {
  background: var(--dark);
  text-align: center;
  padding: 4rem 5%;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #ccc;
  margin-bottom: 2rem;
}

/* АДАПТИВНОСТ */
@media (max-width: 900px) {
  .hero {
    min-height: 78vh;
    padding: 4rem 7% 3rem;
  }
  
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 5%;
  }
}