@import url("base.css");

/* About Hero */
.about-hero {
  position: relative;
  height: 300px; /* Změněno z 40vh na 300px */
  min-height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 60px 0; /* Přidáno padding jako u page-hero */
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(139, 69, 19, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
  animation: heroFlow 12s ease-in-out infinite;
}

@keyframes heroFlow {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(20px) scale(1.05);
  }
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: heroContentSlide 1.2s ease-out 0.3s forwards;
}

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

.about-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.about-hero-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--white);
  border-radius: 2px;
  animation: titleLineGrow 1s ease-out 1s forwards;
  scale: 0;
}

@keyframes titleLineGrow {
  to {
    scale: 1;
  }
}

.about-hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Story Section */
.story-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.story-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.story-content {
  padding: 24px;
}

.story-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
  position: relative;
}

.story-content h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.story-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
}

.story-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  border-radius: 2px;
}

.story-text:first-of-type::first-letter {
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  float: left;
  line-height: 1;
  margin: 4px 12px 0 0;
  font-family: var(--font-sans);
}

.story-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.story-image:hover .image-overlay {
  opacity: 0.1;
}

.story-image:hover img {
  transform: scale(1.05);
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: var(--gray-50);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.product-category {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.product-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.product-category:hover::before {
  opacity: 0.05;
}

.product-category:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-xl);
}

.category-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.product-category:nth-child(2) .category-icon {
  animation-delay: 1s;
}
.product-category:nth-child(3) .category-icon {
  animation-delay: 2s;
}
.product-category:nth-child(4) .category-icon {
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.product-category h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.product-category p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

/* Brands Section */
.brands-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.brand-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: brandGlow 4s ease-in-out infinite;
}

@keyframes brandGlow {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
}

.brand-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.brand-year {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  opacity: 0.8;
  position: relative;
  z-index: 2;
}

.brand-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.brand-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Network Section */
.network-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.network-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.network-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.network-info p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.network-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
}

.network-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.network-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.network-image:hover img {
  transform: scale(1.05);
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
  animation: statsFlow 10s ease-in-out infinite;
}

@keyframes statsFlow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
  position: relative;
}

.stat-number::after {
  content: "+";
  font-size: 48px;
  position: absolute;
  top: 0;
  right: -24px;
  opacity: 0.7;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 0 auto;
  border-radius: 2px;
}

/* Logo styles */
.logo-image {
  height: 65px;
  width: auto;
  object-fit: contain;
}

/* AOS Animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
  .story-grid,
  .network-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-image,
  .network-image {
    order: -1;
  }

  .story-image img,
  .network-image img {
    height: 400px;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 250px; /* Změněno z 50vh na 250px */
    padding: 40px 0; /* Změněno z 32px na 40px */
  }

  .story-section,
  .products-section,
  .brands-section,
  .network-section,
  .stats-section {
    padding: 60px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 48px;
  }

  .story-text {
    font-size: 16px;
    padding-left: 20px;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .product-category,
  .brand-card,
  .stat-item {
    padding: 24px 20px;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }
}

.feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
}