/* Styles personnalisés pour la section formation */
.formation-section {
    padding: 0 0 4rem 0;
    margin: 0 auto;
    max-width: 1600px;
}

.formation-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

/* Style pour toutes les sections de contenu */
.content-with-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    padding: 0 4rem;
    margin: 2rem 0;
}

.text-content {
    flex: 1;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 700px;
    padding: 2rem;
}

.formation-image {
    flex: 1;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.large-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.formation-link {
    margin-top: 2rem;
}

.formation-link a {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.formation-link a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .content-with-image {
        padding: 0 2rem;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .content-with-image {
        flex-direction: column;
        padding: 0 1rem;
    }

    .text-content {
        height: auto;
        padding: 1rem;
    }

    .large-text {
        font-size: 1.2rem;
    }

    .formation-image {
        height: 400px;
        width: 100%;
    }
}

/* Styles pour les packs */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pack-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.pack-item:hover {
    transform: translateY(-5px);
}

.pack-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.pack-image:not([src]), 
.pack-image[src=""] {
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    position: relative;
}

.pack-image:not([src])::after, 
.pack-image[src=""]::after {
    content: "Photo à venir";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 1.1rem;
}

.pack-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pack-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.pack-price {
    font-size: 2rem;
    color: #5C2C0C;
    font-weight: bold;
}

.pack-description {
    color: #666;
    margin: 1rem 0;
    line-height: 1.6;
    text-align: center;
}

.pack-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pack-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pack-features li::before {
    content: "✓";
    color: #5C2C0C;
    font-weight: bold;
}

.pack-button {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #5C2C0C, #8B4513);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-top: 1.5rem;
}

.pack-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #8B4513, #5C2C0C);
}

@media (max-width: 768px) {
    .pack-grid {
        grid-template-columns: 1fr;
    }

    .pack-item {
        margin: 1rem;
    }
}

/* Style pour la section intro */
.intro-section {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    color: #5C2C0C;
    text-align: center;
    margin: 2rem 0;
}

/* Style pour le grand logo */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    min-height: 50px;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    height: 50px;
}

.logo {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 250px;
    margin-top: 25px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 2.1rem;
    font-family: 'Comfortaa', cursive;
    font-weight: 500;
    color: orange;
    text-transform: none;
    letter-spacing: 2px;
    margin-top: 25px;
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
    position: relative;
}

.logo-text::before {
    content: '★';
    font-size: 1rem;
    position: absolute;
    left: -20px;
    bottom: -5px;
    color: orange;
    animation: twinkle 2s infinite ease-in-out;
}

.logo-text::after {
    content: '★';
    font-size: 1.5rem;
    position: absolute;
    right: -25px;
    top: 0;
    color: orange;
    animation: twinkle 1.5s infinite ease-in-out;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-links button {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Effet de scroll */
.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-nav.scrolled .logo img {
    height: 200px;
    margin-top: 15px;
}

.glass-nav.scrolled .logo-text {
    margin-top: 15px;
}
