/* 
* Positif Club FSEGN - Main Switch Stylesheet
* Colors: Light Blue (#4FC3F7), Dark Blue (#0277BD), Black (#121212)
* Font: 'Outfit', sans-serif
*/

:root {
    --primary-color: #4FC3F7;
    --secondary-color: #0277BD;
    --accent-color: #81D4FA;
    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --text-color: #FFFFFF;
    --text-muted: #B0BEC5;
    --white: #FFFFFF;
    --gradient-main: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.separator {
    width: 80px;
    height: 4px;
    background: var(--gradient-main);
    margin: 15px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(2, 119, 189, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 119, 189, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(18, 18, 18, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 60px;
    margin-right: 30px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 30%, rgba(2, 119, 189, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 195, 247, 0.3) 0%, transparent 50%),
        var(--dark-bg);
    background-blend-mode: screen;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.3), var(--dark-bg));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card:hover {
    transform: translateY(-10px);
    background: #252525;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.1);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-image {
    height: 200px;
    background-color: #333;
    /* Placeholder color */
    position: relative;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.team-member {
    transition: var(--transition);
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 220px;
    background-color: #333;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Partners Section */
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 200px;
    height: 120px;
    padding: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 700;
    opacity: 0.85;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    background: rgba(79, 195, 247, 0.06);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.1);
    transform: translateY(-4px);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

.designer-credit {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

/* Team Leader Section */
.team-leader {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    width: 100%;
}

.team-leader .team-member {
    text-align: center;
    transform: scale(1.1);
    /* Slightly larger for emphasis */
}

.team-leader .team-member .member-img {
    width: 180px;
    /* Larger image for leader */
    height: 180px;
    border-width: 4px;
    box-shadow: 0 10px 25px rgba(2, 119, 189, 0.3);
}

.team-leader .team-member h3 {
    font-size: 1.5rem;
    margin-top: 15px;
}

.team-leader .team-member span {
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Video modal (zoom) */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

.video-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-modal .modal-content {
    position: relative;
    z-index: 2001;
    max-width: 95vw;
    max-height: 95vh;
    width: min(1200px, 95%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal video {
    width: 100%;
    height: 220px;
    max-height: 90vh;
    border-radius: 8px;
    background: #000;
}

.video-modal .close-btn {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 2010;
    background: var(--dark-bg);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Team Year Title */
/* Team Year Title */
.team-year-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: -20px auto 40px;
    width: fit-content;
    position: relative;
    padding-bottom: 10px;
}

.team-year-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}