/* === VARIABLES CSS === */						   
:root {
    --primary-color: #00ff88;
    --secondary-color: #00bfff;
    --accent-color: #ff00ff;
    --bg-dark: #0f0f23;
    --bg-secondary: #1a1a3e;
    --text-primary: #00ff88;
    --text-secondary: #00bfff;
    --font-main: 'Courier New', monospace;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--secondary-color);
}

/* Background Effects */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
    to {
        text-shadow: 0 0 30px var(--primary-color), 0 0 40px var(--primary-color);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 40px;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 10px;
    opacity: 0.8;
}

/* Navigation */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
}

.tab-button {
    padding: 12px 24px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 5px;
    position: relative;
    overflow: visible;
}

/* Ligne colorée au survol - similaire aux link-items */
.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 5px 5px 0 0;
    transition: width 0.5s ease;
}

.tab-button:hover::before,
.tab-button.active::before {
    width: 100%;
}

.tab-button:hover, 
.tab-button.active {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

/* Suppression de l'ancien ::after qui ne fonctionnait pas */
.tab-button::after {
    display: none;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Card Styles */
.card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.4);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.05);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Links Grid */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.link-item {
    background: rgba(0, 191, 255, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.link-item:hover::before {
    transform: translateX(0);
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.4);
}

.link-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    display: block;
    transition: color 0.3s ease;
}

.link-item a:hover {
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Service Area */
.service-area {
    text-align: center;
    color: var(--secondary-color);
    margin: 20px 0;
    font-style: italic;
}

/* PayPal Section */
.paypal-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 10px;
}

/* Terminal Prompt */
.terminal-prompt {
    color: var(--primary-color);
    font-weight: bold;
}

.terminal-prompt::before {
    content: '> ';
}

/* Phone List */
.phone-list {
    list-style: none;
    padding: 0;
}

.phone-list li {
    background: rgba(0, 191, 255, 0.1);
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

/* Important Text */
.important {
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 10px;
    }

    .card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .tab-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
