/* Page-Specific Styles */

/* Main Content Spacing */
main {
  padding-top: 80px;
  min-height: 100vh;
}

/* Hero Section */
.banner-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(13, 0, 26, 0.8), rgba(26, 0, 51, 0.9)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 20, 147, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out;
  position: relative;
}

.hero-title::after {
  content: '✨';
  position: absolute;
  top: -20px;
  right: -40px;
  font-size: 2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Floating Elements */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  background: linear-gradient(45deg, rgba(255, 20, 147, 0.4), rgba(0, 255, 255, 0.3));
  border-radius: 50%;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.floating-shape:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

/* Features Section */
.features-section {
  background: var(--bg-secondary);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 100px,
    rgba(0, 255, 255, 0.05) 100px,
    rgba(0, 255, 255, 0.05) 101px
  );
  pointer-events: none;
}

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

.feature-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

.feature-item:nth-child(2) { animation-delay: 0.1s; animation-fill-mode: both; }
.feature-item:nth-child(3) { animation-delay: 0.2s; animation-fill-mode: both; }

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

.feature-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover::before {
  opacity: 1;
  animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-pink);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon::after {
  opacity: 1;
  animation: spin 1s linear infinite;
}

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

/* About Section */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

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

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 20, 147, 0.2), rgba(0, 255, 255, 0.1));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image:hover::before {
  opacity: 1;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.service-item {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.3), transparent);
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover {
  transform: translateY(-15px) perspective(1000px) rotateY(8deg);
  box-shadow: var(--glow-cyan);
}

.service-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-price {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--bg-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: auto;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.8), rgba(0, 255, 255, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-pink);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-pink);
}

/* Calculator Widget */
.cost-calculator {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.calculator-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.calculator-result {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: var(--space-lg);
  border-radius: 20px;
  text-align: center;
  margin-top: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.calculator-result.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stats Section */
.stats-section {
  background: var(--bg-secondary);
  position: relative;
}

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

.stat-item {
  padding: var(--space-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--chrome-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.team-member-card {
  text-align: center;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: var(--space-xl);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-pink);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  position: relative;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3px;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: var(--space-xl);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-cyan);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 255, 255, 0.1));
  text-align: center;
  position: relative;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content-wrapper,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .calculator-inputs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 120px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid,
  .services-grid,
  .gallery-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .floating-shapes {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Print Styles */
@media print {
  .header-area,
  .cookie-alert,
  .floating-shapes {
    display: none;
  }
  
  main {
    padding-top: 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}