/* ==============================
   BLACKLINE BARBER — DEMO
   Diseño creado por NEXORA
================================= */

:root {
    --black: #050505;
    --black-2: #0b0b0d;
    --black-3: #111116;

    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-dark: #123a78;

    --white: #ffffff;
    --gray: #a1a1aa;
    --border: rgba(255, 255, 255, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ==============================
   NAVBAR
================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 4px;

    text-shadow:
        0 0 10px rgba(37, 99, 235, 0.8),
        0 0 25px rgba(37, 99, 235, 0.4);
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    color: var(--gray);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--white);
}

.nav-button {
    padding: 11px 20px;

    border: 1px solid var(--blue);
    border-radius: 6px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;

    box-shadow:
        0 0 15px rgba(37, 99, 235, 0.25);

    transition: 0.3s;
}

.nav-button:hover {
    background: var(--blue);
    box-shadow:
        0 0 25px rgba(37, 99, 235, 0.6);

    transform: translateY(-2px);
}


/* ==============================
   HERO
================================= */

.hero {
    min-height: 100vh;

    padding: 150px 8% 80px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;

    position: relative;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(37, 99, 235, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(18, 58, 120, 0.12),
            transparent 30%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -150px;
    top: 100px;

    background: var(--blue);

    filter: blur(180px);
    opacity: 0.12;

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;

    padding: 8px 13px;

    margin-bottom: 25px;

    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 30px;

    color: var(--blue-light);

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;

    background: rgba(37, 99, 235, 0.06);
}

.small-title {
    color: var(--blue-light);

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 5px;

    margin-bottom: 20px;
}

.hero h1 {
    max-width: 750px;

    font-size: clamp(45px, 6vw, 82px);

    line-height: 0.95;

    letter-spacing: -3px;

    margin-bottom: 30px;
}

.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px var(--white);

    text-shadow:
        0 0 25px rgba(37, 99, 235, 0.25);
}

.hero-text {
    max-width: 550px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    border-radius: 6px;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 1px;

    transition: 0.3s;
}

.primary-button {
    background: var(--blue);

    box-shadow:
        0 0 20px rgba(37, 99, 235, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 35px rgba(37, 99, 235, 0.65);
}

.secondary-button {
    border: 1px solid var(--border);

    color: var(--gray);
}

.secondary-button:hover {
    color: var(--white);

    border-color: var(--blue);

    transform: translateY(-3px);
}


/* ==============================
   HERO VISUAL
================================= */

.hero-visual {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.circle {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    border: 1px solid rgba(59, 130, 246, 0.25);

    box-shadow:
        0 0 80px rgba(37, 99, 235, 0.15),
        inset 0 0 80px rgba(37, 99, 235, 0.08);

    animation: pulse 4s ease-in-out infinite;
}

.circle::before,
.circle::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(59, 130, 246, 0.15);
}

.circle::before {
    inset: 35px;
}

.circle::after {
    inset: 75px;
}

.barber-card {
    width: 270px;
    height: 350px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background:
        linear-gradient(
            145deg,
            #17171b,
            #070709
        );

    border-radius: 12px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    position: relative;

    box-shadow:
        20px 25px 60px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(37, 99, 235, 0.12);

    transform: rotate(4deg);

    animation: floating 5s ease-in-out infinite;
}

.barber-card::before {
    content: "✂";

    position: absolute;

    font-size: 110px;

    opacity: 0.05;
}

.barber-card span {
    font-size: 13px;

    letter-spacing: 7px;

    color: var(--gray);

    margin-bottom: 12px;
}

.barber-card strong {
    font-size: 35px;

    letter-spacing: 5px;

    text-shadow:
        0 0 20px rgba(59, 130, 246, 0.4);
}

.barber-card small {
    margin-top: 20px;

    color: var(--blue-light);

    letter-spacing: 4px;
}


/* ==============================
   SECTIONS
================================= */

.section {
    padding: 120px 8%;

    background: var(--black-2);
}

.section-label {
    color: var(--blue-light);

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 18px;
}

.section h2,
.gallery-section h2 {
    font-size: clamp(35px, 5vw, 60px);

    line-height: 1;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.section h2 span,
.gallery-section h2 span {
    color: var(--blue-light);

    display: block;
}

.section-description {
    color: var(--gray);

    margin-bottom: 55px;

    max-width: 550px;

    line-height: 1.6;
}


/* ==============================
   SERVICES
================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    padding: 35px 25px;

    min-height: 300px;

    border: 1px solid var(--border);

    background: var(--black-3);

    border-radius: 10px;

    position: relative;

    overflow: hidden;

    transition: 0.35s;
}

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--blue);

    transform: scaleX(0);

    transform-origin: left;

    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(37, 99, 235, 0.5);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: rgba(37, 99, 235, 0.45);

    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.08),
            var(--black-3)
        );
}

.service-number {
    color: #52525b;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 35px;
}

.service-icon {
    font-size: 35px;

    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;

    letter-spacing: 1px;

    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 25px;
}

.service-card strong {
    color: var(--blue-light);

    font-size: 20px;
}


/* ==============================
   GALLERY
================================= */

.gallery-section {
    padding: 120px 8%;

    background: var(--black);
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 50px;
}

.gallery-item {
    height: 330px;

    border-radius: 10px;

    border: 1px solid var(--border);

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    padding: 25px;

    transition: 0.4s;
}

.gallery-item::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            transparent 60%
        );
}

