/* main.css */
@import url('colors.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/*.container {
    width: 90%;
    max-width: 1200px;
    max-height: 1000px;
    margin: 0 auto;
    text-align: center;
}*/

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}



/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: var(--accent);
}

.btn-login {
    background-color: var(--accent);
    color: white !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

/* Hero */
.hero {
 
    background: linear-gradient(rgba(10, 37, 64, 0.55), rgba(10, 37, 64, 0.1)), url('../assets/img/hero-bg.jpg') center/cover no-repeat;    
    color: white;
    padding: 200px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    animation: bounceIn 1s ease-out;
    text-align: left;
}

.hero h2 {
    font-size: 3cardrem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    animation: bounceIn 1s ease-out;
    font-size: 3rem;

}

.hero p {
    font-size: 1.7rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-in;
    padding-top: 3rem;
    text-align: right;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: white !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e06a40;
    color: white !important;
}

/* Animaciones */
@keyframes bounceIn {
    0% { transform: translateY(-30px); opacity: 0; }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Secciones */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--light-bg);
}

.section-white {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

/* Cards 3-columnas */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.card1{
    border: 1px solid black; /* Grosor, tipo y color del borde */
  padding: 15px;           /* Espacio entre el texto y el borde */
  width: fit-content;      /* Ajusta el ancho al contenido */
}

.card2{
    border: 1px solid black; /* Grosor, tipo y color del borde */
  padding: 15px;           /* Espacio entre el texto y el borde */
  width: fit-content;      /* Ajusta el ancho al contenido */
}

.card3{
    border: 1px solid black; /* Grosor, tipo y color del borde */
  padding: 15px;           /* Espacio entre el texto y el borde */
  width: fit-content;      /* Ajusta el ancho al contenido */
}

.card h3 {
    margin: 1rem 0 0.8rem;
    color: var(--primary);
}

.card p {
    font-size: 1,7rem;
    margin-bottom: 2rem;
   
}

/* Proyectos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.btn-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* Testimonios */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid a {
    color: white;
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--accent);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 8px;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}


.neobotonera-vertical {
    display: flex;
    justify-content: center;
    gap: 30px; /* espacio entre botones */
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.neoboton-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;                /* ancho pequeño */
    height: 180px;              /* alto grande → más alto que ancho */
    background-color: #000000;  /* negro */
    color: #FFFFFF !important;  /* blanco */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 12px;        /* bordes redondeados */
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-align: center;
    padding: 0 8px;             /* para que el texto no toque los bordes */
}

.neoboton-vertical:hover {
    background-color: #FFFFFF;  /* blanco */
    color: #2D6CA2 !important;  /* azul secundario de tu paleta */
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Responsive: en pantallas pequeñas, apilar */
@media (max-width: 500px) {
    .neobotonera-vertical {
        flex-direction: column;
        align-items: center;
    }
    .neoboton-vertical {
        width: 180px;
        height: 80px;
    }
}

.project-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
}


/* Hero Azul Claro */
.hero-blue {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-blue h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Filtros */
.filters {
    background-color: #f9f9f9;
    padding: 4rem 0;
    border-top: 1px solid #e0e0e0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 1.5rem;
}

.filter-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
    background-color: white;
}

/* Estado en tarjetas */
.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.status.active {
    background-color: #d4edda;
    color: #155724;
}

.status.incubating {
    background-color: #cce5ff;
    color: #004085;
}

.status.finished {
    background-color: #f8d7da;
    color: #721c24;
}

/* Tag de categoría */
.tag {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

/*.container-proyectos {
    width: 90%;
    max-width: 300px;
    max-height: 1000px;
    margin: 0 auto;
    text-align: center;
}*/

.container-proyectos {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}


/* CONTACTO */
.contact-banner {
    text-align: center;
    padding: 80px 20px;
    background: #eef4ff;
    margin-top: 120px;
}

.contact-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.contact-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-box h2 {
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-form {
    background: #1e2d5f;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.btn-form:hover {
    background: #243b89;
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    margin-bottom: 15px;
}
