﻿/* Homepage Styles - Clean and Compact */

:root {
  --primary-color: #a0a080;
  --primary-dark: #8a8a70;
  --primary-light: #b0b090;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
  padding: 60px 20px;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Search Form */
.search-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.search-form {
  margin-bottom: 20px;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 4px 4px 4px 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.search-input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(160, 160, 128, 0.2);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 12px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text-dark);
  padding: 12px 0;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Popular Tags */
.popular-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  padding: 50px 20px;
  background: var(--bg-white);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

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

.stat-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Section */
.features-section {
  padding: 60px 20px;
  background: var(--bg-light);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  text-align: center;
  border-radius: 20px;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Info Tabs Section */
.info-tabs-section {
  padding: 0px 20px 60px 20px;
  background: var(--bg-white);
}

.info-tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-wrapper {
  margin-top: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tabs-nav {
  display: flex;
  background: var(--bg-white);
  border-bottom: 2px solid var(--border-color);
}

.tab-button {
  flex: 1;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.tab-button.active {
  color: var(--primary-color);
  background: var(--bg-light);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
}

.tabs-content {
  padding: 40px;
  min-height: 200px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

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

.tab-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.tab-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.client-item {
  background: var(--bg-white);
  padding: 25px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.client-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.client-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 60px 20px;
  background: var(--bg-light);
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-block {
  margin-top: 40px;
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.about-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .search-input-group {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  .search-input {
    padding: 8px 0;
    text-align: center;
  }

  .search-button {
    width: 100%;
  }

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

  .stat-icon {
    font-size: 36px;
  }

  .stat-value {
    font-size: 28px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tabs-nav {
    flex-direction: column;
  }

  .tab-button {
    text-align: left;
    padding: 15px 20px;
  }

  .tab-button.active::after {
    left: 0;
    right: auto;
    width: 4px;
    height: 100%;
    bottom: 0;
  }

  .tabs-content {
    padding: 25px 20px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .cta-subtitle {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 16px;
  }

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

  .stats-section {
    padding: 30px 16px;
  }

  .features-section {
    padding: 40px 16px;
  }

  .info-tabs-section,
  .about-section {
    padding: 40px 16px;
  }

  .tabs-content {
    padding: 20px 15px;
  }

  .tab-title {
    font-size: 22px;
  }

  .tab-text {
    font-size: 15px;
  }

  .cta-section {
    padding: 50px 16px;
  }

  .popular-tags {
    gap: 8px;
  }

  .tag {
    padding: 4px 12px;
    font-size: 13px;
  }
}
