/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables - Turquoise & Gray Gradient Scheme */
:root {
    /* Turquoise Colors */
    --turquoise-light: #40E0D0;
    --turquoise-medium: #20B2AA;
    --turquoise-dark: #008B8B;
    --turquoise-deeper: #006666;
    
    /* Gray Colors */
    --gray-light: #F5F5F5;
    --gray-medium: #A0A0A0;
    --gray-dark: #505050;
    --gray-darker: #333333;
    
    /* Gradient Variables */
    --gradient-primary: linear-gradient(135deg, #40E0D0 0%, #20B2AA 50%, #808080 100%);
    --gradient-secondary: linear-gradient(45deg, #48D1CC 0%, #A0A0A0 100%);
    --gradient-header: linear-gradient(135deg, #008B8B 0%, #40E0D0 50%, #F5F5F5 100%);
    --gradient-hero: linear-gradient(135deg, rgba(64, 224, 208, 0.9) 0%, rgba(32, 178, 170, 0.9) 50%, rgba(128, 128, 128, 0.9) 100%);
    --gradient-card: linear-gradient(145deg, #F5F5F5 0%, #48D1CC 30%, #20B2AA 70%, #505050 100%);
    --gradient-button: linear-gradient(45deg, #20B2AA 0%, #40E0D0 50%, #A0A0A0 100%);
    --gradient-footer: linear-gradient(135deg, #008B8B 0%, #20B2AA 50%, #505050 100%);
    
    /* Other Variables */
    --white: #ffffff;
    --text-light: #ffffff;
    --shadow-light: 0 4px 15px rgba(64, 224, 208, 0.2);
    --shadow-medium: 0 8px 25px rgba(64, 224, 208, 0.3);
    --shadow-dark: 0 12px 35px rgba(64, 224, 208, 0.4);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-darker);
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: var(--gradient-header);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.logo-placeholder:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.logo-text:hover {
    color: var(--turquoise-light);
    text-shadow: 2px 2px 8px rgba(64, 224, 208, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover {
    color: var(--turquoise-light);
    background: rgba(64, 224, 208, 0.2);
    text-shadow: 2px 2px 4px rgba(64, 224, 208, 0.5);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(64, 224, 208, 0.2);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(0); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ffffff, #40E0D0);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.anchor-link {
    color: var(--turquoise-light);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.anchor-link:hover {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(64, 224, 208, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.8;
}

.hero-image-placeholder {
    max-width: 100%;
    height: 350px;
    background: var(--gradient-primary);
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(64, 224, 208, 0.5);
}

.placeholder-content {
    text-align: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.placeholder-text {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.placeholder-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Knowledge Section */
.football-knowledge-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto;
    border-radius: 2px;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.knowledge-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid rgba(64, 224, 208, 0.2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.knowledge-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.1) 0%, transparent 70%);
    transition: var(--transition);
    transform: scale(0);
}

.knowledge-card:hover::before {
    transform: scale(1);
}

.knowledge-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-dark);
    background: linear-gradient(145deg, #48D1CC 0%, #20B2AA 50%, #808080 100%);
}

.knowledge-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-image-placeholder.basics {
    background: linear-gradient(135deg, #48D1CC 0%, #20B2AA 100%);
}

.card-image-placeholder.formation {
    background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
}

.card-image-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.card-image-placeholder .placeholder-label {
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.card-image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.knowledge-card p {
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* Button Styles */
.btn {
    background: var(--gradient-button);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn:hover {
    background: linear-gradient(45deg, #40E0D0 0%, #20B2AA 50%, #D3D3D3 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--gradient-secondary);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-item h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--white);
    line-height: 1.6;
}

/* Social Media */
.social-media {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient-button);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(45deg, #40E0D0 0%, #ffffff 100%);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 224, 208, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(64, 224, 208, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise-medium);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--turquoise-light);
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a:hover {
    color: var(--turquoise-light);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(64, 224, 208, 0.3);
    margin-top: 2rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--gradient-header);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .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);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .social-icons {
        gap: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .knowledge-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.knowledge-card {
    animation: fadeInUp 0.6s ease forwards;
}

.knowledge-card:nth-child(even) {
    animation-delay: 0.1s;
}

.knowledge-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn:focus,
.social-link:focus,
input:focus,
textarea:focus {
    outline: 3px solid rgba(64, 224, 208, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .knowledge-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
} 