/* ======== LOGIN ANIMADO - CALIFISENA ======== */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff3cc;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100%;
}

/* ======== SECCIÓN IZQUIERDA ======== */
.login-section {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff3cc;
  overflow: hidden;
}

.login-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  text-align: center;
  backdrop-filter: blur(10px);
  width: 80%;
  max-width: 400px;
  transition: all 0.3s ease;
}

.login-content:hover {
  transform: translateY(-5px);
}

h1 {
  font-size: 2.5em;
  color: #064c29;
  margin-bottom: 30px;
  line-height: 1.2em;
  font-weight: 700;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input {
  padding: 15px;
  border: none;
  border-radius: 12px;
  background-color: #cfe5c8;
  font-size: 16px;
  color: #064c29;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 108, 60, 0.3);
  transform: translateY(-2px);
}

button {
  background-color: #0c6c3c;
  border: none;
  border-radius: 30px;
  color: #f9f8f3;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  
}

button:hover {
  background-color: #065c32;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(6, 92, 50, 0.4);
}

/* ======== ANIMACIÓN DE ROMBOS ======== */
.rhombus-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.rhombus {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.6;
  transform: rotate(45deg);
  border-radius: 15px;
  animation: float 12s infinite ease-in-out;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.rh1 { background: #4f46e5; top: 10%; left: -5%; animation-delay: 0s; }
.rh2 { background: #8b5cf6; top: 40%; left: 20%; animation-delay: 2s; }
.rh3 { background: #10b981; top: 70%; left: -10%; animation-delay: 4s; }
.rh4 { background: #f59e0b; top: 20%; left: 60%; animation-delay: 6s; }
.rh5 { background: #6366f1; top: 80%; left: 50%; animation-delay: 8s; }

@keyframes float {
  0%, 100% {
    transform: rotate(45deg) translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: rotate(45deg) translateY(-40px);
    opacity: 1;
  }
}

/* ======== SECCIÓN DERECHA ======== */
.event-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff3cc;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======== BIENVENIDA ======== */
.welcome-title {
  font-size: 1.8em;
  color: #0c6c3c;
  margin-bottom: 10px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .container { flex-direction: column; height: auto; }
  .event-section { height: 50vh; order: -1; }
}
