/* ===============================
   CODEMAKERS – ENTERPRISE AI CSS
   =============================== */

:root {
    --bg: #030508;
    --bg-light: #0a0e14;
    --bg-glass: rgba(10, 14, 20, 0.75);
    --cyan: #00f2ff;
    --cyan-soft: rgba(0, 242, 255, 0.15);
    --cyan-glow: rgba(0, 242, 255, 0.35);
    --text-main: #ffffff;
    --text-dim: #aab3c2;
    --border: rgba(255, 255, 255, 0.08);
}

/* GLOBAL */
html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at 15% 10%, rgba(0, 242, 255, .06), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 242, 255, .04), transparent 40%),
        var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
}

.text-cyan {
    color: var(--cyan);
}

.text-dim {
    color: var(--text-dim);
}

/* ===============================
   NAVBAR
   =============================== */

.navbar {
    padding: 28px 0;
    transition: all .4s ease;
    background: linear-gradient(to bottom, rgba(3, 5, 8, .85), rgba(3, 5, 8, .4));
    backdrop-filter: blur(25px);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(3, 5, 8, .92);
    border-bottom: 1px solid var(--border);
}

.logo-accent {
    color: var(--cyan);
    text-shadow: 0 0 12px var(--cyan-glow);
}

.nav-link {
    color: var(--text-dim) !important;
    font-weight: 500;
    margin: 0 16px;
    position: relative;
    transition: color .3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--cyan);
    transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===============================
   FIX LOGO COLOR (CODEMAKERS)
   =============================== */

.navbar-brand {
    color: #ffffff !important;
    /* MAKERS en blanco */
}

.navbar-brand:hover {
    color: #ffffff;
}



/* ===============================
   HERO
   =============================== */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, .65));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 30px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* ===============================
   SECTIONS
   =============================== */

.section-padding {
    padding: 120px 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
}

.section-subtitle {
    max-width: 700px;
    color: var(--text-dim);
    margin-top: 20px;
}

/* ===============================
   SERVICE CARDS
   =============================== */

.pro-card {
    background: linear-gradient(180deg, var(--bg-light), #05080d);
    border: 1px solid var(--border);
    padding: 42px 34px;
    border-radius: 22px;
    height: 100%;
    position: relative;
    transition: all .45s cubic-bezier(.2, .8, .2, 1);
    overflow: hidden;
}

.pro-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 35%,
            rgba(0, 242, 255, .12),
            transparent 65%);
    opacity: 0;
    transition: opacity .5s;
}

.pro-card:hover::before {
    opacity: 1;
}

.pro-card:hover {
    transform: translateY(-14px) scale(1.015);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, .65),
        inset 0 0 0 1px rgba(0, 242, 255, .25);
}

.pro-card i {
    transition: transform .4s ease, filter .4s ease;
}

.pro-card:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px var(--cyan));
}

.pro-card h5 {
    margin-top: 22px;
    font-weight: 700;
}

/* ===============================
   CATEGORY LABEL
   =============================== */

.category-label {
    font-size: 1.55rem;
    font-weight: 700;
    border-left: 4px solid var(--cyan);
    padding-left: 18px;
}

/* ===============================
   ABOUT
   =============================== */

.bg-darker {
    background: #010204;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    transition: transform .6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--bg-glass);
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(15px);
    animation: badgeFloat 5s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ===============================
   CONTACT
   =============================== */

.contact-info-card {
    background: linear-gradient(180deg, var(--bg-light), #05080d);
    padding: 50px;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 50px 100px rgba(0, 0, 0, .65);
}

.c-item {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.c-item i {
    color: var(--cyan);
}

.tech-bullets li {
    margin-bottom: 12px;
}

.tech-bullets i {
    color: var(--cyan);
    margin-right: 8px;
}

/* ===============================
   BUTTONS
   =============================== */

.btn-cyan-glow {
    background: var(--cyan);
    color: #000;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 50px;
    box-shadow: 0 0 28px var(--cyan-glow);
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

.btn-cyan-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 48px var(--cyan);
}

.btn-outline-pro {
    border: 1px solid var(--border);
    color: #fff;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-outline-pro:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ===============================
   FOOTER
   =============================== */

footer {
    background: linear-gradient(to top, #000, #020305);
}

/* FLOATING ICONS */
.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-icons a {
  width: 55px;
  height: 55px;
  color: white;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 1.5s infinite;
}



/* ===============================
   PREMIUM HAMBURGER (FINAL)
================================ */

.premium-toggler {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.premium-toggler:hover {
    background: rgba(0, 242, 255, 0.12);
    border-color: var(--cyan);
}

.premium-toggler span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s ease;
}

/* Estado abierto (X elegante) */
.premium-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.premium-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.premium-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}



/* ========================== ICONOS FLOTANTES COLORES REALES ========================== */
.icon-whatsapp {
  background: #25D366 !important;
}

.icon-whatsapp:hover {
  background: #1ebe5d !important;
}

.icon-instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.icon-instagram:hover {
  filter: brightness(1.15);
}

@media (max-width: 991px) {
  .navbar .nav-link::after {
    display: none !important;
  }
}

.text-justify {
    text-align: justify;
}
