/* public/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0A192F;
    color: #F0F4F8;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: rgba(10, 25, 47, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #00B4D8;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #F0F4F8;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00B4D8;
}

/* Hero */
.hero {
    padding: 150px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #00B4D8;
}

.hero p {
    font-size: 20px;
    color: #94A3B8;
    margin-bottom: 40px;
}

/* Botones */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #00B4D8;
    color: #0A192F;
}

.btn-primary:hover {
    background: #0090B0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #00B4D8;
    color: #00B4D8;
}

.btn-secondary:hover {
    background: #00B4D8;
    color: #0A192F;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carrusel */
.proyectos {
    padding: 80px 0;
    background: #1E3A8A;
}

.proyectos h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #00B4D8;
}

.carrusel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.carrusel-wrapper {
    overflow: hidden;
    width: 70%;
}

.carrusel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carrusel-slide {
    min-width: 100%;
    padding: 10px;
}

.carrusel-btn {
    background: rgba(0, 180, 216, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.carrusel-btn:hover {
    background: #00B4D8;
}

.proyecto-card {
    background: rgba(10, 25, 47, 0.6);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.proyecto-imagen {
    height: 300px;
    background: #1E3A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyecto-info {
    padding: 30px;
}

.proyecto-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00B4D8;
}

.proyecto-info p {
    color: #94A3B8;
    margin-bottom: 20px;
}

.proyecto-acciones {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-demo {
    background: #48CAE4;
    color: #0A192F;
}

.btn-detalles {
    background: transparent;
    border: 1px solid #48CAE4;
    color: #48CAE4;
}

.carrusel-indicadores {
    text-align: center;
    margin-top: 30px;
}

.indicador {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.indicador.active {
    background: #00B4D8;
    width: 30px;
    border-radius: 6px;
}

/* Formulario */
.contacto {
    padding: 80px 0;
    background: #E2E8F0;
    color: #0A192F;
}

.contacto h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.contacto > .container > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #334155;
}

.contacto-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00B4D8;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-enviar {
    width: 100%;
    padding: 14px;
    font-size: 18px;
}

.form-nota {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #64748B;
}

.form-success {
    max-width: 600px;
    margin: 20px auto 0;
}

.success-message {
    background: #10B981;
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.success-message .icon {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    background: #0A192F;
    border-top: 1px solid rgba(0, 180, 216, 0.1);
}

.footer p {
    color: #94A3B8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .carrusel-wrapper {
        width: 90%;
    }
    
    .proyecto-imagen {
        height: 200px;
    }
    
    .contacto-form {
        padding: 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
}
/* Boton login navbar */
.btn-login { background: #00B4D8; color: #fff !important; padding: 8px 16px; border-radius: 6px; }
.btn-login:hover { background: #0096c7; }
/* Colaboradores */
.colaboradores-intro { text-align: center; margin-bottom: 24px; }
.equipo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.miembro-card { text-align: center; }
.contacto-info { text-align: center; margin-bottom: 24px; }
.contacto-info p { margin: 6px 0; }

/* Modal login/registro */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.modal-box { background: #fff; border-radius: 12px; padding: 28px; width: 100%; max-width: 420px; position: relative; }
.modal-close { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 28px; cursor: pointer; color: #6b7280; }
.modal-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.modal-tab { flex: 1; padding: 10px; border: 1px solid #e5e7eb; background: #f9fafb; border-radius: 8px; cursor: pointer; font-weight: 600; }
.modal-tab.active { background: #1E3A8A; color: #fff; border-color: #1E3A8A; }
.modal-error { background: #fee2e2; color: #b91c1c; padding: 10px; border-radius: 8px; margin-bottom: 12px; }
.modal-ok { background: #d1fae5; color: #065f46; padding: 10px; border-radius: 8px; margin-bottom: 12px; }
