/* ===================================
   POLECA.TO - Komponenty specjalne
   =================================== */

/* === BADGE === */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  background: var(--primary-color);
  color: var(--white);
}

.badge-success {
  background: var(--success-color);
}

/* === RATING === */
.rating {
  color: #FFB800;
  font-size: 1.125rem;
  margin: var(--spacing-xs) 0;
}

/* === ALERT === */
.alert {
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.alert i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-info {
  background: #E3F2FD;
  border-left: 4px solid #2196F3;
  color: #1565C0;
}

.alert-warning {
  background: #FFF3E0;
  border-left: 4px solid #FF9800;
  color: #E65100;
}

/* === NO COMPANY STATE === */
.no-company {
  text-align: center;
  padding: var(--spacing-xxl) 0;
}

.no-company .alert {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  text-align: left;
}

.cta-box {
  background: var(--light-gray);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
}

.cta-box h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.cta-box p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

/* === FEATURED COMPANY === */
.featured-company {
  padding: var(--spacing-xl) 0;
}

.company-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.company-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--light-gray);
}

.company-header img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--white);
  padding: var(--spacing-sm);
}

.company-header h2 {
  margin-bottom: var(--spacing-xs);
}

.company-description,
.company-contact,
.company-social,
.company-hours,
.company-gallery {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: 1px solid var(--border-color);
}

.company-contact p,
.company-hours li {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.company-social {
  display: flex;
  gap: var(--spacing-md);
}

.company-social a {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.company-social a:hover {
  background: #e55f00;
  transform: translateY(-2px);
}

.company-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.company-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* === BENEFITS GRID === */
.benefits-cta {
  background: var(--light-gray);
  padding: var(--spacing-xxl) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.benefit {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.benefit:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.benefit i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.benefit h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.benefit p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* === FAQ === */
.faq {
  max-width: 900px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.faq-item h3 {
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.faq-item p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* === KEYWORDS/TAGS === */
.keywords {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-md);
}

.keywords h4 {
  margin-bottom: var(--spacing-md);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tags a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--light-gray);
  color: var(--text-dark);
  border-radius: 20px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tags a:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* === CONTACT FORM === */
.contact-form {
  background: var(--light-gray);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.contact-form h2 {
  margin-bottom: var(--spacing-md);
}

.contact-form p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.pricing-reminder {
  max-width: 600px;
  margin: var(--spacing-xl) auto 0;
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: left;
}

.pricing-reminder h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.pricing-reminder ul {
  list-style: none;
}

.pricing-reminder li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-reminder li:last-child {
  border-bottom: none;
}

/* === SEO CONTENT === */
.seo-content {
  padding: var(--spacing-xxl) 0;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.seo-grid > div {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.seo-grid h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.seo-grid ul {
  list-style: none;
}

.seo-grid li {
  padding: var(--spacing-xs) 0;
  padding-left: var(--spacing-lg);
  position: relative;
}

.seo-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

/* === CATEGORY DESCRIPTION === */
.category-description {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xxl) var(--spacing-md);
}

.category-description article {
  margin-bottom: var(--spacing-xl);
}

.category-description h3 {
  color: var(--primary-color);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.category-description ul {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.category-description li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

/* === SEARCH INPUT === */
.search-input {
  width: 100%;
  padding: var(--spacing-md);
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .company-header {
    flex-direction: column;
    text-align: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .seo-grid {
    grid-template-columns: 1fr;
  }
  
  .company-social {
    flex-direction: column;
  }
}

