/* ============================================
   Bryan Millas — Landing Page
   Hoja de estilos personalizada
   Base: Bootstrap 5.3.3
   ============================================ */

/* === VARIABLES === */
:root {
    --color-fondo: #0F2027;
    --color-primario: #FDFBF7;
    --color-acento: #D4AF37;
    /* === BLOG === */
    --taller-primary: #6d4aff;
    --taller-dark: #323257;         /* Azul osc21uro industrial */
    --taller-medium: #2121a7;    
}
/* === COLOR === */
.color-fondo { color: var(--color-fondo); }
.color-primario { color: var(--color-primario); }
.color-acento { color: var(--color-acento); }
.bg-color-fondo { background-color: var(--color-fondo);}
.bg-color-primario { background-color: var(--color-primario);}
.bg-color-acento { background-color: var(--color-acento);}
/* === BLOG === */
.bg-color-taller {background-color: var(--taller-primary);}


/* === RESET BASE === */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 100;
}

html { scroll-behavior: smooth; }

/* === TIPOGRAFÍA === */
h1, h2, h3, h4 { font-weight: 100; }

.section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
}

/* === HERO === */
.hero-section {
    background: url('../assets/img/wireframe.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 6rem 1rem;
}

/* Overlay oscuro opcional para mejorar legibilidad del texto */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 35, 64, 0.6), rgba(18, 35, 64, 0.9));
    z-direction: 1;
    z-index: 1;
}

/* Asegura que el contenido quede encima del overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;

}

.hero-photo {
    width: 180px;
    height: 180px;
    overflow: hidden;
    clip-path: circle(50% at 50% 50%);
    /*clip-path: inset(0% round 20px);*/
    background: transparent;
    margin-top: 0px;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-name {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.1rem;
    max-width: 500px;
}


/* Parallax */
.hero-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-primario)
}

/* === SECCIÖN SOBRE MI ===*/
#perfil {
	background-color: var(--color-fondo);
	color: var(--color-primario);
    padding: 6rem 1rem;
}

.skills-tags { margin-top: 1.5rem; }

.skill-tag {
    background: none;
    padding: 0.4rem 0.85rem;
    border: 0px solid white;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 200;
    color: var(--color-acento);
}

/* === TRAYECTORIA ===*/
#trayectoria {
	background-color: var(--color-primario);
	color: var(--color-fondo);
    padding: 6rem 1rem;
}

#trayectoria h2 {
    margin-bottom: 2rem;
}

.experience-item {
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-acento);
}

.exp-title {
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 1rem;
}

.exp-company { color: var(--color-acento); }

.exp-period {
    font-size: 0.9rem;
    font-weight: 400;
}

.exp-description {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.exp-activities {
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 400;
}

.exp-activities span {
    padding: 0rem 0.5rem;
    font-size: 2rem;
}

/* === PORTAFOLIO === */
#portafolio {
    background-color: var(--color-fondo);
	color: var(--color-primario);
    padding: 6rem 1rem;
}

.project-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background-color: white;
}

.btn-interactivo {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-interactivo:hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateX(8px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-desc {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.project-tag {
    display: inline-block;
    padding: 0.3rem 0rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-acento);
}


/* === CERTIFICADOS ===*/
#certificados {
	background-color: var(--color-primario);
	color: var(--color-fondo);
    padding: 6rem 1rem;
}

#certificados .card img {
    max-height: 200px;
}


/* === BLOG ===*/
#blog {
    background: linear-gradient(135deg, var(--taller-dark) 0%, var(--taller-medium) 100%);
	color: var(--color-primario);
    padding: 6rem 1rem;
    font-family: "Amatic SC", sans-serif;
}
#blog h2 {
    font-size: 3rem;
}
#blog p {
    font-size: 2rem;
    font-weight: 600;
}
#blog a {
    font-size: 2rem;
    font-weight: 600;
}

#blog a:hover {
    color: var(--taller-primary);
    background-color: var(--color-primario);
}


/* === CONTACTO === */
#contacto {
    background-color: var(--color-primario);
	color: var(--color-fondo);
    padding: 6rem 1rem;
}

#contacto a {
    background-color: var(--color-acento);
    border: 0px;
    color: var(--color-fondo);
}

.contact-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    Color: var(--bm-medium-brown);
}

.contact-email {
    font-size: 1.2rem;
    color: var($blue);
    font-weight: 200;
    word-break: break-all;
}

.availability {
    color: var(--bm-medium-brown);
    font-style: italic;
}
.bg-notas{
    background: linear-gradient(135deg, var(--taller-dark) 0%, var(--taller-medium) 100%);
    border-bottom: 4px solid var(--taller-primary);
    padding: 100px 0px !important;
}

/* === FOOTER === */
footer {
    font-size: 0.9rem;
    border-top: 1px solid var(--color-acento);
    background-color: var(--color-fondo);
	color: var(--color-primario);
    padding: 6rem 1rem;
}

footer a {
    color: var(--color-acento);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.3rem;
    font-weight: 300;
}

footer a:hover {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateX(8px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}


/* === RESPONSIVE === */
@media (max-width: 600px) {
    .section-title { font-size: 1.4rem; }
    .hero-photo { width: 140px; height: 140px; }
    #portafolio .card img {max-height: 400px;}
    
}


/* Responsive: 2 columnas en Tablets */
@media (max-width: 992px) {
    .pinterest-grid {
        column-count: 2;
    }
}

/* Responsive: 1 columna en Móviles */
@media (max-width: 768px) {
    .pinterest-grid {
        column-count: 1;
    }
}