:root {
  --primary-color: #FFCA06;
  --text-color: #333;
  --white: #fff;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Header and Navigation */
.parallax-header {
  height: 100vh;
  background: linear-gradient(rgba(255, 202, 6, 0.8), rgba(255, 202, 6, 0.6)), 
              url('https://agenciaplanit.com/clientes/intermiel/intermiel.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

nav {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  font-size: 1.1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
  animation: glow 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
  padding: 5rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.about-section {
  color: var(--white);
  background-color: #000000;
  padding: 4rem 2rem;
  border-radius: 10px;
  margin: 2rem auto;
}

.about-section h2,
.about-section p,
.products-section h2 {
  color: var(--white);
}

.products-section {
  color: var(--white);
  background-color: #000000;
  padding: 4rem 2rem;
  border-radius: 10px;
  margin: 2rem auto;
}

/* Honeycomb Grid */
.honeycomb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.honeycomb-cell {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}

.honeycomb-cell:hover {
  transform: translateY(-10px);
}

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

.product-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: var(--transition);
  color: var(--text-color);
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  height: 200px;
  background: var(--primary-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  text-align: center;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 1rem;
  margin: 2rem auto;
}

.contact-logo {
  width: 150px;
  height: auto;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 2rem;
  margin-top: 2rem;
  transition: var(--transition);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--text-color);
  color: var(--white);
}

/* Animations */
@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(255, 202, 6, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 202, 6, 0.9));
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 3rem 1rem;
  }
  
  .hero-logo {
    width: 150px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .contact-logo {
    width: 100px;
  }
}