/*==========================================================
    FILE: projects.css

    Athens B5G/6G Platform
    Projects Page
==========================================================*/


/*==========================================================
    VARIABLES
==========================================================*/

:root{

    --primary:#1E5EFF;

    --primary-dark:#184ACC;

    --background:#F5F7FB;

    --card:#FFFFFF;

    --text:#1E293B;

    --text-light:#64748B;

    --border:#E2E8F0;

    --shadow:0 12px 32px rgba(15,23,42,.08);

    --radius:18px;

}



/*==========================================================
    RESET
==========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}



body{

    background:var(--background);

    font-family:

        "Inter",

        "Segoe UI",

        sans-serif;

    color:var(--text);

}



/*==========================================================
    PAGE
==========================================================*/

.experience-page{

    width:min(1400px,94%);

    margin:auto;

    padding:

        70px
        0
        120px;

}



/*==========================================================
    HERO
==========================================================*/

.experience-hero{

    text-align:center;

    margin-bottom:10px;

}



.section-kicker{

    display:inline-block;

    color:var(--primary);

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:.9rem;

    font-weight:700;

    margin-bottom:18px;

}



.experience-hero h1{

    font-size:3rem;

    margin-bottom:24px;

}



.experience-hero p{

    max-width:760px;

    margin:auto;

    color:var(--text-light);

    line-height:1.8;

}



/*==========================================================
    TIMELINE
==========================================================*/

.timeline{

    position:relative;

}



.timeline-year{

    margin-bottom:90px;

}



/*==========================================================
    YEAR LABEL
==========================================================*/

.year-marker{

    text-align:flex-start;

    margin-bottom:30px;

}



.year-marker span{

    display:inline-block;

    padding:

        10px
        22px;

    background:white;

    border-radius:999px;

    font-weight:700;

    box-shadow:var(--shadow);

}



/*==========================================================
    ROW
==========================================================*/

.timeline-row{

    display:grid;

    grid-template-columns:
        
        80px
        /*1fr*/
        1fr;

    gap:28px;

}



/*==========================================================
    TIMELINE
==========================================================*/

.timeline-line{

    display:flex;

    justify-content:center;

    position:relative;

}



.timeline-line::before{

    content:"";

    position:absolute;

    top:0;

    bottom:0;

    width:6px;

    background:var(--primary);

    border-radius:999px;

}



.timeline-dot{

    width:22px;

    height:22px;

    background:var(--primary);

    border-radius:50%;

    border:5px solid white;

    z-index:2;

    margin-top:18px;

    box-shadow:0 0 0 4px rgba(30,94,255,.18);

}



/*==========================================================
    PARTNER COLUMNS
==========================================================*/
.partners-column{

    display:grid;

    grid-template-columns:
        1fr
        1fr;

    gap:26px;

}
.partner-column{

    display:flex;

    flex-direction:column;

    gap:26px;

}



.partner-column.left{

    align-items:flex-start;

}



.partner-column.right{

    align-items:flex-end;

}

/*==========================================================
    COMMON PROJECTS            !!!!UNUSED!!!!
==========================================================*/

.project-card-common{

    width:100%;

    display:flex;

    align-items:center;

    gap:22px;

    background:white;

    border-radius:var(--radius);

    margin-bottom:22px;
    
    box-shadow:var(--shadow);

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

    transition:

        transform .25s ease,

        box-shadow .25s ease;

}



.project-card-common:hover{

    transform:translateY(-6px);

    box-shadow:

        0 18px 40px rgba(15,23,42,.12);

}

/*==========================================================
    PROJECT CARD
==========================================================*/

.project-card{

    width:100%;

    display:flex;

    align-items:center;

    gap:22px;

    background: #DBE2E9;

    border-radius:var(--radius);

    padding:22px;

    box-shadow:var(--shadow);

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

    transition:

        transform .25s ease,

        box-shadow .25s ease;
    

}



