/* About Page Specific Styles */

/* About-specific styling */
.about-hero-accent {
  background: var(--gradient-primary-animated);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* About-specific floating elements */
.queue-hero .floating-element-1.about-element {
  background: radial-gradient(circle, rgba(1, 137, 140, 0.15) 0%, transparent 70%);
  animation: aboutFloat 6s ease-in-out infinite;
}

.queue-hero .floating-element-2.about-element {
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  animation: aboutFloat 8s ease-in-out infinite reverse;
}

/* About-specific product cards */
.product-card.about-card {
  border: 1px solid var(--color-border-subtle);
  background: white;
  transition: all var(--transition-bounce);
}

.product-card.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* About-specific feature tags */
.feature-tag.about-tag {
  background: linear-gradient(135deg, rgba(1, 137, 140, 0.1), rgba(0, 180, 216, 0.1));
  border: 1px solid rgba(1, 137, 140, 0.2);
  font-weight: var(--font-weight-normal);
  transition: all var(--transition-normal);
}

.feature-tag.about-tag:hover {
  background: linear-gradient(135deg, rgba(1, 137, 140, 0.2), rgba(0, 180, 216, 0.2));
  transform: translateY(-1px);
}

/* About-specific buttons */
.btn-primary.about-btn {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary.about-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary.about-btn:hover::before {
  left: 100%;
}

/* About-specific CTA section */
.cta-section.about-cta {
  background: var(--gradient-primary-animated);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  position: relative;
  overflow: hidden;
}

.cta-section.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

/* About-specific category headers */
.category-header.about-header {
  position: relative;
}

.category-header.about-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* About-specific hero title */
.hero-title.about-title {
  position: relative;
  display: inline-block;
}

.hero-title.about-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.3;
  border-radius: 1px;
}

/* About Images */
.about-work-image,
.spain-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(1, 137, 140, 0.1);
  transition: all var(--transition-normal);
}

.about-work-image:hover,
.spain-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(1, 137, 140, 0.15);
}

.about-image,
.location-image {
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

/* About specific content */
.about-text {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.about-description {
  font-weight: var(--font-weight-light);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  font-size: 1.05rem;
}

.location-content {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.location-description {
  font-weight: var(--font-weight-light);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  font-size: 1.05rem;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
}

.detail-item:hover {
  background-color: rgba(1, 137, 140, 0.05);
  transform: translateX(5px);
}

.detail-item i {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.detail-item h6 {
  color: var(--color-primary);
  font-weight: var(--font-weight-light);
  margin: 0 0 var(--spacing-xs) 0;
  font-size: 1rem;
}

.detail-item p {
  font-weight: var(--font-weight-light);
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.location-image {
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Products Section */
.products-section {
  padding: var(--spacing-4xl) 0;
  background: white;
}

.product-category {
  margin-bottom: var(--spacing-4xl);
}

.product-category:last-child {
  margin-bottom: 0;
}

.category-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.category-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-light);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.category-description {
  font-size: 1.1rem;
  font-weight: var(--font-weight-light);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.image-placeholder.innovation {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.image-placeholder.quality {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.image-placeholder.customer {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.image-placeholder.location {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="25" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
  opacity: 0.3;
}

.image-placeholder i {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.image-placeholder p {
  font-size: 1.1rem;
  font-weight: var(--font-weight-light);
  margin: 0;
  position: relative;
  z-index: 1;
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-light);
  color: var(--color-text-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.product-content p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: var(--font-weight-light);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* Responsive Design for About Page */
@media (max-width: 992px) {
  .category-title {
    font-size: 2.2rem;
  }
  
  .category-description {
    font-size: 1.1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }
  
  .product-content h3 {
    font-size: 1.3rem;
  }
  
  .product-content p {
    font-size: 1rem;
  }
  
  .about-image,
  .location-image {
    height: 350px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 14px var(--spacing-xl);
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: var(--spacing-2xl) 0;
  }
  
  .product-category {
    margin-bottom: var(--spacing-2xl);
  }
  
  .category-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .category-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    margin-bottom: 0;
  }
  
  .product-image {
    height: 200px;
  }
  
  .product-content {
    padding: 25px;
  }
  
  .product-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
  }
  
  .product-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  
  .product-features {
    margin-bottom: var(--spacing-md);
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
  .about-image,
  .location-image {
    height: 300px;
  }
  
  .cta-section {
    padding: var(--spacing-2xl) 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
  }
}

@media (max-width: 480px) {
  .products-section {
    padding: var(--spacing-xl) 0;
  }
  
  .product-category {
    margin-bottom: var(--spacing-xl);
  }
  
  .category-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }
  
  .category-description {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .products-grid {
    gap: 15px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .product-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }
  
  .product-features {
    margin-bottom: 0.8rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
  
  .about-image,
  .location-image {
    height: 250px;
  }
  
  .cta-section {
    padding: var(--spacing-2xl) 0;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
  }
}