/* 🎯 Fonts */
@font-face {
    font-family: 'GE-SS';
    src: url('assets/fonts/GE-SS-Unique-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Jozoor';
    src: url('assets/fonts/Jozoor-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Assaf';
    src: url('assets/fonts/Assaf-Regular.ttf') format('truetype');
}
/* 🎨 Color System */
:root {
    --primary-bg: #101F31;
    --secondary-bg: #0A4360;
    --accent: #C8A858;
    --highlight: #1F6A87;
    --text: #FFFFFF;
    --text-soft: #dddddd;
}

/* Global */
body {
    margin: 0;
    font-family: 'Jozoor', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text);
}
h1, h2, h3 {
    font-family: 'GE-SS', sans-serif;
}
.english {
    font-family: 'Assaf', sans-serif;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: var(--secondary-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar h2 {
    font-size: 24px;
    color: var(--accent);
    letter-spacing: 1px;
    margin: 0;
}

.navbar a {
    margin: 0 15px;
    color: var(--text);
    text-decoration: none;
    transition: 0.3s;
}

.navbar a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    height: 100vh;
    background: url("assets/images/cover.jpg") no-repeat center/cover;
    position: relative;
    overflow: hidden;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(to bottom, rgba(16,31,49,0.5), rgba(0,0,0,0.8));

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

/* Hero Text */
.overlay h1 {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 15px;
}

.overlay p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
    color: var(--text-soft);
}

/* Button */
button {
    background: var(--accent);
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.3s;
}

button:hover {
    background: var(--highlight);
    color: var(--text);
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 80px 0;
    text-align: center;
}

/* Alternating Sections */
section:nth-child(even) {
    background: var(--secondary-bg);
}

/* Headings & Text */
h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent);
}

p {
    color: var(--text-soft);
}

/* Gallery */
.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.images img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    margin: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.images img:hover {
    transform: scale(1.05);
}

/* Videos */
.videos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.videos video {
    width: 300px;
    margin: 15px;
    border-radius: 10px;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Register */
.register {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form {
    width: 300px;
    display: flex;
    flex-direction: column;
}

.form input {
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.form button {
    margin-top: 15px;
}

/* Players */
.players-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Card */
.player-card {
    background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
    width: 260px;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-10px) scale(1.03);
}

/* Header */
.card-header h3 {
    margin: 0;
    color: var(--accent);
}

.position {
    display: inline-block;
    margin-top: 5px;
    background: var(--highlight);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* Body */
.card-body {
    margin: 15px 0;
}

.card-body p {
    margin: 5px 0;
}

/* Footer */
.card-footer a {
    display: inline-block;
    background: var(--accent);
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: 0.3s;
}

.card-footer a:hover {
    background: var(--highlight);
    color: var(--text);
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filters input,
.filters select {
    padding: 10px;
    border-radius: 5px;
    border: none;
}

/* Player Image */
.player-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid var(--accent);
}





/* About Hero */
.about-hero {
    height: 60vh;
    background: url("assets/images/cover.jpg") no-repeat center/cover;
    position: relative;
}

.about-logo {
    width: 150px;
    margin-bottom: 20px;
}




.team-grid {
       display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
    justify-content: center; 

}

.team-member {
    background: rgba(10, 67, 96, 0.6);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    transition: 0.3s;
        max-width: 220px;
    width: 100%;

}

.team-member:hover {
    background: var(--highlight);
    transform: translateY(-3px);
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--accent);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-bg);
    font-weight: bold;
    transition: 0.3s;
    font-family: 'GE-SS', sans-serif;
}

.contact-btn:hover {
    background: var(--highlight);
    color: var(--text);
}


html {
    scroll-behavior: smooth;
}


/* Supervisors Section */
.supervisor-text {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-soft);
    line-height: 1.8;
}

.supervisors-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.supervisor-card {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    text-align: center;
    transition: 0.3s;
}

.supervisor-card:hover {
    transform: translateY(-5px);
    background: var(--highlight);
}

.supervisor-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.supervisor-card p {
    color: var(--text-soft);
    font-size: 14px;
}

.role {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--accent);
}





/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.support-card {
    background: var(--secondary-bg);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
    background: var(--highlight);
}

.support-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 16px;
}

.support-card video {
    width: 100%;
    border-radius: 10px;
}


.card-body p {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-soft);
}

.hero button {
    margin-top: 25px;
}



/* Support Layout Rows */
.support-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* الصف التاني يكون في النص */
.support-row.center {
    justify-content: center;
}

/* Card */
.support-card {
    background: var(--secondary-bg);
    padding: 15px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
    transition: 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
    background: var(--highlight);
}

.support-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 15px;
}

.support-card video {
    width: 100%;
    border-radius: 10px;
}


/* Sponsors Section */
.sponsor-title {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent);
}

/* Grid */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

/* Logos */
.sponsors-grid img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.sponsors-grid img:hover {
    transform: scale(1.1);
}


/* Tournament Section */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px; 
    margin: 30px auto; 
}


.tournament-grid img {
    width: 100%;
    height: 180px; 
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.tournament-grid img:hover {
    transform: scale(1.04);
    filter: brightness(1.05);

}

.tournament h2 {
    margin-bottom: 25px;
}





/* Sponsor Page */

.sponsor-hero {
    height: 50vh;
    background: url("assets/images/cover.jpg") no-repeat center/cover;
    position: relative;
}

.sponsor-img {
    width: 200px;
    margin: 20px auto;
    display: block;
    border-radius: 12px;
}

.sponsor-content p {
    max-width: 700px;
    margin: 15px auto;
    line-height: 1.8;
    color: var(--text-soft);
}

.sponsor-sign {
    margin-top: 20px;
    color: var(--accent);
}

.hashtags {
    margin-top: 20px;
    color: var(--highlight);
}
.hint {
    display: block;
    font-size: 12px;
    color: var(--text-soft);
    margin-top: -5px;
    margin-bottom: 10px;
}


/* 📱 Mobile Responsive */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .navbar nav {
        margin-top: 10px;
    }

    .navbar a {
        display: block;
        margin: 5px 0;
    }

    /* Hero */
    .overlay h1 {
        font-size: 24px;
    }

    .overlay p {
        font-size: 16px;
    }

    /* Sections */
    section {
        padding: 40px 15px;
    }

    /* Images */
    .images img {
        width: 90%;
        height: auto;
    }

    /* Tournament */
    .tournament-grid {
        grid-template-columns: 1fr;
    }

    /* Videos */
    .support-row {
        flex-direction: column;
        align-items: center;
    }

    .video-wrapper {
        max-width: 100%;
    }

    /* Players */
    .players-container {
        flex-direction: column;
        align-items: center;
    }

    .player-card {
        width: 90%;
    }

    /* Form */
    .form {
        width: 90%;
    }

}

.overlay{
    height: 180;
    background: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("assets/images/cover.jpeg");
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        position: relative;


    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
        position: absolute;
            margin: 0;


}