.project-card:hover{

    transform:translateY(-6px);

    box-shadow:

        0 18px 40px rgba(15,23,42,.12);

}



/*==========================================================
    RIGHT SIDE CARD
==========================================================*/

.project-card.reverse{

    justify-content:space-between;

}



/*==========================================================
    LOGO
==========================================================*/

.project-logo{

    flex-shrink:0;

    width:90px;

    height:90px;

    display:flex;

    justify-content:center;

    align-items:center;

    /*background:#F8FAFC;*/
    background:#FFF;

    border-radius:16px;

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

}



.project-logo img{

    max-width:72px;

    max-height:72px;

    object-fit:contain;

}



/*==========================================================
    TEXT
==========================================================*/

.project-info{

    flex:1;

}



.project-info h3{

    font-size:1.2rem;

    margin-bottom:10px;

}



.project-info p{

    color:var(--text-light);

    line-height:1.65;

    margin-bottom:16px;

}



.project-info a{

    color:var(--primary);

    font-weight:600;

    text-decoration:none;

}



.project-info a:hover{

    color:var(--primary-dark);

}

/*==========================================================
    LARGE TABLETS
==========================================================*/

@media (max-width:1100px){

    .experience-page{

        width:96%;

    }



    .timeline-row{

        grid-template-columns:

            1fr
            60px
            1fr;

        gap:20px;

    }



    .project-card{

        max-width:100%;

    }



    .project-logo{

        width:80px;

        height:80px;

    }



    .project-logo img{

        max-width:60px;

        max-height:60px;

    }

}



/*==========================================================
    TABLETS
==========================================================*/

@media (max-width:850px){

    .experience-hero h1{

        font-size:2.4rem;

    }



    .experience-hero p{

        width:95%;

    }

}



/*==========================================================
    MOBILE
==========================================================*/

@media (max-width:768px){

    .timeline-row{

        display:grid;

        grid-template-columns:

            50px
            1fr;

        gap:25px;

    }



    .timeline-line{

        grid-column:1;

        grid-row:1;

        min-height:100%;

    }



    .partner-column.left,

    .partner-column.right{

        grid-column:2;

        align-items:stretch;

    }



    .partner-column.right{

        margin-top:25px;

    }



    .project-card,

    .project-card.reverse{

        max-width:none;

        width:100%;

        justify-content:flex-start;

    }



    .project-card.reverse{

        flex-direction:row;

    }



    .project-card.reverse .project-logo{

        order:0;

    }



    .project-card.reverse .project-info{

        order:1;

    }



    .timeline-line::before{

        left:50%;

        transform:translateX(-50%);

    }



    .timeline-dot{

        margin-top:10px;

    }

}



/*==========================================================
    SMALL PHONES
==========================================================*/

@media (max-width:600px){

    .experience-page{

        width:95%;

    }



    .experience-hero{

        margin-bottom:60px;

    }



    .experience-hero h1{

        font-size:2rem;

    }



    .project-card{

        padding:18px;

        gap:16px;

    }



    .project-logo{

        width:70px;

        height:70px;

    }



    .project-logo img{

        max-width:50px;

        max-height:50px;

    }



    .project-info h3{

        font-size:1.05rem;

    }



    .project-info p{

        font-size:.95rem;

    }



    .year-marker{

        margin-bottom:20px;

    }

}



/*==========================================================
    SCROLL ANIMATION
==========================================================*/

.timeline-year{

    opacity:0;

    transform:translateY(40px);

    transition:

        opacity .7s ease,

        transform .7s ease;

}



.timeline-year.visible{

    opacity:1;

    transform:translateY(0);

}



/*==========================================================
    ACCESSIBILITY
==========================================================*/

.project-card:focus-within{

    outline:3px solid var(--primary);

    outline-offset:4px;

}



/*==========================================================
    REDUCED MOTION
==========================================================*/

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}



/*==========================================================
    END OF FILE
==========================================================*/