/* Variables personnalisées */
:root {
    --primary-color: #FFD700;
    --secondary-color: #4CAF50;
    --green: #4CAF50;
    --yellow: #FFD700;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --red: #ff4444;
    --blue: #0074d9;
    --white: #ffffff;
    --black: #000000;
    --klarkifou-color: #FF69B4;
    --secret-color: #8B008B;
}

/* Style général */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
}

/* Style pour les images */
.image-container {
    position: relative;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin: 1rem 0;
}

.image-container img {
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Style pour l'image de la section hero */
.hero-section .image-container img {
    max-height: 720px;
    margin-top: -24px;
    width: 100%;
    height: auto;
    transform: scale(0.8);
    transform-origin: center;
}

.image-container img:hover {
    transform: scale(1.05);
}

/* Klarkifou Easter Egg */
.klarkifou-secret {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--klarkifou-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    z-index: 1000;
}

/* Animation Klarkifou */
@keyframes klarkifou-fade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.klarkifou-secret.show {
    display: block;
    animation: klarkifou-fade 0.5s ease-out;
}

/* Police Minecraft */
.navbar-brand img {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.navbar-nav .nav-link {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: linear-gradient(45deg, var(--green), var(--yellow));
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(45deg, var(--green), var(--yellow));
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Navbar */
.navbar {
    background: linear-gradient(45deg, var(--primary-color), var(--klarkifou-color));
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar-logo {
    height: 30px;
    width: auto;
    margin: 0;
}

.navbar-brand img {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.navbar-brand span {
    white-space: nowrap;
}

.navbar-nav .nav-link {
    font-family: 'Press Start 2P', cursive !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    color: white !important;
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: linear-gradient(45deg, var(--green), var(--yellow));
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    text-decoration: none !important;
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(45deg, var(--green), var(--yellow));
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-decoration: none !important;
}

.navbar-brand img {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    margin-right: 10px;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Boutons Minecraft */
.btn-minecraft {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--green), var(--yellow));
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
    margin: 0 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-minecraft:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, var(--yellow), var(--green));
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--secondary-color) !important;
}

/* Cards */
.card {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-title {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Sections */
section {
    padding: 60px 0;
}

/* Footer */
footer {
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pixelate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-section {
    animation: fadeIn 1s ease-in;
}

/* Style géométrique */
.geometry-text {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 4px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 40px;
}

/* Style pixélisé */
.pixel-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: pixelate 0.5s ease-in-out infinite;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Palette Minecraft */
.btn-minecraft {
    background: linear-gradient(45deg, var(--green), var(--yellow));
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-minecraft:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, var(--yellow), var(--green));
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
    }
    
    .card {
        margin-bottom: 15px;
    }
}
