/* ============================================
   Les Vaillants Tailleurs — Site vitrine
   Couleurs basées sur le logo : orange + noir
   ============================================ */

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

:root {
    --bg-dark: #0d0d0d;
    --bg-section: #141414;
    --bg-card: #1e1e1e;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #e8891a;
    --accent-hover: #f5a623;
    --accent-glow: rgba(232, 137, 26, 0.15);
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
    --max-width: 1100px;
    --nav-height: 60px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 137, 26, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: bold;
    white-space: nowrap;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.7) 50%, var(--bg-dark) 100%),
                var(--bg-dark);
    padding: 2rem;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 40px var(--accent-glow);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* --- Sections --- */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: var(--bg-section);
}

h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0.75rem auto 0;
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --- Bio --- */
.bio-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.bio-content p + p {
    margin-top: 1rem;
}

/* --- Membres --- */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.member-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 137, 26, 0.2);
}

.member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #2a2a2a;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
}

.member-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.member-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* --- Musique --- */
.releases {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.release-card {
    text-align: center;
    max-width: 220px;
}

.release-cover {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}

.release-cover:hover {
    transform: scale(1.03);
}

.release-card h3 {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.music-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.music-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.music-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

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

.music-link-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- Boutique --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.shop-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    transition: transform 0.2s, border-color 0.2s;
    color: var(--text-main);
}

.shop-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    color: var(--text-main);
}

.shop-cover {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.shop-info h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.shop-cta {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.shop-card:hover .shop-cta {
    color: var(--accent-hover);
}

/* --- Photos / Galerie --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-card);
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
}

/* --- Contact --- */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent);
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

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

/* --- Footer --- */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(232, 137, 26, 0.1);
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-logo span {
        display: none;
    }

    .hero-logo {
        width: 130px;
        height: 130px;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

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

    .music-links {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    section {
        padding: 3.5rem 0;
    }
}

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

    .releases {
        gap: 1.5rem;
    }

    .release-cover {
        width: 160px;
        height: 160px;
    }
}
