/**
 * =============================================================================
 * Hero Section
 * =============================================================================
 *
 * File: assets/css/pages/hero.css
 * Project: Surabhi Premium Portfolio
 *
 * Part 1
 * - Hero Section
 * - Layout
 * - Typography
 * - Buttons
 * =============================================================================
 */


/* =============================================================================
   Hero Section
============================================================================= */

.hero {
    position: relative;
    /* overflow: hidden; */
    overflow: visible;
    /* padding: 11rem 0 4rem; */
    padding: 5rem 0 4rem;
    background: var(--color-background);
}

.hero .container {
    position: relative;
    z-index: 2;
}


/* =============================================================================
   Hero Layout
============================================================================= */

.hero__wrapper{

    display:grid;

    grid-template-columns: 56% 44%;

    align-items:center;

    gap:48px;

    position:relative;
}


/* =============================================================================
   Left Content
============================================================================= */

.hero__content {
    position: relative;
    left: 150px;
    z-index: 2;
    max-width:650px;
}


/* =============================================================================
   Eyebrow
============================================================================= */

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .65rem 1.25rem;

    border: 1px solid rgba(20, 83, 45, .12);
    border-radius: 999px;

    background: rgba(255,255,255,.55);
    backdrop-filter: blur(10px);

    color: var(--color-primary);

    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;

    margin-bottom: 2rem;
}


/* =============================================================================
   Hero Title
============================================================================= */

.hero__title {

    margin: 0;

    font-size: clamp(4rem, 9vw, 7.25rem);

    line-height: .92;

    font-weight: 700;

    letter-spacing: -.06em;

    color: var(--color-heading);

    text-wrap: balance;
}


/* =============================================================================
   Description
============================================================================= */

.hero__description {

    max-width: 640px;

    margin-top: 2rem;

    margin-bottom: 3rem;

    color: var(--color-text);

    font-size: 1.125rem;

    line-height: 1.9;
}


/* =============================================================================
   Hero Buttons
============================================================================= */

.hero__buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;
}

/* =============================================================================
   Right Side Wrapper
============================================================================= */

.hero__visual {

    position: relative;

    display: flex;

    justify-content: flex-start;

    align-items: center;

    min-height: 620px;

    overflow: visible;
}

/* =============================================================================
   Hero Background Graphic
============================================================================= */

/* .hero__background {
    position: absolute;
    top: 50%;
    right: -8%;
    width: 640px;
    max-width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: .95;
}

.hero__background img {
    display: block;
    width: 100%;
    height: auto;
} */


/* =============================================================================
   Hero Code Card
============================================================================= */

.hero-card {
    position: relative;

    z-index: 10;

    max-width: 470px;

    width: 100%;

    padding: 2rem;

    border-radius: 28px;

    background: rgba(255, 255, 255, .82);

    border: 1px solid rgba(255, 255, 255, .65);

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);

    box-shadow:
        0 40px 80px rgba(15, 23, 42, .08),
        0 10px 30px rgba(15, 23, 42, .06);

    overflow: hidden;
}

/* =============================================================================
   Hero Decoration
============================================================================= */

.hero__visual-decoration {

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 1;

}

.hero__glow {

    position: absolute;

    width: 260px;

    height: 260px;

    left: -20px;

    top: 220px;

    border-radius: 50%;

    background: rgba(34, 197, 94, .18);

    filter: blur(90px);

}

/* =============================================================================
   Hero Decorative Circles
============================================================================= */

.hero__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(20, 83, 45, .07);
    pointer-events: none;
}

/* Largest */
.hero__circle--1 {
    width: 520px;
    height: 520px;

    top: -40px;
    right: -120px;

    border-color: rgba(20, 83, 45, .03);
}

/* Large */
.hero__circle--2 {
    width: 430px;
    height: 430px;

    top: 8px;
    right: -75px;

    border-color: rgba(20, 83, 45, .05);
}

/* Medium */
.hero__circle--3 {
    width: 340px;
    height: 340px;

    top: 55px;
    right: -30px;

    border-color: rgba(20, 83, 45, .07);
}

/* Small */
.hero__circle--4 {
    width: 250px;
    height: 250px;

    top: 100px;
    right: 18px;

    border-color: rgba(20, 83, 45, .09);
}

/* Smallest */
.hero__circle--5 {
    width: 165px;
    height: 165px;

    top: 145px;
    right: 60px;

    border-color: rgba(20, 83, 45, .12);
}

/* =============================================================================
   Hero Dotted Grid
============================================================================= */

