body{
    margin:0;
    padding:0;
    font-family: "Poppins", sans-serif;
}
/*-------------gia to home page---------*/
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url('pics/DSC_6352.JPG');
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
    background: transparent; 
    
}
.nav-links{
    flex:1;
    text-align: right;

}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13 px;
    
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display:block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover:after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;

}
.text-box h1{
    font-size: 52px;
    font-weight: 600;
    
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 24px;
    color: #fff;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    padding: 5px;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background-color: #f44336;
    transition: 1s;
}
nav .fa{
    display: none;
}



/*--------gia to show/hide tou menu----------*/
@media(max-width:700px){
    .text-box h1{
        font-size: 47px;
 }

.nav-links ul li{
    display: block;
}
.nav-links{
    position: absolute;
    background: #e53935;
    height: 100dvh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
}
nav .fa{
    display: block;
    color: #fff;
    margin: 10px;
    font-size:22px ;
    cursor: pointer;
}

.nav-links ul{
    padding: 30px;
}
}

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 24px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 31%;
    background:#fff3f3 ;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20 px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    font-size: 35px;
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow:0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}

/*-------gia to footer------*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

/*----------gia to about us page--------------*/  

.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("pics/DSC_6517.JPG");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}


.about-us {
    width: 80%;
    margin: auto;
    padding: 80px 0 50px 0;
}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


.about-col {
    flex-basis: 48%;
    padding: 30px 40px;
}


.about-col img {
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}


.about-col h1 {
    padding-top: 0;
    font-size: 28px;
    margin-bottom: 15px;
}


.about-col p {
    padding: 15px 0 25px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}


.about-us {
    background: linear-gradient(120deg, #f9f9f9, #fff);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}


/*--------gia na eni kalitera sto kinito------*/
@media (max-width: 768px) {
.row {
        flex-direction: column;
        gap: 30px;
}

.about-col {
        flex-basis: 100%;
        padding: 10px 0;
}

.about-col img {
        width: 100%;
}

.about-col h1 {
        font-size: 24px;
        text-align: center;
}

.about-col p {
        text-align: center;
        font-size: 15px;
}
}



/*------ gia to blog page-------*/
.sub-header2{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("pics/DSC_6573.JPG");
    background-position: center ;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.blog-content{
    width: 80%;
    margin:  auto;
    padding: 60px 0;
}


.row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row {
    display: flex;
    flex-direction: column;  /*----stacked for mobile----*/
    gap: 20px;
}

/*--------Desktop layout: just take full width-------*/
@media (min-width: 769px) {
    .row {
        flex-direction: row; 
    }

    .blog-right {
        flex: 1;             
    }
}

.match-card {
    width: 100%;      
    max-width: 400px;  
    padding: 20px;
    margin: 10px auto; 
}

/*-----Desktop: wider cards------*/
@media (min-width: 769px) {
    .match-card {
        width: 120%;      
        max-width: none; 
        margin: 20px auto;
    }
    .match-content {
    justify-content: space-between; 
    gap: 20px;
}
}

.blog-right{
    font-weight: 600;
    flex-basis: 32%;
}
.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px ;
    box-sizing: border-box;
}
.match-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.match-tournament {
    font-size: 14px;
    color: #8A8F98;
}

.match-status {
    font-size: 14px;
    font-weight: bold;
    color: #d72641;
}

.match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.team {
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.team-name {
    font-size: 16px;
    margin: 0;
}

.match-details {
    text-align: center;
    flex: 0.5;
}

.score {
    font-size: 32px;
    font-weight: bold;
    color: #1c2a38;
}

.match-date {
    font-size: 12px;
    color: #8A8F98;
    margin-top: 5px;
}
.score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/*--------Gia to score sto kinito--------*/
@media (max-width: 480px) { 

   
.match-card {
        width: 100%;
        padding: 16px;
}

   
.match-header {
        flex-direction: column;
        gap: 6px;
        text-align: center;
}

    
.match-status {
        order: -3; 
}

   
.match-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
}

    
.team {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
}

.team--home {
        order: -2; 
}

.team--away {
        order: 0; 
}

.team-logo {
        width: 42px;
        height: 42px;
        margin-bottom: 0;
}
    
.team-name {
        font-size: 15px;
}

   
.match-details {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        order: -2; 
        text-align: center;
}

.match-date {
        font-size: 11px;
        margin-top: 4px;
}

    
.score {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 28px;
        line-height: 1.1; 
}

.score-sep {
        font-size: 18px;
        opacity: 0.6;
}

    
.score-home,
.score-away {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
}

.score-home .score-logo {
        order: -1; 
        width: 42px;
        height: 42px;
}

.score-away .score-logo {
        order: 1; 
        width: 42px;
        height: 42px;
}
}
/*------gia na men fenete h ikona------*/

@media (max-width: 768px) {
    .blog-left img {
        display: none;
}
}
@media (max-width: 768px) {

.blog-container {
        display: flex;
        flex-direction: column;
}

.blog-right {
        order: -1; 
}
}
.scorer-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.scorer-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    transition:  0.3s;
}

.scorer-item:hover {
    background: #f5f5f5;
    cursor: pointer;
}
/* -------- Player details centered -------- */

.player-details {
    min-height: 100vh;
    display: flex;
    align-items: center;     
    justify-content: center;  
    background: #f9f9f9;
}

/* -------- Bigger centered player card -------- */

.player-card {
    background: #fff;
    padding: 60px;              
    border-radius: 20px;
    text-align: center;
    max-width: 550px;           
    width: 95%;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

/* Bigger name */
.player-card h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

/* Bigger details text */
.player-card p {
    font-size: 22px;
    margin: 14px 0;
}

/* Bigger button */
.back-btn {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 36px;
    font-size: 18px;
    background: #d32f2f;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s, transform 0.2s;
}
.back-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .player-card {
        padding: 35px;
    }

    .player-card h2 {
        font-size: 28px;
    }

    .player-card p {
        font-size: 18px;
    }
}
/* -------- Player stats grid -------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 30px;
    margin: 35px 0;
}

.stat {
    background: #f5f5f5;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1c2a38;
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /*-------2 columns-----------*/
    gap: 30px;
    margin: 35px 0;
}

.stat {
    background: #f5f5f5;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1c2a38;
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}


.team-stat {
    grid-column: 1 / -1; /*-------spans all columns-----*/
}
