
/* Estilo general para todo el sitio */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

.site-header {
    background-color: #0a4c8c;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /*position: sticky;*/
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #61cbf4;
}

.menu-icon {
    display: none;
    font-size: 1.8em;
    color: white;
    cursor: pointer;
}

/* Menú responsive */
@media screen and (max-width: 768px) {
    .nav-links.show {
        display:block;
    }


    
}

main {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
}

.hero img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    color: #0a4c8c;
    font-size: 2em;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.1em;
    line-height: 1.6em;
}

.hero-buttons {
    margin-top: 20px;
}

.hero-buttons a {
    display: inline-block;
    margin: 10px 10px 0 0;
    padding: 12px 25px;
    background-color: #0a4c8c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-buttons a:hover {
    background-color: #083970;
    transform: scale(1.05);
    color: #61cbf4;
}

.site-footer {
    font-weight: bold;
    background-color: #f4f6f8;
    color: #333;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

.site-footer a {
    color: #0a4c8c;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #61cbf4;
    text-decoration: underline;
}

.social-icons {
    background-color: #0a4c8c;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
}

/* Elementos visuales comunes */

.company-logo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 8px;
    object-fit: contain;
}

.job-card {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff;
    width: 100%;
}

.project {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project h3 {
    color: #0a4c8c;
    margin-top: 0;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.cert-card {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.cert-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-card h3 {
    color: #0a4c8c;
    margin-top: 0;
}

.cert-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Contacto */

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    background-color: #0a4c8c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-form button:hover {
    background-color: #083970;
    transform: scale(1.05);
}

.site-logo {
  height: 36px;
  vertical-align: middle;
  margin-right: 10px;
}

/* Cards para trabajos en curriculum */
.job {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 95%;
}

.job:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.job h3 {
    color: #0a4c8c;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.job p {
    font-size: 1em;
    line-height: 1.6;
}

.hero-image {
  text-align: center;
}

.titles {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1em;
  color: #0a4c8c;
  text-align: center;
  padding-left: 15%;
  padding-right: 15%;
}

.social-bar {
  background-color: #0a4c8c;
  text-align: center;
  padding: 15px 10px;
  margin-top: 30px;
  border-radius: 8px;
}

.social-bar a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-bar a:hover {
  color: #ffd700;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

.hero-image {
  text-align: center;
  flex: 1;
}

.hero-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.titles {
  margin-top: 15px;
  font-size: 1em;
  font-weight: bold;
  color: #0a4c8c;
}

.hero-text {
  flex: 2;
  max-width: 600px;
}

.social-bar {
  background-color: #0a4c8c;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  border-radius: 8px;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.social-bar a {
  color: #fff;
  margin: 0 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.social-bar a:hover {
  color: #ffd700;
}

.img-logos-social-index img {
  width: 25px;
  height: 25px;
}

.video-index video {
    width: 100%;
    height: auto;
    margin-top: 78px;
    
}