:root {
  --primary-color: #4a6cf7;
  --secondary-color: #6a75f8;
  --accent-color: #ff6b6b;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================
   HEADER
=================================*/
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 1.2rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: 4px;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* ==============================
   HERO SECTION
=================================*/
.hero {
  background: linear-gradient(rgba(74, 108, 247, 0.85), rgba(106, 117, 248, 0.85)),
    url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
  padding: 5rem 0;
  margin-bottom: 3rem;
  border-radius: 0 0 25px 25px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-button {
  background: var(--accent-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 107, 107, 0.5);
}

/* ==============================
   PRODUCTS SECTION
=================================*/
.products-section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.2rem;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-price {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: space-between;
}

.social-btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  margin: 0 5px;
  transition: var(--transition);
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #dc2743, #cc2366);
}

.social-btn.facebook {
  background: #3b5998;
}

.social-btn.whatsapp {
  background: #25D366;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* ==============================
   FOOTER
=================================*/
footer {
  background-color: #2c3e50;
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-column p,
.footer-column a {
  color: #bdc3c7;
  text-decoration: none;
  margin-bottom: 0.8rem;
  display: block;
}

.footer-column a:hover {
  color: var(--white);
  padding-left: 5px;
  transition: var(--transition);
}

.social-icons {
  display: flex;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #bdc3c7;
}

/* ==============================
   RESPONSIVE
=================================*/
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 1rem;
    justify-content: center;
  }

  nav ul li {
    margin: 0 0.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .social-links {
    flex-direction: column;
  }

  .social-btn {
    margin: 5px 0;
  }
}

