/* ==========================================
   GV1579 Portfolio
   Main Stylesheet
========================================== */

:root{

    --background:#090909;
    --surface:#111111;
    --surface-light:#181818;

    --border:rgba(255,255,255,.08);

    --text:#ffffff;
    --text-secondary:#9e9e9e;

    --blue:#5EA8FF;

    --radius:22px;

    --transition:.28s cubic-bezier(.4,0,.2,1);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

}

/* ==========================================
   Selection
========================================== */

::selection{

    background:white;
    color:black;

}

/* ==========================================
   Scrollbar
========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0b0b0b;

}

::-webkit-scrollbar-thumb{

    background:#2f2f2f;

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#444;

}

/* ==========================================
   Animated Background
========================================== */

.background{

    position:fixed;

    inset:0;

    z-index:-5;

    background:
    radial-gradient(circle at top left,#202020 0%,transparent 40%),
    radial-gradient(circle at bottom right,#171717 0%,transparent 40%),
    #090909;

}

/* floating glow */

.gradient{

    position:fixed;

    width:900px;
    height:900px;

    background:radial-gradient(circle,
    rgba(255,255,255,.05),
    transparent 70%);

    left:50%;
    top:-500px;

    transform:translateX(-50%);

    filter:blur(80px);

    pointer-events:none;

    animation:floatGlow 12s ease-in-out infinite;

    z-index:-4;

}

@keyframes floatGlow{

    0%{

        transform:
        translateX(-50%)
        translateY(0px);

    }

    50%{

        transform:
        translateX(-50%)
        translateY(60px);

    }

    100%{

        transform:
        translateX(-50%)
        translateY(0px);

    }

}

/* ==========================================
   Typography
========================================== */

h1{

    font-size:72px;

    font-weight:800;

    letter-spacing:-3px;

}

h2{

    font-size:38px;

    font-weight:700;

}

h3{

    font-size:22px;

    font-weight:600;

}

p{

    line-height:1.7;

    color:var(--text-secondary);

}

a{

    color:inherit;

    text-decoration:none;

}

/* ==========================================
   Hero
========================================== */

.hero{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:40px;

}

.hero-label{

    color:#6d6d6d;

    font-size:13px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.hero h1{

    margin-bottom:18px;

}

.hero-text{

    max-width:720px;

    font-size:20px;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

/* ==========================================
   Buttons
========================================== */

.button{

    padding:15px 34px;

    border-radius:999px;

    transition:var(--transition);

    font-weight:600;

}

.primary{

    background:white;

    color:black;

}

.primary:hover{

    transform:translateY(-4px);

    box-shadow:

    0 15px 40px rgba(255,255,255,.15);

}

.secondary{

    background:#161616;

    border:1px solid var(--border);

}

.secondary:hover{

    background:#202020;

    transform:translateY(-4px);

}

/* ==========================================
   Section
========================================== */

section{

    width:min(1150px,92%);

    margin:auto;

    padding:100px 0;

}

/* ==========================================
   Skills
========================================== */

.skills{

    overflow:hidden;

}

.marquee{

    width:100%;

    overflow:hidden;

    border-top:1px solid var(--border);

    border-bottom:1px solid var(--border);

    padding:24px 0;

}

.marquee-track{

    display:flex;

    width:max-content;

    gap:34px;

    animation:marquee 28s linear infinite;

}

.marquee:hover .marquee-track{

    animation-play-state:paused;

}

.marquee span{

    font-size:22px;

    font-weight:600;

    color:#d4d4d4;

}

@keyframes marquee{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}

/* ==========================================
   Work Experience
========================================== */

.section-heading{

    margin-bottom:60px;

}

.section-label{

    color:#777;

    font-size:13px;

    letter-spacing:3px;

    font-weight:700;

    margin-bottom:12px;

}

.experience-list{

    display:flex;

    flex-direction:column;

}

.experience-item{

    border-top:1px solid rgba(255,255,255,.08);

}

.experience-item:last-child{

    border-bottom:1px solid rgba(255,255,255,.08);

}

.experience-toggle{

    width:100%;

    background:none;

    border:none;

    color:white;

    cursor:pointer;

    padding:34px 0;

    display:flex;

    justify-content:space-between;

    align-items:center;

    transition:.25s;

}

.experience-toggle:hover{

    background:rgba(255,255,255,.015);

}

.experience-left{

    display:flex;

    align-items:center;

    gap:22px;

}

.company-logo{

    width:72px;

    height:72px;

    object-fit:contain;

    flex-shrink:0;

    border-radius:18px;

    background:#161616;

    padding:8px;

}

.experience-info h3{

    font-size:28px;

    margin-bottom:6px;

}

.experience-info p{

    color:#909090;

    font-size:18px;

}

.experience-right{

    display:flex;

    align-items:center;

    gap:24px;

}

.arrow{

    width:42px;

    height:42px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#161616;

    transition:.3s;

}

.experience-item.open .arrow{

    transform:rotate(180deg);

    background:white;

    color:black;

}

.experience-content{

    display:grid;

    grid-template-rows:0fr;

    transition:grid-template-rows .4s ease;

}

.experience-item.open .experience-content{

    grid-template-rows:1fr;

}

.experience-inner{

    overflow:hidden;

    padding-left:94px;

    padding-bottom:0;

}

.experience-item.open .experience-inner{

    padding-bottom:40px;

}

.experience-inner p{

    max-width:700px;

    margin-bottom:28px;

    font-size:18px;

}

/* ==========================================
   Visit Button
========================================== */

.visit-button{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:14px 32px;

    border-radius:999px;

    background:white;

    color:black;

    font-weight:600;

    transition:var(--transition);

}

.visit-button:hover{

    transform:translateY(-4px);

    box-shadow:

    0 18px 50px rgba(255,255,255,.15);

}

/* ==========================================
   Contact
========================================== */

.contact{

    display:flex;

    justify-content:center;

    padding-top:180px;

    padding-bottom:220px;

}

.contact-card{

    width:min(700px,100%);

    background:#111;

    border:1px solid var(--border);

    border-radius:28px;

    padding:55px;

    text-align:center;

}

.contact-card h2{

    margin-bottom:18px;

}

.contact-card p{

    font-size:18px;

    margin-bottom:26px;

}

.email{

    display:inline-block;

    color:#5EA8FF;

    margin-bottom:32px;

    font-size:18px;

}

.email:hover{

    color:white;

}

.contact-button{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:190px;

    height:56px;

    border-radius:999px;

    background:white;

    color:black;

    font-weight:700;

    transition:var(--transition);

}

.contact-button:hover{

    transform:translateY(-4px);

    box-shadow:

    0 18px 50px rgba(255,255,255,.15);

}

/* ==========================================
   Floating Dock
========================================== */

.dock{

    position:fixed;

    left:50%;

    bottom:34px;

    transform:translateX(-50%);

    display:flex;

    align-items:center;

    gap:18px;

    padding:14px 20px;

    border-radius:999px;

    background:rgba(18,18,18,.72);

    backdrop-filter:blur(28px);

    -webkit-backdrop-filter:blur(28px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

    0 18px 60px rgba(0,0,0,.45);

    z-index:999;

}

.dock a{

    width:64px;

    height:64px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:var(--transition);

}

.dock a:hover{

    background:#202020;

    transform:translateY(-4px);

}

.divider{

    width:1px;

    height:42px;

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

}

.dock-icon{

    width:30px;

    height:30px;

    object-fit:contain;

    object-position:center;

    display:block;

}

/* Hardcoded icon sizing.
   Every SVG/PNG will automatically
   display correctly. */

/* ==========================================
   Hover Animations
========================================== */

.company-logo{

    transition:transform .35s ease;

}

.experience-toggle:hover .company-logo{

    transform:scale(1.05);

}

.experience-toggle:hover h3{

    color:white;

}

.experience-toggle:hover .arrow{

    color:white;

}

/* ==========================================
   Hero Entrance Animation
========================================== */

.hero>*{

    opacity:0;

    transform:translateY(40px);

    animation:heroFade .9s forwards;

}

.hero-label{

    animation-delay:.1s;

}

.hero h1{

    animation-delay:.25s;

}

.hero-text{

    animation-delay:.45s;

}

.hero-buttons{

    animation-delay:.65s;

}

@keyframes heroFade{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* ==========================================
   Fade In Sections
========================================== */

.fade{

    opacity:0;

    transform:translateY(50px);

    transition:

    opacity .8s ease,

    transform .8s ease;

}

.fade.visible{

    opacity:1;

    transform:translateY(0);

}

/* ==========================================
   Better Button Hover
========================================== */

.button,
.visit-button,
.contact-button{

    position:relative;

    overflow:hidden;

}

.button::before,
.visit-button::before,
.contact-button::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform:translateX(-130%);

    transition:.7s;

}

.button:hover::before,
.visit-button:hover::before,
.contact-button:hover::before{

    transform:translateX(130%);

}

/* ==========================================
   Smooth Dock Hover
========================================== */

.dock{

    transition:

    transform .35s ease,

    background .35s ease,

    box-shadow .35s ease;

}

.dock:hover{

    transform:

    translateX(-50%)

    translateY(-4px);

    box-shadow:

    0 24px 80px rgba(0,0,0,.55);

}

.dock a{

    position:relative;

}

.dock a::after{

    content:"";

    position:absolute;

    width:0;

    height:0;

    border-radius:50%;

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

    transition:.3s;

}

.dock a:hover::after{

    width:64px;

    height:64px;

}

/* ==========================================
   Better Logo Styling
========================================== */

.company-logo{

    background:#171717;

    padding:7px;

    border:

    1px solid rgba(255,255,255,.05);

}

/* ==========================================
   Experience Hover
========================================== */

.experience-item{

    transition:.35s;

}

.experience-item:hover{

    background:

    rgba(255,255,255,.015);

}

.experience-left h3{

    transition:.25s;

}

.experience-left p{

    transition:.25s;

}

.experience-toggle:hover p{

    color:#b5b5b5;

}

/* ==========================================
   Contact Card Hover
========================================== */

.contact-card{

    transition:

    .35s;

}

.contact-card:hover{

    transform:translateY(-6px);

    border-color:

    rgba(255,255,255,.12);

}

/* ==========================================
   Responsive
========================================== */

@media(max-width:1000px){

.hero{

padding:90px 25px;

}

.hero h1{

font-size:58px;

}

.hero-text{

font-size:18px;

}

.experience-toggle{

flex-direction:column;

align-items:flex-start;

gap:22px;

}

.experience-right{

width:100%;

justify-content:space-between;

padding-left:96px;

}

.contact-card{

padding:45px 30px;

}

}

@media(max-width:700px){

section{

width:92%;

}

.hero{

min-height:85vh;

}

.hero h1{

font-size:44px;

letter-spacing:-2px;

}

.hero-text{

font-size:17px;

}

.hero-buttons{

width:100%;

flex-direction:column;

}

.button{

width:100%;

text-align:center;

}

.experience-left{

gap:18px;

}

.company-logo{

width:60px;
height:60px;

min-width:60px;
min-height:60px;

}

.experience-left h3{

font-size:22px;

}

.experience-left p{

font-size:16px;

}

.experience-right{

padding-left:78px;

}

.experience-right span{

font-size:16px;

}

.experience-content{

padding-left:78px;

}

.contact-card{

padding:35px 24px;

}

.contact-card h2{

font-size:32px;

}

.contact-card p{

font-size:16px;

}

}

/* Floating dock on phones */

@media(max-width:650px){

.dock{

gap:10px;

padding:10px 14px;

bottom:18px;

}

.dock a{

width:52px;
height:52px;

}

.dock-icon{

width:24px;
height:24px;

}

.divider{

height:32px;

}

}

/* ==========================================
   Prevent Large Images
========================================== */

img{

display:block;

max-width:100%;

user-select:none;

-webkit-user-drag:none;

}

/* ==========================================
   Utility
========================================== */

.hidden{

display:none;

}

.center{

display:flex;

justify-content:center;

align-items:center;

}

html{

scroll-padding-top:80px;

}

/* ==========================================
   End of Stylesheet
========================================== */

/* ==========================================
   404 Page
========================================== */

.error-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

.error-container{

    text-align:center;

    max-width:700px;

}

.error-code{

    font-size:140px;

    font-weight:900;

    color:white;

    line-height:1;

    letter-spacing:-8px;

    margin-bottom:20px;

}

.error-page h1{

    margin-bottom:20px;

}

.error-description{

    font-size:20px;

    max-width:520px;

    margin:auto;

    margin-bottom:40px;

}

.error-buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

@media(max-width:700px){

.error-code{

font-size:90px;

}

.error-page h1{

font-size:38px;

}

.error-description{

font-size:17px;

}

}

/* ==========================================
   Projects
========================================== */

.projects{

    padding-top:150px;

}

.project-grid{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(340px,1fr));

    gap:28px;

}

.project-card{

    background:#111;

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:32px;

    transition:.3s;

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:

    rgba(255,255,255,.15);

    box-shadow:

    0 30px 80px rgba(0,0,0,.35);

}

.project-header{

    display:flex;

    justify-content:flex-end;

    margin-bottom:30px;

}

.project-status{

    background:#181818;

    border:1px solid rgba(255,255,255,.06);

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    color:#9e9e9e;

}

.project-card h3{

    font-size:28px;

    margin-bottom:18px;

}

.project-card p{

    margin-bottom:30px;

}

.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.project-tech span{

    background:#171717;

    padding:10px 16px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.05);

    font-size:14px;

    transition:.25s;

}

.project-tech span:hover{

    background:white;

    color:black;

}

/* ==========================================
   Premium Hero
========================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

.hero-content{

    position:relative;

    z-index:5;

    width:min(900px,92%);

    text-align:center;

}

.status-badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

    background:#151515;

    border:1px solid rgba(255,255,255,.08);

    border-radius:999px;

    padding:12px 22px;

    margin-bottom:35px;

    font-size:14px;

    color:#d5d5d5;

}

.status-dot{

    width:10px;

    height:10px;

    background:#3BFF67;

    border-radius:50%;

    animation:pulse 2s infinite;

}

@keyframes pulse{

    0%{

        box-shadow:

        0 0 0 0 rgba(59,255,103,.7);

    }

    70%{

        box-shadow:

        0 0 0 12px rgba(59,255,103,0);

    }

    100%{

        box-shadow:

        0 0 0 0 rgba(59,255,103,0);

    }

}

.hero h1{

    font-size:96px;

    line-height:1;

    margin-bottom:14px;

    letter-spacing:-5px;

}

.hero h2{

    color:#9b9b9b;

    font-size:34px;

    font-weight:500;

    margin-bottom:28px;

}

.hero p{

    max-width:720px;

    margin:auto;

    font-size:22px;

    margin-bottom:42px;

}

.hero-grid{

    position:absolute;

    inset:0;

    background-image:

        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),

        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);

    background-size:50px 50px;

    mask-image:radial-gradient(circle,black 20%,transparent 85%);

    opacity:.6;

}

.hero-glow{

    position:absolute;

    width:700px;

    height:700px;

    background:

    radial-gradient(circle,

    rgba(255,255,255,.09),

    transparent 70%);

    filter:blur(80px);

    pointer-events:none;

}

.scroll-indicator{

    position:absolute;

    bottom:120px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-indicator span{

    display:block;

    width:2px;

    height:70px;

    background:

    linear-gradient(

    white,

    transparent

    );

    animation:scroll 2s infinite;

}

@keyframes scroll{

    0%{

        opacity:.2;

        transform:translateY(-10px);

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:.2;

        transform:translateY(12px);

    }

}