/* =========================
   CONFIGURACIÓN GENERAL
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:
    radial-gradient(circle at top right,
    rgba(4, 51, 1, 0.763),
    transparent 30%),

    linear-gradient(
        135deg,
        #01035a88,
        #40804985,
        #12017c8d
    );
}


/* =========================
   MENÚ SUPERIOR
========================= */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;

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

    padding:0 40px;

    background:rgba(1, 30, 15, 0.759);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(8, 236, 92, 0.967);

    z-index:1000;
}

/* LOGO Y EMPRESA */
.brand{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:50%;

    border:2px solid #00d4ff;

    box-shadow:0 0 15px rgba(217, 255, 0, 0.595);
}

.company-info h2{
    color:#ffffff;
    font-size:20px;
    margin-bottom:3px;
}

.company-info span{
    color:#9ff692;
    font-size:14px;
}

/* MENÚ */
.nav-menu{
    display:flex;
    align-items:center;
    gap:8px;
}

.nav-menu a{
    text-decoration:none;
    color:white;

    padding:10px 18px;

    border-radius:25px;

    transition:.3s;
}

.nav-menu a:hover{
    color:#f4f74b;
    background:rgba(93, 195, 102, 0.567);
}

/* BOTÓN DESTACADO */
.btn-contacto{
    background:#04f42c;
    color:#0a0a0a !important;
    font-weight:bold;
}

.btn-contacto:hover{
    background:#00b5d6;
}

/* HAMBURGUESA */
.menu-toggle{
    display:none;

    border:none;
    background:none;

    color:#00ff1e;

    font-size:30px;

    cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    .nav-menu{

        position:absolute;

        top:80px;
        right:0;

        width:280px;

        background:#173001f8;

        flex-direction:column;

        padding:20px;

        gap:10px;

        transform:translateX(100%);
        transition:.4s;

        box-shadow:
        -10px 10px 30px rgba(0,0,0,.3);
    }

    .nav-menu.active{
        transform:translateX(0);
    }

    .nav-menu a{
        width:100%;
        text-align:center;
    }

    .company-info span{
        font-size: 13px;
    }

    .navbar{
        padding:0 20px;
    }
}


/* =========================
   PORTAFOLIO WEB
========================= */
.portfolio-web{
    padding:80px 5%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
    margin-top:30px;
}

.section-title h2{
    font-size:40px;
    margin-bottom:15px;
}

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

    gap:30px;
}

.portfolio-card{
    background:rgb(245, 245, 241);
    border-radius:18px;
    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.1);

    transition:.4s;
}

.portfolio-card:hover{
    transform:translateY(-10px);
}

.portfolio-card img{

    width:100%;

    display:block;

    border-radius:10px;

    object-fit:cover;
}

.portfolio-card{

    background:#0b1120;

    padding:10px;

    border-radius:15px;

    border:1px solid rgb(255, 234, 0);

    box-shadow:
        0 0 10px rgba(0,212,255,.25),
        0 0 25px rgba(0,212,255,.15);
}


.portfolio-content{
    padding:25px;
}

.portfolio-content h3{
    margin-bottom:10px;
}

.portfolio-content a{
    display:inline-block;

    margin-top:15px;

    background:#bbff00;

    color:#000305;

    padding:10px 20px;

    border-radius:30px;

    text-decoration:none;

    font-weight:bold;
}

.portfolio-web{

    text-align:center;

    padding:60px 5%;

    color:rgb(246, 251, 250);

    border-radius:20px;

    margin-bottom:50px;

    background:
    linear-gradient(
    135deg,
    #456594,
    #4f9a48
    );
}


/* =========================
   PORTAFOLIO LOGOS
========================= */
.logos-section{
    padding:80px 5%;
}

.logos-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:30px;
}

.logo-card{

    background:rgb(229, 229, 231);

    text-align:center;

    padding:5px;

    border-radius:18px;

    transition:.4s;

    box-shadow:
    0 8px 20px rgba(0,0,0,.08);
}

.logo-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 0 20px rgba(0,212,255,.25);
}

.logo-card video{

    width:100%;
    height:240px;

    object-fit:cover;

    display:block;
}

.logo-card h3{
    padding-bottom:15px;
    color:#0b1220;
}

.logos-section{

    text-align:center;

    padding:60px 5%;

    color:rgb(14, 0, 0);

    border-radius:20px;

    margin-bottom:50px;

    background:
    linear-gradient(
    135deg,
    #916244,
    #528f43
    );
}


/* =========================
   BOTON WHATSAPP
========================= */
.whatsapp-container{
  position: fixed;
  bottom: 28px;
  right: 70px;
  display: flex;
  align-items: center;
  z-index: 9999;
}

.whatsapp-btn {
  position: fixed;
  bottom: 19px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #02fa5d1e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}

/*Estilos solo al icono whatsapp*/
.whatsapp-btn i {
  color: #049c1d;
  font-size: 33px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
}

/* Texto lateral */
    .whatsapp-text{
        background: #028733d5;
        color: rgb(245, 248, 244);
        padding: 8px 10px;
        border-radius: 30px;
        margin-right: 10px;
        font-size: 12px;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(6, 6, 6, 0.2);
        animation: moverTexto 2s infinite;
    }

/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 216, 82, 0.899);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/*Estilos de animacion del icono latiendo*/
@keyframes beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}


/* =========================
   BOTONES REDES SOCIALES
========================= */
.social-sidebar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-sidebar a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-sidebar a:hover {
  transform: scale(1.12);
}

.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* Responsive */
@media (max-width: 768px) {
  .social-sidebar {
    right: 10px;
  }

  .social-sidebar a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}


/* =========================
   FOOTER
========================= */
footer{
    background:#0b1220;
    color:white;
    padding:60px 5% 20px;
}

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

.footer-grid h3{
    color:#00d4ff;
    margin-bottom:15px;
}

.footer-grid ul{
    list-style:none;
}

.footer-grid li{
    margin-bottom:10px;
}

.footer-grid a{
    color:#d9e4ec;
    text-decoration:none;
}

.footer-grid a:hover{
    color:#00d4ff;
}

.tech{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.tech span{
    padding:8px 15px;
    border-radius:25px;

    border:1px solid rgba(0,212,255,.3);

    background:rgba(0,212,255,.08);

    color:#00d4ff;
}

.copy{
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.1);
}
