/* SCHS Container - Styles Premium */

/* Variables CSS personnalisées */
:root {
    --schs-primary: #0f172a;
    --schs-secondary: #1e293b;
    --schs-accent: #1e40af;
    --schs-gold: #fbbf24;
    --schs-silver: #64748b;
    --schs-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --schs-glow: 0 0 20px rgba(30, 64, 175, 0.3);
    --schs-gold-glow: 0 0 15px rgba(251, 191, 36, 0.4);
}

/* Animations SCHS Container */
@keyframes schs-pulse {
    0%, 100% {
        box-shadow: var(--schs-glow);
    }
    50% {
        box-shadow: var(--schs-glow), var(--schs-gold-glow);
    }
}

@keyframes schs-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes schs-glow-text {
    0%, 100% {
        text-shadow: 0 0 5px rgba(30, 64, 175, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(30, 64, 175, 0.8), 0 0 30px rgba(251, 191, 36, 0.3);
    }
}

/* Classes utilitaires SCHS */
.schs-glow {
    animation: schs-pulse 2s ease-in-out infinite;
}

.schs-float {
    animation: schs-float 6s ease-in-out infinite;
}

.schs-glow-text {
    animation: schs-glow-text 3s ease-in-out infinite;
}

/* Effets de survol avancés */
.schs-hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.schs-hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4), 0 0 30px rgba(30, 64, 175, 0.2);
}

/* Boutons SCHS Container */
.schs-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--schs-accent), var(--schs-primary));
    border: 1px solid var(--schs-gold);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.schs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    transition: left 0.6s ease;
}

.schs-btn:hover::before {
    left: 100%;
}

.schs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4), 0 0 20px rgba(251, 191, 36, 0.3);
    border-color: var(--schs-gold);
}

/* Cartes SCHS Container */
.schs-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.schs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--schs-gold), var(--schs-accent), var(--schs-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.schs-card:hover::before {
    transform: scaleX(1);
}

.schs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3), 0 0 30px rgba(30, 64, 175, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

/* Responsive SCHS Container */
@media (max-width: 768px) {
    .schs-card {
        margin-bottom: 1.5rem;
    }
    
    .schs-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .schs-card {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1025px) {
    .schs-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Effets de particules SCHS */
.schs-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.6) 0%, rgba(251, 191, 36, 0.3) 100%);
    animation: schs-float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.4);
}

/* Loading SCHS Container */
.schs-loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(30, 64, 175, 0.3);
    border-top: 3px solid var(--schs-gold);
    border-radius: 50%;
    animation: schs-spin 1s linear infinite;
}

@keyframes schs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typography SCHS */
.schs-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--schs-gold), var(--schs-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation SCHS */
.schs-nav-link {
    position: relative;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.schs-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--schs-gold), var(--schs-accent));
    transition: width 0.3s ease;
}

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

.schs-nav-link:hover {
    color: var(--schs-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* SCHS Container Logo Responsive */
.schs-logo-container {
    position: relative;
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.schs-logo-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--schs-accent), var(--schs-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schs-logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.schs-logo-icon:hover::before {
    left: 100%;
}

.schs-logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5), 0 0 20px rgba(251, 191, 36, 0.3);
}

.schs-logo-svg {
    width: 32px;
    height: 32px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.schs-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 8px;
    fill: white;
}

.schs-logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.schs-logo-text-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.schs-logo-text-accent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: var(--schs-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    margin-top: -2px;
}

/* Mobile Logo */
.schs-logo-container-mobile {
    position: relative;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.schs-logo-icon-mobile {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--schs-accent), var(--schs-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schs-logo-icon-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.schs-logo-icon-mobile:hover::before {
    left: 100%;
}

.schs-logo-svg-mobile {
    width: 26px;
    height: 26px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.schs-logo-text-mobile {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 6px;
    fill: white;
}

.schs-logo-text-container-mobile {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.schs-logo-text-main-mobile {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.schs-logo-text-accent-mobile {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: var(--schs-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    margin-top: -2px;
}

/* Responsive Logo Adjustments */
@media (max-width: 640px) {
    .schs-logo-container {
        width: 40px;
        height: 40px;
    }
    
    .schs-logo-svg {
        width: 26px;
        height: 26px;
    }
    
    .schs-logo-text-main {
        font-size: 16px;
    }
    
    .schs-logo-text-accent {
        font-size: 10px;
    }
    
    .schs-logo-text-container {
        display: none; /* Hide text on very small screens */
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .schs-logo-container {
        width: 44px;
        height: 44px;
    }
    
    .schs-logo-svg {
        width: 28px;
        height: 28px;
    }
    
    .schs-logo-text-main {
        font-size: 17px;
    }
    
    .schs-logo-text-accent {
        font-size: 11px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .schs-logo-container {
        width: 46px;
        height: 46px;
    }
    
    .schs-logo-svg {
        width: 30px;
        height: 30px;
    }
    
    .schs-logo-text-main {
        font-size: 18px;
    }
    
    .schs-logo-text-accent {
        font-size: 12px;
    }
}

@media (min-width: 1025px) {
    .schs-logo-container {
        width: 48px;
        height: 48px;
    }
    
    .schs-logo-svg {
        width: 32px;
        height: 32px;
    }
    
    .schs-logo-text-main {
        font-size: 20px;
    }
    
    .schs-logo-text-accent {
        font-size: 13px;
    }
}

@media (min-width: 1440px) {
    .schs-logo-container {
        width: 52px;
        height: 52px;
    }
    
    .schs-logo-svg {
        width: 36px;
        height: 36px;
    }
    
    .schs-logo-text-main {
        font-size: 22px;
    }
    
    .schs-logo-text-accent {
        font-size: 14px;
    }
}
