/**
 * ╔══════════════════════════════════════════════════════════════════╗
 * ║  MiyabiCorp - Styles Principaux                                  ║
 * ║  Author: Nova | Lysandre PB                                      ║
 * ║  Created: 29-11-2025 | Last Modified: 04-12-2025                 ║
 * ║  Description: Feuille de styles principale du portfolio          ║
 * ╚══════════════════════════════════════════════════════════════════╝
 */

body {
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 20%);
}

/* Header / Nav → see common.css */

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px; /* clearance for fixed header */
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 550px;
    flex-shrink: 0;
}

.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
}

.faction-tag {
    font-size: 1rem;
    color: var(--ice-blue);
    border: 1px solid var(--ice-blue);
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 20px;
    background: rgba(174, 238, 255, 0.05);
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

#typing-text {
    color: var(--text-muted);
    font-size: 1rem;
    min-height: 1.6em;
    letter-spacing: 0.5px;
}

.character-img {
    max-height: 82vh;
    display: block;
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    opacity: 0.85;
    animation: float 7s ease-in-out infinite;
}

/* Scroll indicator */
/* --- Boutons --- */
.btn-zzz {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-blue);
    color: var(--bg-dark);
    font-weight: 700;
    transition: 0.3s;
    margin-top: 20px;
    text-transform: uppercase;
    border-radius: 2px;
}

.btn-zzz:hover {
    background: var(--ice-blue);
    transform: translateY(-2px);
}

/* --- Sections & Cards --- */
.container {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.glass-panel {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--primary-blue);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--accent-dark);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.project-card:hover {
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

.card-image {
    height: 150px;
    background: #1a1a1a;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content { padding: 20px; }

.link-text {
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-top: 10px;
    display: block;
}

/* --- Animations & Effects --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* .glitch-text — simplified to static */

/* --- Hero Small (Archives / Activités) --- */
.hero-small {
    height: 40vh;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
}

.hero-small h1 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin: 8px 0;
}

/* --- Card utilities --- */
.card-icon {
    height: 150px;
    background: #1a1a1a;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i { font-size: 3.5rem; color: var(--primary-blue); }
.card-icon.muted i { color: var(--text-faint); }

.btn-card {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: var(--text-faint);
    border-top: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero {
        justify-content: center;
        text-align: center;
        padding: 80px 5% 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .faction-tag {
        font-size: 0.8rem;
    }
}