/* Isla del Sol - Estilos principales */

:root {
  --color-red: #BE1522;
  --color-yellow: #F8E91B;
  --color-green: #3CAA36;
  --color-white: #FFFFFF;
  --color-dark: #333333;
  --color-light-gray: #f5f5f5;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-dark);
}

/* Header & Navigation */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 70px;
}

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

nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--color-red);
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch a {
  padding: 5px 10px;
  border: 2px solid var(--color-green);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  color: var(--color-green);
  transition: all 0.3s;
}

.lang-switch a:hover, .lang-switch a.active {
  background: var(--color-green);
  color: var(--color-white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-green) 0%, #2d8a2a 100%);
  color: var(--color-white);
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Brands Section */
.brands {
  padding: 60px 20px;
  background: var(--color-light-gray);
}

.brands h2 {
  text-align: center;
  color: var(--color-red);
  margin-bottom: 40px;
  font-size: 2rem;
}

.brands-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

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

.brand-item img {
  height: 150px;
  transition: transform 0.3s;
}

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

/* Products Section */
.products {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.products h2 {
  text-align: center;
  color: var(--color-red);
  margin-bottom: 40px;
  font-size: 2rem;
}

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

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

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

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  padding: 20px 20px 10px;
  color: var(--color-green);
}

.product-card p {
  padding: 0 20px 20px;
  color: #666;
}

/* About Section */
.about {
  padding: 60px 20px;
  background: var(--color-light-gray);
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  color: var(--color-red);
  margin-bottom: 30px;
  font-size: 2rem;
}

.about-content {
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

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

.mvv-item {
  text-align: center;
  padding: 30px;
  background: var(--color-light-gray);
  border-radius: 10px;
}

.mvv-item h3 {
  color: var(--color-green);
  margin-bottom: 15px;
}

.values-list {
  list-style: none;
  text-align: left;
}

.values-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.values-list li:before {
  content: "✓ ";
  color: var(--color-green);
  font-weight: bold;
}

/* How to Cook Section */
.how-to {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.how-to h2 {
  text-align: center;
  color: var(--color-red);
  margin-bottom: 40px;
  font-size: 2rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--color-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--color-green);
  margin-bottom: 10px;
}

.step-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.step-images figure {
  text-align: center;
}

.step-images img {
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.step-images figcaption {
  margin-top: 15px;
  font-weight: bold;
  color: var(--color-green);
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background: var(--color-light-gray);
}

.contact h2 {
  text-align: center;
  color: var(--color-red);
  margin-bottom: 40px;
  font-size: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.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 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.btn {
  background: var(--color-red);
  color: var(--color-white);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.btn:hover {
  background: #a01118;
}

/* Footer */
footer {
  background: var(--color-green);
  color: var(--color-white);
  padding: 40px 20px;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
}

footer .copyright {
  margin-top: 20px;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .brands-grid {
    gap: 30px;
  }

  .brand-item img {
    height: 100px;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-images img {
    width: 100%;
    max-width: 300px;
  }
}
