/* Estilos generales */
:root {
  --primary-color: #6200ea;
  --secondary-color: #00b8d4;
  --accent-color: #ff4081;
  --background-color: #121212;
  --text-color: #f5f5f5;
  --card-bg: #1e1e1e;
  --header-bg: #0a0a0a;
  --footer-bg: #0a0a0a;
  --border-color: #333;
  --success-color: #00c853;
  --error-color: #ff1744;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

header {
  background-color: var(--header-bg);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  margin-left: 10px;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: rgba(98, 0, 234, 0.2);
}

nav ul li a.active {
  color: var(--secondary-color);
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sección de héroe */
.hero {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(30, 30, 30, 0.9)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-color);
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* Sección de ventajas */
.features {
  padding: 80px 0;
  background-color: rgba(98, 0, 234, 0.05);
}

.features-title {
  text-align: center;
  margin-bottom: 50px;
}

.features-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.features-title p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Información detallada */
.info-section {
  padding: 80px 0;
}

.info-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Productos */
.products {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

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

.product-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.product-info p {
  opacity: 0.8;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

/* Detalles del producto */
.product-detail {
  padding: 80px 0;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.product-detail-image {
  border-radius: 10px;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.product-detail-description {
  margin-bottom: 30px;
  line-height: 1.8;
}

.product-specs {
  margin-bottom: 30px;
}

.product-specs h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.specs-list {
  list-style: none;
}

.specs-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.specs-list li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.quantity-selector span {
  margin-right: 15px;
}

.quantity-selector input {
  width: 60px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--card-bg);
  color: var(--text-color);
  text-align: center;
}

.product-detail-actions {
  display: flex;
  gap: 15px;
}

/* Carrito */
.cart-section {
  padding: 80px 0;
}

.cart-empty {
  text-align: center;
  padding: 50px 0;
}

.cart-empty i {
  font-size: 4rem;
  color: var(--border-color);
  margin-bottom: 20px;
}

.cart-empty p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cart-items {
  margin-bottom: 30px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 2fr 1fr 1fr 50px;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-color);
}

.cart-item-quantity {
  display: flex;
  align-items: center;
}

.cart-item-quantity button {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.cart-item-quantity input {
  width: 40px;
  height: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  margin: 0 5px;
}

.cart-item-remove {
  color: var(--error-color);
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-summary {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
}

.cart-summary-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: 15px;
}

/* Checkout */
.checkout-section {
  padding: 80px 0;
}

.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.checkout-form {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
}

.checkout-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkout-summary {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  align-self: start;
}

.checkout-summary h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.checkout-items {
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.checkout-item-name {
  display: flex;
  align-items: center;
}

.checkout-item-name .quantity {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Página de éxito */
.success-section {
  padding: 100px 0;
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 30px;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.success-message {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Página de contacto */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.contact-info p {
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.contact-detail i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 15px;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

/* Sobre nosotros */
.about-section {
  padding: 80px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-header p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.about-content {
  margin-bottom: 80px;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.team-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

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

.team-member {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.member-info .position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.member-info p {
  margin-bottom: 15px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.member-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s;
}

.member-social a:hover {
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-newsletter p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  opacity: 0.7;
}

/* Cookies notice */
.cookies-notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookies-text {
  flex: 1;
}

.cookies-text h3 {
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.cookies-actions {
  display: flex;
  gap: 10px;
}

.cookies-actions button {
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn-accept:hover {
  background-color: var(--secondary-color);
}

.btn-customize, .btn-reject {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-customize:hover, .btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 15px;
  }
  
  .cart-item-name, .cart-item-price, .cart-item-quantity {
    grid-column: 2;
  }
  
  .cart-item-remove {
    grid-column: 2;
    justify-self: end;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cookies-notice {
    flex-direction: column;
  }
  
  .cookies-text {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .product-detail-info h1 {
    font-size: 2rem;
  }
  
  .success-title {
    font-size: 2rem;
  }
}

/* Botón neón */
.neon-button {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  color: var(--secondary-color);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  transition: 0.5s;
  border: 2px solid var(--secondary-color);
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
}

.neon-button:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  box-shadow: 0 0 5px var(--secondary-color),
              0 0 25px var(--secondary-color),
              0 0 50px var(--secondary-color),
              0 0 100px var(--secondary-color);
}

/* Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 50px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.slide-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: var(--secondary-color);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
}

.slider-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-arrow:hover {
  background-color: var(--secondary-color);
}
