html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: #1a1a1a;
  background-color: #f9f9f9;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cfe7cf;
  padding: 0 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 1000;
  gap: 24px;
  flex-wrap: wrap;
}

.header-text, .header-text p, .header-text-mobile {
  color: #111 !important;
  font-weight: bold !important;
}


@media (max-width: 600px) {
  header {
    height: auto;
    flex-direction: row;
    gap: 8px;
    padding: 8px 4px;
    justify-content: space-between;
  }
  .developer-logo, .app-logo {
    max-height: 48px;
    margin: 0 2px;
  }
  .header-text {
    display: none;
  }
  .header-text-mobile {
    display: block;
    text-align: center;
    font-size: 0.92rem;
    color: #fff;
    margin: 4px 0 0 0;
    font-weight: 500;
  }
}


.header-text-mobile {
  display: none;
}



.developer-logo, .app-logo {
  margin: 0 8px;
}

.header-text {
  margin: 0 8px;
}
.app-logo {
  max-height: 80px;
}

.developer-logo {
  max-height: 70px;
  border-radius: 50%; /* Circular developer logo */
}

.header-text {
  flex: 1;
  text-align: center;
  color: #3a3a3a;
  font-size: 0.92rem;
  line-height: 1.25;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  word-break: break-word;
  max-width: 100%;
}

.header-text p {
  margin: 0 0 2px 0;
  white-space: normal;
  text-overflow: initial;
  overflow: visible;
  max-width: 100%;
}

.developer-logo, .app-logo {
  flex-shrink: 0;
  max-width: 90px;
}
main {
  max-width: 900px;
  margin: auto;
  padding: 90px 15px 0 15px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  main {
    padding: 120px 4px 0 4px;
    max-width: 100vw;
    width: 100vw;
  }
}
h1 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
  color: #2a7a2a;
}
h2 {
  color: #2a7a2a;
  margin-top: 30px;
}
p {
  line-height: 1.6;
}

/* Intro Section */
.intro {
  text-align: center;
  margin: 20px 0 40px;
}

.slogan {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.description {
  max-width: 700px;
  margin: 0 auto; /* Center the description block */
}
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  margin-bottom: 8px;
}
ul li::before {
  content: "✔️ ";
  color: #2a7a2a;
}
/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin: 30px 0;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top; /* Muestra la parte superior de las capturas */
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover,
.gallery img:focus {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.45);
  z-index: 10;
  outline: 3px solid #2a7a2a;
}
/* Lightbox */
#lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px white;
}
#lightbox-overlay:active {
  cursor: pointer;
}
/* CTA Section */
.cta-section {
  text-align: center;
  margin: 50px auto;
  padding: 30px 15px;
  background: rgba(42, 122, 42, 0.1);
  border-radius: 12px;
  max-width: 800px;
}

.cta-section h2 {
  margin-top: 0;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta-button img {
  height: 50px;
  transition: transform 0.2s ease;
}

.cta-button:hover img {
  transform: scale(1.05);
}

footer {
  background: #2a7a2a;
  color: #cfe7cf;
  padding: 20px 10px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 40px;
}
footer a {
  color: #cfe7cf;
  text-decoration: underline;
}
@media (max-width: 600px) {
  header {
    height: 120px;
  }
  .app-logo {
    max-height: 70px;
  }
}
