@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #0a0a0a;
  --surface-color: rgba(26, 26, 26, 0.6);
  --surface-color-light: rgba(38, 38, 38, 0.8);
  --text-primary: #f8f9fa;
  --text-secondary: #adb5bd;
  --accent-color: #e63946;
  --accent-hover: #ff4d5a;
  --whatsapp-color: #25d366;
  --whatsapp-hover: #1ebd5a;
  --gradient-accent: linear-gradient(135deg, #e63946, #ff7b00);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Language Swapping Logic */
html[lang="en"] [lang="es"] { display: none !important; }
html[lang="es"] [lang="en"] { display: none !important; }

/* Language Switcher */
.lang-switcher {
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 100;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image: url('./taller_biketur_reparaciones.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  text-align: center;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: var(--text-secondary);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--whatsapp-color);
  color: #fff;
  padding: 18px 40px;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 35px rgba(37, 211, 102, 0.4);
}

/* Differentiators Section */
.differentiators {
  padding: 40px 20px 80px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  margin-top: -80px;
  z-index: 20;
}

.diff-card {
  background: var(--surface-color);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(230, 57, 70, 0.2);
  padding: 45px;
  border-radius: 24px;
  max-width: 480px;
  flex: 1;
  min-width: 320px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.diff-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(230, 57, 70, 0.15);
  border-color: rgba(230, 57, 70, 0.5);
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gradient-accent);
}

.diff-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  display: inline-block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diff-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 800;
}

.diff-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Services Section */
.services {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.service-card {
  background: var(--surface-color);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: var(--surface-color-light);
  border-color: rgba(230, 57, 70, 0.4);
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card h4 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card h4 i {
  color: var(--accent-color);
  font-size: 1.6rem;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
}

.service-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Why Choose Us */
.why-us {
  background: linear-gradient(to bottom, var(--bg-color), #141414);
  padding: 100px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.why-item {
  display: flex;
  gap: 20px;
  background: var(--surface-color);
  padding: 25px;
  border-radius: 16px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.why-item-icon {
  font-size: 1.8rem;
  background: var(--surface-color-light);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.why-item-text h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.why-item-text p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 120px 20px;
  background: radial-gradient(circle at center, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.15rem;
  background: var(--surface-color);
  padding: 15px 25px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item i {
  color: var(--accent-color);
  font-size: 1.3rem;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp-color);
  color: #fff;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-wa:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  background: var(--whatsapp-hover);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-content { padding: 40px 20px; }
  .differentiators { margin-top: 20px; padding: 40px 20px; }
  .diff-card { padding: 30px; }
  .section-title { font-size: 2.2rem; }
  .cta-section h2 { font-size: 2.2rem; }
  .lang-switcher { top: 15px; right: 15px; }
}
