/**
 * Black Dog Kung Fu - Main CSS
 * Styles additionnels pour le thème
 *
 * @package BlackDog
 */

/* ==================== HEADER STYLES ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(13, 11, 9, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.light-mode .header {
    background: rgba(245, 243, 240, 0.95);
}

.header.hidden {
    transform: translateY(-100%);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 45px;
    width: auto;
    color: var(--text-primary);
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-text-line1 {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.logo-text-line2 {
    font-size: 0.95rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

.paw-icon {
    width: 16px;
    height: 16px;
    color: white;
}

.light-mode .paw-icon {
    color: var(--accent);
}

/* Navigation */
.nav {
    display: flex;
    gap: 30px;
    margin-left: 50px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--text-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.nav-cta {
    color: var(--accent) !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.8;
}

.search-btn,
.notif-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    position: relative;
    display: flex;
}

.search-btn:hover,
.notif-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2000;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-menu a.mobile-cta-link {
    color: var(--accent);
    font-weight: 600;
}

.mobile-menu-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ==================== FOOTER STYLES ==================== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 50px 40px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section.disabled a {
    color: var(--text-disabled);
    cursor: not-allowed;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--accent);
    color: white;
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.mode-btn {
    background: var(--bg-elevated);
    border: 2px solid transparent;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.mode-btn:hover {
    border-color: var(--border);
}

.mode-btn.active {
    border-color: var(--accent);
    background: var(--accent-light);
}

/* Language Flags */
.lang-flags {
    display: flex;
    gap: 10px;
}

.lang-flag {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lang-flag.active,
.lang-flag:hover {
    opacity: 1;
}

/* Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-disabled);
    font-size: 0.85rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 11, 9, 0.7) 0%,
        rgba(13, 11, 9, 0.5) 50%,
        rgba(13, 11, 9, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 100px 40px;
    background: var(--bg-card);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==================== DISCIPLINES SECTION ==================== */
.disciplines {
    padding: 100px 40px;
    background: var(--bg-primary);
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.discipline-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.discipline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.discipline-image {
    height: 200px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.discipline-content {
    padding: 30px;
}

.discipline-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.discipline-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.discipline-chinese {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 15px;
}

.discipline-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.discipline-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.discipline-link:hover {
    gap: 10px;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #7a1526 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
}

.cta-section .btn-primary {
    background: white;
    color: var(--accent);
    padding: 18px 40px;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
        margin-left: auto;
        order: 3;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features,
    .disciplines,
    .cta-section {
        padding: 60px 20px;
    }
    
    .features-grid,
    .disciplines-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .footer {
        padding: 40px 20px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links,
    .lang-flags,
    .mode-toggle {
        justify-content: center;
    }
}

/* ==================== ICÔNE PANIER ==================== */

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cart-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.cart-btn svg {
    width: 20px;
    height: 20px;
}

/* Badge compteur panier */
.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Animation pulse quand panier non vide */
.cart-btn:not(:empty) .cart-badge {
    animation: cart-pulse 2s ease-in-out infinite;
}

@keyframes cart-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ==================== LIEN ABONNEMENTS (CTA) ==================== */

.nav .nav-cta {
    color: var(--accent) !important;
    font-weight: 600 !important;
    transition: opacity 0.2s ease;
}

.nav .nav-cta:hover {
    opacity: 0.8;
    color: var(--accent) !important;
}

/* ==================== MENU MOBILE - PANIER ==================== */

.mobile-cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent) !important;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-cart-link:hover {
    opacity: 0.8;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .cart-btn {
        padding: 6px;
    }
    
    .cart-badge {
        min-width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
}




























