body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* NAVBAR */
header {
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* HERO */
.hero {
    background: linear-gradient(to right, #2c4a7a, #3c5fa3);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 32px;
}

.hero h2 {
    font-weight: normal;
    margin-top: 10px;
}

.hero p {
    margin-top: 15px;
}

.location {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

/* SECCIONES */
section {
    padding: 60px 40px;
}

/* PROYECTOS */
.tech-intro {
    max-width: 900px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/*.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}*/

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

.card, .tech-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card h3, .tech-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.card p, .tech-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.card:hover, .tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* FOOTER */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px;
}

/* LOGO */
.logo {
    font-size: 46px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #315086;
}

.logo:hover {
    color: #ffffff;
    transition: 0.3s;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.tech-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tech-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.tech-card-content {
    padding: 24px;
}

.tech-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
}

.tech-card p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
