
@font-face {
    font-family: 'F1 Black';
    src: url('./fonts/f1.display.black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'F1 Bold';
    src: url('./fonts/f1.bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'F1 Normal';
    src: url('./fonts/f1.normal.ttf') format('truetype');
    font-weight: normal;
}

/* GENEL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: #080808;
    color: white;
    font-family: 'F1 Normal', Arial, sans-serif;
}

/* HEADER */
header {
    width: 100%;
    min-height: 85px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #101010;
    border-bottom: 1px solid #292929;

    /* SABİT MENÜ */
    position: sticky;
    top: 0;
    z-index: 9999;
}

.logo {
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: 21px;
    white-space: nowrap;
    letter-spacing: 1.8px;
}

.logo span {
    color: #e10600;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 10px;
    transition: 0.3s;
}

nav a:hover {
    color: #e10600;
}

/* HERO */
.hero {
    min-height: 550px;
    padding: 65px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    background: linear-gradient(110deg, #080808, #151515);
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    color: #e10600;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: clamp(42px, 5vw, 75px);
    line-height: 0.98;
    letter-spacing: 2px;
}

.hero h1 span {
    color: #e10600;
}

.hero-content p {
    margin-top: 25px;
    color: #aaaaaa;
    font-size: 11px;
    letter-spacing: 1.5px;
    line-height: 1.8;
}

/* TAKIM SLIDER */
.team-slider {
    width: 100%;
    min-width: 0;
    background: #111111;
    border: 1px solid #333333;
    border-bottom: 3px solid #e10600;
    overflow: hidden;
    border-radius: 4px;
}

.slider-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #e10600 #222222;
    scroll-behavior: smooth;
}

.slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    text-align: center;
}

.slide img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: contain;
    background: #111111;
}

.team-name {
    min-height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
}

/* SLIDER KONTROLLERİ */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #292929;
}

.slider-controls button {
    width: 38px;
    height: 35px;
    background: #202020;
    color: white;
    border: 1px solid #444444;
    cursor: pointer;
    transition: 0.2s;
}

.slider-controls button:hover {
    background: #e10600;
    border-color: #e10600;
}

.slide-counter {
    color: #aaaaaa;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
}

/* BÖLÜMLER */
section:not(.hero) {
    padding: 65px 10%;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-title {
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: 27px;
    margin-bottom: 18px;
    border-left: 5px solid #e10600;
    padding-left: 15px;
}

.round-badge {
    background: #e10600;
    color: white;
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: 13px;
    padding: 12px 18px;
    letter-spacing: 1px;
}

.section-description {
    color: #999999;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

/* MEVCUT YARIŞ */
.current-race {
    min-height: 270px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(100deg, #171717, #0b0b0b);
    border: 1px solid #333333;
    border-left: 5px solid #e10600;
    border-radius: 4px;
}

.race-country {
    color: #e10600;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.race-info h2 {
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
}

.race-info p {
    margin-top: 15px;
    color: #aaaaaa;
    font-size: 12px;
    letter-spacing: 2px;
}

.race-line {
    width: 70px;
    height: 3px;
    background: #e10600;
    margin: 22px 0 15px;
}

.race-season {
    color: #777777;
    font-size: 10px;
    letter-spacing: 1px;
}

.race-number {
    text-align: center;
    padding: 20px;
}

.race-number span {
    display: block;
    color: #999999;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
}

.race-number strong {
    display: block;
    color: #e10600;
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: 100px;
    line-height: 1.1;
}

/* VİDEOLAR */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-card {
    background: #141414;
    border: 1px solid #303030;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
}

.video-card:hover {
    border-color: #e10600;
    transform: translateY(-4px);
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #090909;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1b1b1b, #090909);
}

.play-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e10600;
    border-radius: 50%;
    color: #e10600;
    font-size: 18px;
    padding-left: 3px;
}

.video-placeholder strong {
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: 19px;
    letter-spacing: 2px;
}

.video-placeholder > span:last-child {
    color: #888888;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
}

.video-info {
    padding: 20px;
}

.video-tag {
    color: #e10600;
    font-family: 'F1 Bold', Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.video-info h3 {
    margin-top: 12px;
    font-family: 'F1 Black', Arial, sans-serif;
    font-size: 20px;
}

.video-info p {
    margin-top: 10px;
    color: #999999;
    font-size: 11px;
}

/* PUAN DURUMU */
.race-card {
    background: #151515;
    border: 1px solid #292929;
    padding: 35px;
    border-radius: 5px;
}

.race-card p {
    color: #aaaaaa;
    font-size: 13px;
    line-height: 1.8;
}

/* FOOTER */
footer {
    padding: 35px 10%;
    background: #101010;
    border-top: 1px solid #292929;
    color: #777777;
    font-size: 11px;
    text-align: center;
}

footer .logo {
    margin-bottom: 15px;
}

footer span {
    color: #e10600;
}

/* MOBİL */
@media (max-width: 850px) {

    header {
        flex-direction: column;
        gap: 20px;
        padding: 25px 5%;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 7%;
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(45px, 10vw, 70px);
    }

    .slide img {
        height: 230px;
    }

    section:not(.hero) {
        padding: 45px 7%;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .race-number strong {
        font-size: 65px;
    }

    .current-race {
        padding: 22px;
    }
}

@media (max-width: 480px) {

    .section-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .round-badge {
        font-size: 10px;
        padding: 10px;
    }

    .race-number {
        padding: 5px;
    }

    .race-number strong {
        font-size: 48px;
    }
}
