/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* El fondo negro con las escamas doradas tenues */
body {
    background-color: #050505;
    /* Patrón SVG de escamas */
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: #ffffff;
    min-height: 100vh; /* Ajustado para permitir scroll */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 60px 20px; /* Espacio arriba y abajo para que respire */
}

/* Capa oscura extra para asegurar legibilidad */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.9) 100%);
    z-index: 1;
    position: fixed; /* Mantiene el fondo oscuro fijo al scrollear */
}

/* Contenido principal */
.content {
    position: relative;
    z-index: 2; /* Para que quede por encima de las escamas */
    max-width: 900px; /* Un poco más ancho para las tarjetas */
    width: 100%;
}

/* Textos Dorados */
.gold-text {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.8));
}

.subtitle {
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 30px;
    font-weight: 400;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 40px;
}

/* Botón Dorado */
.gold-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #050505;
    background: linear-gradient(to right, #D4AF37, #FFDF73);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px rgba(212, 175, 55, 0.3);
}

.gold-button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 20px rgba(212, 175, 55, 0.5);
}

/* --- NUEVA SECCIÓN PROYECTOS --- */
.projects-container {
    margin-top: 80px;
}

.gold-text-small {
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 40px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.8));
}

.cards-wrapper {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap; /* Para que en celulares bajen solas */
}

.project-card {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid #D4AF37;
    border-radius: 8px;
    padding: 30px;
    flex: 1; /* Permite que las tarjetas crezcan parejo */
    min-width: 280px;
    max-width: 400px;
    text-align: left;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #FFDF73;
    box-shadow: 0px 8px 20px rgba(212, 175, 55, 0.2);
}

.project-card h3 {
    color: #FFDF73;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.project-card h4 {
    color: #aaaaaa;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}