.gallery-item span {
    position: relative;

    z-index: 2;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;
}

.item-one {
    background:
        radial-gradient(
            circle at 50% 30%,
            #52525b,
            #18181b 35%,
            #050505 75%
        );
}

.item-two {
    background:
        linear-gradient(
            145deg,
            #172554,
            #111827 45%,
            #050505
        );
}

.item-three {
    background:
        radial-gradient(
            circle at 60% 35%,
            #71717a,
            #27272a 30%,
            #050505 75%
        );
}

.item-four {
    background:
        linear-gradient(
            135deg,
            #1e3a8a,
            #111827 50%,
            #050505
        );
}

.gallery-item:hover {
    transform: scale(1.02);

    border-color: rgba(59, 130, 246, 0.5);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5);
}


/* ==============================
   REVIEWS
================================= */

.reviews-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 50px;
}

.review {
    padding: 30px;

    border: 1px solid var(--border);

    background: var(--black-3);

    border-radius: 10px;

    transition: 0.3s;
}

.review:hover {
    transform: translateY(-5px);

    border-color: rgba(37, 99, 235, 0.4);
}

.stars {
    color: #facc15;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.review p {
    color: #d4d4d8;

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 25px;
}

.review strong {
    color: var(--blue-light);

    font-size: 13px;
}

.demo-note {
    margin-top: 30px;

    color: #52525b;

    font-size: 11px;
}


/* ==============================
   INFO
================================= */

.info-section {
    padding: 70px 8%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    background: #08080a;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.info-box {
    padding: 30px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 10px;
}

.info-box > span {
    display: block;

    font-size: 28px;

    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 13px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.info-box p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.6;
}


/* ==============================
   CONTACT
================================= */

.contact {
    padding: 150px 8%;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(37, 99, 235, 0.13),
            transparent 45%
        );
}

.contact h2 {
    max-width: 900px;

    margin: 0 auto 25px;

    font-size: clamp(38px, 6vw, 70px);

    line-height: 1;

    letter-spacing: -3px;
}

.contact h2 span {
    display: block;

    color: var(--blue-light);
}

.contact > p:not(.section-label) {
    color: var(--gray);

    margin: 0 auto 35px;

    max-width: 500px;

    line-height: 1.6;
}


/* ==============================
   FOOTER
================================= */

footer {
    padding: 45px 8%;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 25px;

    align-items: center;

    background: #030304;

    border-top: 1px solid var(--border);
}

footer h3 {
    letter-spacing: 4px;

    margin-bottom: 8px;
}

footer p {
    color: var(--gray);

    font-size: 13px;
}

footer > a {
    color: var(--blue-light);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;
}

.copyright {
    grid-column: 1 / -1;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    text-align: center;

    font-size: 11px;
}


/* ==============================
   ANIMACIONES
================================= */

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(4deg);
    }

    50% {
        transform: translateY(-15px) rotate(4deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);

        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);

        opacity: 1;
    }
}


/* ==============================
   RESPONSIVE
================================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 0 5%;
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 420px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .navbar {
        height: 68px;

        padding: 0 20px;
    }

    .navbar nav {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .circle {
        width: 270px;
        height: 270px;
    }

    .barber-card {
        width: 210px;
        height: 280px;
    }

    .barber-card strong {
        font-size: 28px;
    }

    .section,
    .gallery-section {
        padding: 90px 20px;
    }

    .section h2,
    .gallery-section h2 {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 280px;
    }

    .info-section {
        grid-template-columns: 1fr;

        padding: 60px 20px;
    }

    .contact {
        padding: 100px 20px;
    }

    .contact h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    footer {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 40px 20px;
    }
}