/******************************************************************
  Jairo Pineda Portfolio 
  Versión limpia y profesional 2026
******************************************************************/

/*----------------------------------------
  1. Reset & Base
----------------------------------------*/
html, body {
    height: 100%;
    font-family: "Josefin Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    background: #000;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: "Play", sans-serif;
    font-weight: 600;
    color: #fff;
}

h1 { font-size: 70px; }
h2 { font-size: 36px; }

p {
    font-size: 16px;
    color: #adadad;
    line-height: 26px;
    margin-bottom: 15px;
}

img { max-width: 100%; }

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*----------------------------------------
  2. Helpers
----------------------------------------*/
.spad {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title.center-title {
    text-align: center;
}

.section-title span {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00bfe7;
    margin-bottom: 10px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: #00bfe7;
}

.section-title.center-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*----------------------------------------
  3. Buttons
----------------------------------------*/
.primary-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #00bfe7;
    border-radius: 4px;
}

.primary-btn:hover {
    background: #00bfe7;
    color: #000;
}

/*----------------------------------------
  4. Header
----------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header__logo {
    padding: 20px 0;
}

.header__nav__option {
    text-align: right;
    padding: 20px 0;
}

.header__nav__menu {
    display: inline-block;
    margin-right: 30px;
}

.header__nav__menu ul li {
    display: inline-block;
    margin-right: 30px;
}

.header__nav__menu ul li a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

.header__nav__menu ul li a:hover {
    color: #00bfe7;
}

.header__nav__social a {
    color: #fff;
    margin-left: 15px;
}

section {
    scroll-margin-top: 100px;
}

/*----------------------------------------
  5. Hero
----------------------------------------*/
.hero__item {
    height: 700px;
    padding-top: 250px;
    position: relative;
}

.hero__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.hero__text {
    position: relative;
    z-index: 2;
}

.hero__text span {
    color: #00bfe7;
    margin-bottom: 15px;
    display: block;
}

.hero__text h2 {
    font-size: 60px;
    line-height: 70px;
    margin-bottom: 30px;
}

/*----------------------------------------
  6. About Section (NUEVA)
----------------------------------------*/
.about-section {
    background: #000;
    padding: 100px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about__text p {
    font-size: 18px;
    color: #adadad;
    margin-bottom: 25px;
}

.about__text b {
    color: #00bfe7;
    font-weight: 600;
}

/*----------------------------------------
  7. Services (Skills)
----------------------------------------*/
.services {
    background: #000;
    padding-top: 60px; /* Reducido para conectar con About */
}

.services__item {
    margin-bottom: 40px;
    text-align: center;
}

.services__item__icon {
    width: 70px;
    height: 70px;
    border: 2px solid #00bfe7;
    margin: 0 auto 20px;
    line-height: 70px;
}

.services__item h4 {
    margin-bottom: 15px;
}

/*----------------------------------------
  8. Work (Proyectos)
----------------------------------------*/
.work {
    background: #000;
}

.work__gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.work__item {
    width: 30%;
    height: 350px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.4s ease;
}

.work__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.work__item__hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: rgba(45, 180, 190, 0.9);
    transform: translateY(100%);
    transition: 0.4s ease;
}

.work__item:hover .work__item__hover {
    transform: translateY(0);
}

/*----------------------------------------
  9. Counter
----------------------------------------*/
.counter {
    background: #000;
}

.counter__item {
    text-align: center;
    margin-bottom: 30px;
}

.counter__item__text h2 {
    font-size: 50px;
    font-weight: 700;
}

.counter__item__text p {
    text-transform: uppercase;
    font-size: 14px;
    color: #00bfe7;
}

/*----------------------------------------
  10. Footer
----------------------------------------*/
.footer {
    background: linear-gradient(135deg, #001a1f, #000);
    padding: 60px 0;
}

.footer h5 {
    margin-bottom: 20px;
}

/*----------------------------------------
  11. Responsive
----------------------------------------*/
@media (max-width: 992px) {
    .header__nav__option {
        display: none;
    }
    .work__item {
        width: 45%;
    }
    .hero__text h2 {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (max-width: 576px) {
    .work__item {
        width: 100%;
    }
    .hero__item {
        height: 550px;
        padding-top: 200px;
    }
    .hero__text h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .about__text p {
        font-size: 16px;
    }
}