/* ==========================================
   SPORTING CLUB MAS-THIBERT
   STYLE.CSS
   Conversion Tailwind -> CSS classique
========================================== */


/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

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

    background:#0A0F2D;

    color:white;

    min-height:100vh;

}


img{

    max-width:100%;

    display:block;

}


a{

    text-decoration:none;

    color:inherit;

}




/* ============================

   BRAND FONCTION 
=============================== */

.brand{

    display:flex;

    align-items:center;

    gap:12px;

}


.brand img{

    width:110px;

    height:110px;

    object-fit:contain;
  
    background:transparent;
  

}


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


:root{

    --navy:#0A0F2D;

    --navy-light:#151B40;

    --yellow:#FFD700;

    --white:#ffffff;

}



/* ==========================================
   CONTAINER
========================================== */


.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}





/* ==========================================
   NAVIGATION
========================================== */


.navbar{

    position:sticky;

    top:0;

    z-index:1000;

    height:80px;

    background:rgba(10,15,45,.95);

    backdrop-filter:blur(10px);

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

}



.nav-content{

    height:80px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}



.logo-text{

    font-family:"Arial Black",sans-serif;

    font-size:38px;

    font-style:italic;

    color:var(--yellow);

    letter-spacing:-2px;

}



.menu{

    display:flex;

    gap:30px;

}


.menu a{

    font-size:12px;

    font-weight:bold;

    text-transform:uppercase;

    letter-spacing:2px;

    transition:.3s;

}


.menu a:hover{

    color:var(--yellow);

}



.account-btn{

    background:var(--yellow);

    color:var(--navy);

    border:none;

    padding:14px 25px;

    font-size:12px;

    font-weight:bold;

    text-transform:uppercase;

    cursor:pointer;

    transition:.3s;

}



.account-btn:hover{

    background:white;

}





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


.hero{

    height:85vh;

    position:relative;

    display:flex;

    align-items:center;

    overflow:hidden;

}



.hero-background{

    position:absolute;

    inset:0;

}



.hero-background img{

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:.6;

}



.overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        to top,

        #0A0F2D,

        transparent,

        rgba(10,15,45,.5)

    );

}



.hero-content{

    position:relative;

    z-index:2;

}

.hero-title{

    display:flex;

    align-items:flex-start;

    justify-content:space-between;

    width:100%;

    gap:40px;

}


.hero-logo{

    position:absolute;

    top:-100px;

    right:-160px;

    width:500px;

    height:auto;

    object-fit:contain;

    filter:drop-shadow(0 15px 25px rgba(0,0,0,.6));

}



.season{

    display:inline-block;

    background:var(--yellow);

    color:var(--navy);

    padding:8px 14px;

    font-size:13px;

    font-weight:bold;

    margin-bottom:25px;

}



.hero h1{

    font-family:"Arial Black",sans-serif;

    font-size:clamp(50px,8vw,110px);

    line-height:.9;

    text-transform:uppercase;

    letter-spacing:-4px;

    margin-bottom:40px;

}



.hero h1 span{

    color:var(--yellow);

}



.buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}



.btn-white{

    background:white;

    color:var(--navy);

    padding:18px 35px;

    font-weight:bold;

    text-transform:uppercase;

    font-size:13px;

    transition:.3s;

}



.btn-white:hover{

    background:var(--yellow);

}



.btn-outline{

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

    padding:18px 35px;

    font-weight:bold;

    text-transform:uppercase;

    font-size:13px;

    transition:.3s;

}



.btn-outline:hover{

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

}

/* ==========================================
   PROCHAIN MATCH
========================================== */


.next-match{

    background:var(--yellow);

    color:var(--navy);

    padding:25px 0;

}



.match-bar{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

}



.next-title{

    font-size:12px;

    font-weight:bold;

    letter-spacing:2px;

    opacity:.6;

}



.teams{

    display:flex;

    align-items:center;

    gap:25px;

    font-family:"Arial Black",sans-serif;

    font-size:22px;

    text-transform:uppercase;

}



.teams strong{

    font-size:28px;

}



.date{

    font-size:13px;

    font-weight:bold;

    text-transform:uppercase;

    text-align:right;

}





/* ==========================================
   CONTENU
========================================== */


.content{

    padding-top:80px;

    padding-bottom:80px;

    display:grid;

    grid-template-columns:repeat(12,1fr);

    gap:50px;

}





/* TITRES SECTIONS */


section h2{

    display:flex;

    align-items:center;

    gap:15px;

    font-family:"Arial Black",sans-serif;

    font-size:28px;

    text-transform:uppercase;

    margin-bottom:35px;

}



section h2 span{

    width:5px;

    height:35px;

    background:var(--yellow);

    display:inline-block;

}





/* ==========================================
   RESULTATS
========================================== */


