/* Vendraly stylesheet */
:root {
  --primary-gradient: linear-gradient(90deg, #2563EB, #7C3AED);
  --secondary-gradient: linear-gradient(90deg, #10B981, #34D399);
  --text-color: #334155;
  --bg-color: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: #e2e8f0;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.70rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

.nav-links a:hover {
  color: #2563EB;
}

.btn {
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  border-radius: 6px;
  font-weight: 500;
  align-items: center;
  gap: 0.5rem
}

.btn-primary {
  background-image: var(--primary-gradient);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  background: white; color: #334155;
  border: 1px solid var(--card-border);
}

.btn-outline:hover {
  background: #f1f5f9;
}

.hero {
  text-align: center;
  padding: 1rem 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.5);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--primary-gradient);
}

.projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

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


.badge.available {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.badge.complete {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}

footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 3rem 1rem;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* Responsive */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Simple form styling */
.form {
  max-width: 400px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--text-color);
}
.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="file"] {
  padding: 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: 4px;
}
.form button {
  padding: 0.5rem 1rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.form button:hover {
  opacity: 0.9;
}
.errors {
  max-width: 400px;
  margin: 1rem auto;
  color: red;
}

.cta {
  background: linear-gradient(90deg, #2563EB, #7C3AED); /* azul a púrpura */
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}

.cta h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  color: #E0E7FF; /* blanco suave */
  margin-bottom: 2rem;
}

.btn-outline-white {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: white;
  color: #2563EB;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-outline-white:hover {
  background: #f1f5f9;
}

.btn-outline-white .icon {
  margin-right: 0.5rem;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.modal.hidden {
  display: none;
}
.modal-backdrop {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 10;
}
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-box h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #1e293b;
  text-align: center;
}
.modal-box .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-form input {
  padding: 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: 4px;
}
.auth-form .btn {
  margin-top: 1rem;
}
.modal-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
}
.modal-footer a {
  color: #2563eb;
  text-decoration: underline;
}

.hidden {
  display: none;
}

@keyframes fadein {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeout {
  from {opacity: 1;}
  to {opacity: 0;}
}

.btn, .btn-outline-white {
  transition: all 0.2s ease-in-out;
}