.hero__dots {

    position: absolute;

    top: 110px;
    right: -35px;

    width: 170px;
    height: 170px;

    opacity: .35;

    background-image:
        radial-gradient(
            circle,
            rgba(20, 83, 45, .35) 1px,
            transparent 1.5px
        );

    background-size: 14px 14px;

    z-index: 1;

}

/* =============================================================================
   Floating Accent Dot
============================================================================= */

.hero__floating-dot {

    position: absolute;

    top: 220px;
    right: 138px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: var(--color-primary);

    box-shadow:
        0 0 0 8px rgba(34, 197, 94, .08),
        0 0 28px rgba(34, 197, 94, .18);

    z-index: 2;

}

/* =============================================================================
   Decorative Arc
============================================================================= */

.hero__visual-decoration::before {

    content: "";

    position: absolute;

    top: 20px;
    right: 90px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(20, 83, 45, .05);
    border-radius: 50%;

    clip-path: inset(0 0 45% 45%);

    z-index: 0;

}

.hero__visual-decoration {
    z-index: 1;
}

.hero__glow {
    z-index: 0;
}

.hero__circle {
    z-index: 1;
}

.hero__dots {
    z-index: 2;
}

.hero__floating-dot {
    z-index: 3;
}

.hero-card {
    z-index: 10;
}

/* =============================================================================
   Glass Highlight
============================================================================= */

.hero-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.9),
            transparent
        );
}


/* =============================================================================
   Soft Glow
============================================================================= */

.hero-card::after {
    content: "";

    position: absolute;

    inset: auto;

    top: -120px;
    right: -120px;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34,197,94,.18),
            transparent 70%
        );

    pointer-events: none;
}


/* =============================================================================
   Card Label
============================================================================= */

.hero-card__label {
    display: inline-flex;

    align-items: center;

    padding: .55rem 1rem;

    margin-bottom: 2rem;

    border-radius: 999px;

    background: rgba(20,83,45,.08);

    color: var(--color-primary);

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;
}


/* =============================================================================
   Code Block
============================================================================= */

.hero-card__code {
    margin: 0;
    padding: 0;

    overflow-x: auto;

    white-space: pre-wrap;
    word-break: break-word;

    font-family:
        "JetBrains Mono",
        "Fira Code",
        monospace;

    font-size: .95rem;

    line-height: 1.9;

    color: #334155;
}

.hero-card__code code {
    font-family: inherit;
}


/* =============================================================================
   Footer
============================================================================= */

.hero-card__footer {
    display: flex;

    align-items: center;

    gap: .75rem;

    margin-top: 2rem;

    padding-top: 1.5rem;

    border-top: 1px solid rgba(0,0,0,.06);
}


/* =============================================================================
   Status Dot
============================================================================= */

.hero-card__status-dot {
    position: relative;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #22C55E;

    flex-shrink: 0;
}

.hero-card__status-dot::after {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: inherit;

    background: rgba(34,197,94,.25);
}


/* =============================================================================
   Status Text
============================================================================= */

.hero-card__status-text {
    color: var(--color-text);

    font-size: .95rem;

    font-weight: 500;
}


/* =============================================================================
   Hero Technologies
============================================================================= */

.hero-tech {

    display: grid;
    grid-template-columns: 180px 1fr;

    align-items: center;

    gap: 3rem;

    margin-top: 6rem;
    padding: 2.5rem 0;

    border-top: 1px solid rgba(20, 83, 45, .08);
    border-bottom: 1px solid rgba(20, 83, 45, .08);

    overflow: hidden;

}


/* =============================================================================
   Label
============================================================================= */

.hero-tech__label {

    display: flex;
    align-items: center;
    justify-content: flex-start;

}

.hero-tech__label span {

    color: rgba(24, 24, 27, .55);

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

    white-space: nowrap;

}


/* =============================================================================
   Marquee Wrapper
============================================================================= */

.hero-tech__marquee {

    position: relative;

    overflow: hidden;

    width: 100%;
    padding-block: 0.75rem;

}


/* =============================================================================
   Track
============================================================================= */

.hero-tech__track {

    display: flex;
    align-items: center;

    gap: 4rem;

    width: max-content;

    flex-wrap: nowrap;

    will-change: transform;

    backface-visibility: hidden;

    transform: translate3d(0,0,0);

}


/* =============================================================================
   Technology Item
============================================================================= */

.hero-tech__item {

    display: inline-flex;

    align-items: center;

    gap: .85rem;

    min-width: max-content;

    flex-shrink: 0;

    transition:
        transform .35s ease,
        color .35s ease;

}


