/* Page-specific styles */

/* Main Content Area */
.main-content {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 43, 60, 0.7), rgba(59, 111, 160, 0.8)), url('images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #E5E9F0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Quick Search Section */
.quick-search-section {
  background: var(--bg-primary);
  padding: 3rem 0;
  position: relative;
  z-index: 3;
  margin-top: -80px;
}

.search-form-wrapper {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  max-width: 900px;
  margin: 0 auto;
}

.search-form-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}

.search-form .form-group {
  margin-bottom: 0;
}

.search-btn {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  min-height: 56px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Service Highlights */
.service-highlights-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-large);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  border: 1px solid var(--border-color);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.highlight-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.highlight-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Featured Vehicles */
.featured-vehicles-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.vehicle-card {
  background: white;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  border: 1px solid var(--border-color);
}

.vehicle-card:hover {
  transform: translateY(-4px) perspective(1000px) rotateY(2deg);
  box-shadow: var(--shadow-heavy);
}

.vehicle-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vehicle-card:hover .vehicle-image {
  transform: scale(1.05);
}

.vehicle-info {
  padding: 1.5rem;
}

.vehicle-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.vehicle-category {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vehicle-spec {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.vehicle-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.vehicle-price-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Trust Signals */
.trust-signals-section {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-stat {
  background: white;
  padding: 2rem 1rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
}

.trust-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.trust-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-text h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-image {
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

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

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

/* Values Section */
.values-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-large);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-medium);
}

.value-item:hover {
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.value-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member-card {
  background: white;
  border-radius: var(--border-radius-large);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
}

.member-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.member-position {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-experience {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Fleet Categories */
.fleet-categories-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 2rem;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Pricing Table */
.pricing-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.pricing-table {
  background: white;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.pricing-table-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.pricing-table-body {
  padding: 0;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  min-height: 60px;
}

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

.pricing-cell {
  padding: 1rem 1.5rem;
  text-align: center;
}

.pricing-cell:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--bg-secondary);
}

.pricing-highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Services Grid */
.services-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card-item {
  background: white;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
}

.service-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.service-features li:last-child {
  border-bottom: none;
}

.feature-price {
  color: var(--accent);
  font-weight: 600;
}

/* Contact Form */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.contact-info {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.25rem;
  color: var(--primary);
  font-size: 1.125rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(26, 43, 60, 0.9), rgba(59, 111, 160, 0.9)), url('images/section3-data-center-server_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.vehicles-grid .vehicle-card:nth-child(1) { animation-delay: 0.1s; }
.vehicles-grid .vehicle-card:nth-child(2) { animation-delay: 0.2s; }
.vehicles-grid .vehicle-card:nth-child(3) { animation-delay: 0.3s; }
.vehicles-grid .vehicle-card:nth-child(4) { animation-delay: 0.4s; }

.highlights-grid .highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlights-grid .highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlights-grid .highlight-card:nth-child(3) { animation-delay: 0.3s; }

/* Loading states */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .pricing-cell:first-child {
    background: var(--primary);
    color: white;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .search-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .category-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .vehicles-grid,
  .highlights-grid,
  .services-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-search-section {
    margin-top: -40px;
    padding: 2rem 0;
  }
  
  .search-form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .trust-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .contact-form-wrapper,
  .contact-info {
    padding: 1.5rem;
  }
  
  .highlight-card,
  .vehicle-info {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
  }
}