.results-section{

    grid-column:span 4;

}



.result-card{

    background:var(--navy-light);

    padding:25px;

    margin-bottom:15px;

    border-bottom:3px solid transparent;

    transition:.3s;

}



.result-card:hover{

    border-color:var(--yellow);

}



.competition{

    font-size:10px;

    color:rgba(255,255,255,.5);

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:20px;

}



.score-line{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    text-transform:uppercase;

    font-size:13px;

}



.score{

    font-family:"Arial Black",sans-serif;

    font-size:35px;

    color:var(--yellow);

}





/* ==========================================
   ACTUALITES
========================================== */


.news-section{

    grid-column:span 8;

}



.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

}



.section-header a{

    color:var(--yellow);

    font-size:12px;

    font-weight:bold;

    text-transform:uppercase;

    letter-spacing:2px;

}



.news-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}



.news-card{

    position:relative;

}



.news-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    margin-bottom:20px;

}



.news-card .tag{

    position:absolute;

    top:15px;

    left:15px;

    background:var(--yellow);

    color:var(--navy);

    padding:7px 12px;

    font-size:10px;

    font-weight:bold;

    text-transform:uppercase;

}



.news-card h3{

    font-size:22px;

    line-height:1.2;

    margin-bottom:12px;

    transition:.3s;

}



.news-card h3:hover{

    color:var(--yellow);

}



.news-card p{

    color:rgba(255,255,255,.6);

    font-size:14px;

}





/* ==========================================
   EQUIPE
========================================== */


.team-section{

    grid-column:span 12;

    padding-top:40px;

}



.players{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}



.player{

    height:420px;

    position:relative;

    overflow:hidden;

}



.player img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}



.player:hover img{

    transform:scale(1.05);

}



.player:after{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        transparent,

        var(--navy)

    );

}



.player-info{

    position:absolute;

    bottom:25px;

    left:25px;

    z-index:2;

}



.player-info strong{

    display:block;

    color:var(--yellow);

    font-family:"Arial Black",sans-serif;

    font-size:45px;

}



.player-info h3{

    font-size:22px;

    text-transform:uppercase;

}



.player-info p{

    font-size:11px;

    color:rgba(255,255,255,.6);

    text-transform:uppercase;

    letter-spacing:2px;

}

/* ==========================================
   SPONSORS
========================================== */


.sponsors{

    background:white;

    color:var(--navy);

    padding:45px 0;

}



.sponsor-list{

    display:flex;

    justify-content:space-around;

    align-items:center;

    flex-wrap:wrap;

    gap:40px;

    opacity:.45;

}



.sponsor-list div{

    font-family:"Arial Black",sans-serif;

    font-size:28px;

    font-style:italic;

}





/* ==========================================
   FOOTER
========================================== */


footer{

    background:var(--navy-light);

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

    padding:80px 0 30px;

}



.footer-content{

    text-align:center;

}



.footer-logo{

    font-family:"Arial Black",sans-serif;

    font-style:italic;

    color:var(--yellow);

    font-size:55px;

    margin-bottom:20px;

}



.footer-content p{

    color:rgba(255,255,255,.5);

    line-height:1.8;

    margin-bottom:30px;

}



.socials{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-bottom:40px;

}



.socials a{

    width:45px;

    height:45px;

    border-radius:50%;

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

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    transition:.3s;

}



.socials a:hover{

    background:var(--yellow);

    color:var(--navy);

}



.copyright{

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

    padding-top:25px;

    font-size:11px;

    color:rgba(255,255,255,.3);

    text-transform:uppercase;

    letter-spacing:2px;

}





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


.hero-content{

    animation:slideUp .7s ease forwards;

}



@keyframes slideUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}





/* ==========================================
   TABLETTES
========================================== */


@media(max-width:1000px){


.menu{

    display:none;

}


.content{

    display:block;

}



.results-section,
.news-section,
.team-section{

    width:100%;

    margin-bottom:60px;

}



.players{

    grid-template-columns:repeat(2,1fr);

}



.match-bar{

    flex-direction:column;

    text-align:center;

}



.date{

    text-align:center;

}



}





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


@media(max-width:600px){



.nav-content{

    padding:0 10px;

}



.logo-text{

    font-size:30px;

}



.account-btn{

    padding:12px 15px;

}



.hero{

    height:75vh;

}



.hero h1{

    font-size:45px;

}



.buttons{

    flex-direction:column;

}



.btn-white,
.btn-outline{

    text-align:center;

}



.teams{

    flex-direction:column;

    font-size:18px;

}



.news-grid{

    grid-template-columns:1fr;

}



.players{

    grid-template-columns:1fr;

}



.player{

    height:450px;

}



.sponsor-list div{

    font-size:22px;

}



}