/* =============================================================================
   Technology Icon
============================================================================= */

.hero-tech__icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex-shrink: 0;
}

.hero-tech__icon img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: .55;

    filter: grayscale(100%);

    transition:
        opacity .35s ease,
        filter .35s ease,
        transform .35s ease;

}


/* =============================================================================
   Technology Name
============================================================================= */

.hero-tech__name {

    color: #8A8A8A;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: .01em;

    white-space: nowrap;

    transition: color .35s ease;

}

/* =============================================================================
   Hover
============================================================================= */

.hero-tech__item:hover {

    transform: translateY(-3px);

}

.hero-tech__item:hover .hero-tech__icon img {

    opacity: 1;

    filter: grayscale(0);

    transform: scale(1.08);

}

.hero-tech__item:hover .hero-tech__name {

    color: var(--color-primary);

}


/* =============================================================================
   Focus
============================================================================= */

.hero-tech__item:focus-within {

    outline: 2px solid rgba(20, 83, 45, .2);

    outline-offset: 6px;

}

/* =============================================================================
   Hero Polish
============================================================================= */

.hero__content,
.hero__visual {
    isolation: isolate;
}

.hero__title,
.hero-card,
.hero-tech {
    position: relative;
    z-index: 2;
}


/* =============================================================================
   Selection
============================================================================= */

.hero ::selection {
    background: rgba(20,83,45,.18);
}


/* =============================================================================
   Performance
============================================================================= */

.hero-card,
.hero-tech__item,
.btn {
    will-change: transform;
}


/* =============================================================================
   Reduced Motion
============================================================================= */

@media (prefers-reduced-motion: reduce) {

    .btn,
    .hero-tech__item,
    .hero-tech__icon {
        transition: none;
    }

}

/* below part 3  */
/* =============================================================================
   HERO REFINEMENT
   ============================================================================= */

/* =============================================================================
   Available for Freelance
============================================================================= */

.hero__wrapper {
    position: relative;
    overflow: visible;
}

.hero {
    overflow: visible;
}

.hero__availability {

    position: absolute;

    left: 0;

    top: 50%;

    transform: translateY(-50%) rotate(-90deg);

    transform-origin: left center;

    display: flex;
    align-items: center;
    gap: 12px;

    white-space: nowrap;

    z-index: 50;

    pointer-events: none;
}

.hero__availability-dot{

    width:8px;
    height:8px;

    border-radius:50%;

    background:var(--color-primary);
}

.hero__availability-text{

    font-size:15px;

    color:var(--color-text);

    letter-spacing:.03em;

    font-weight:500;
}

/* =============================================================================
   Hero Title
============================================================================= */

.hero__title {

    max-width: 700px;
}

/* =============================================================================
   Green Dot
============================================================================= */

.hero__title{

    position:relative;

    display:inline-block;

    line-height:.84;

    letter-spacing:-.07em;

}

.hero__title-dot{

    position:absolute;

    bottom:10px;

    right:-26px;

    width:19px;
    height:19px;

    border-radius:50%;

    background:var(--color-primary);

    box-shadow:
        0 0 22px rgba(20,83,45,.18);
}


/* =============================================================================
   Description
============================================================================= */

.hero__description {

    max-width: 520px;

    font-size: 1.15rem;

    line-height: 1.9;

    color: rgba(24,24,27,.82);

    margin-top:2rem;

    margin-bottom:2.5rem;

    max-width:520px;
}


/* =============================================================================
   Buttons
============================================================================= */

.hero__buttons {

    gap: 1.5rem;

    margin-top: .5rem;
}

.btn {

    min-height: 60px;

    padding: 1rem 2.25rem;

    font-size: 1rem;
}


/* =============================================================================
   Hero Card
============================================================================= */

.hero-card {

    padding: 0;

    overflow: hidden;

    border-radius: 30px;

    background: rgba(255,255,255,.88);

    box-shadow:
        0 30px 90px rgba(15,23,42,.08),
        0 12px 25px rgba(15,23,42,.05);

    border:
        1px solid rgba(255,255,255,.7);
}


/* =============================================================================
   Mac Header
============================================================================= */

.hero-card__header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem 1.5rem;

    border-bottom: 1px solid rgba(0,0,0,.05);
}


/* =============================================================================
   Window Buttons
============================================================================= */

.hero-card__window-controls {

    display: flex;

    gap: .5rem;
}

.hero-card__window-controls span {

    width: 11px;
    height: 11px;

    border-radius: 50%;
}

.hero-card__window-controls span:nth-child(1) {

    background: #FF5F57;
}

.hero-card__window-controls span:nth-child(2) {

    background: #FEBC2E;
}

.hero-card__window-controls span:nth-child(3) {

    background: #28C840;
}


/* =============================================================================
   Window Title
============================================================================= */

.hero-card__window-title {

    color: rgba(24,24,27,.55);

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;
}


/* =============================================================================
   Code Block
============================================================================= */

.hero-card__code {

    padding: 2rem;

    font-size: .95rem;

    line-height: 2;

    color: #475569;
}


/* =============================================================================
   Footer
============================================================================= */

.hero-card__footer {

    padding: 1.5rem 2rem 2rem;

    margin-top: 0;
}


/* =============================================================================
   Hero Visual
============================================================================= */

.hero__visual{

    display:flex;

    justify-content:flex-start;

    align-items:center;

    transform:translateY(-48px);
}


/* =============================================================================
   Technology Strip
============================================================================= */




/* =============================================================================
   Label
============================================================================= */

.hero-tech::before {

    /* content: "I WORK WITH"; */

    color: rgba(24,24,27,.55);
}


/* =============================================================================
   Technology Item
============================================================================= */

.hero-tech__item {

    padding: 0;

    border: none;

    background: transparent;

    box-shadow: none;
}


/* =============================================================================
   Icon
============================================================================= */

.hero-tech__icon {

    opacity: .45;

    transition: all .35s ease;
}


/* =============================================================================
   Text
============================================================================= */

.hero-tech__name {

    color: rgba(24,24,27,.55);

    transition: all .35s ease;
}


/* =============================================================================
   Hover
============================================================================= */

.hero-tech__item:hover {

    background: transparent;

    box-shadow: none;

    transform: translateY(-2px);
}

.hero-tech__item:hover .hero-tech__icon {

    opacity: 1;

    transform: scale(1.08);
}

.hero-tech__item:hover .hero-tech__name {

    color: var(--color-primary);
}


/* =============================================================================
   Card Background Glow
============================================================================= */

.hero-card::after {

    top: -150px;

    right: -150px;

    width: 320px;

    height: 320px;

    opacity: .8;
}

/* =============================================================================
   Hero Responsive - Large Tablet
============================================================================= */

@media (max-width: 1200px) {

    .hero {
        padding: 10rem 0 6rem;
    }

    .hero__wrapper {
        gap: 4rem;
    }

    .hero__content {
        max-width: 520px;
    }

    .hero__heading {
        font-size: clamp(3.5rem, 7vw, 5rem);
    }

    .hero-card {
        max-width: 420px;
    }

    .hero__circle--1 {
        width: 470px;
        height: 470px;
    }

    .hero__circle--2 {
        width: 390px;
        height: 390px;
    }

    .hero__circle--3 {
        width: 310px;
        height: 310px;
    }

    .hero__circle--4 {
        width: 230px;
        height: 230px;
    }

    .hero__circle--5 {
        width: 150px;
        height: 150px;
    }

}

/* =============================================================================
   Hero Responsive - Tablet
============================================================================= */

@media (max-width: 992px) {

    .hero__wrapper {

        grid-template-columns: 1fr;

        gap: 5rem;

        text-align: center;

    }

    .hero__content {

        max-width: 100%;

        margin: 0 auto;

    }

    

    .hero__buttons {

        justify-content: center;

    }

    .hero__visual {

        justify-content: center;

        min-height: 520px;

    }

    .hero-tech {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    .hero-tech__label {

        justify-content: center;

    }

}

/* =============================================================================
   Hero Responsive - Mobile
============================================================================= */

@media (max-width: 768px) {

    .hero {

        padding: 8rem 0 4rem;

    }

    .hero__eyebrow {

        justify-content: center;

    }

    .hero__heading {

        font-size: clamp(2.8rem, 11vw, 4rem);

        line-height: 1.05;

    }

    .hero__description {

        font-size: 1rem;

    }

    .hero__buttons {

        flex-direction: column;

        width: 100%;

    }

    .hero__buttons .btn {

        /* width: 100%; */

        justify-content: center;

    }

    .hero-card {

        max-width: 100%;

    }

    .hero__visual {

        min-height: 430px;

    }

    .hero__visual-decoration {

        transform: scale(.82);

    }

    .hero-tech {

        margin-top: 4rem;

        padding: 2rem 0;

    }

    .hero-tech__track {

        gap: 2.5rem;

    }

}

