/*
Theme Name: Riwal Portfolio
Theme URI: https://example.com
Author: Riwal Vincent
Description: Portfolio monteur vidéo & technicien audiovisuel
Version: 1.0
Text Domain: riwal-portfolio
*/

:root {
    --bg-main: #050505;
    --bg-card: #111111;
    --text-main: #ffffff;
    --text-muted: #cfcfcf;
    --accent-pink: #ff6b8b;
    --accent-blue: #00c4ff;
    --accent-gradient: linear-gradient(90deg, #ff6b8b, #00c4ff);
    --font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.site-header {
    background: #050505;
    border-bottom: 1px solid #151515;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.site-logo a {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

.site-logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: var(--text-main);
    font-size: 14px;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Titres */

.section-title {
    text-align: center;
    margin: 40px 0 24px;
    font-size: 32px;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Boutons */

.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-gradient:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* HERO Accueil */

.hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.hero-title {
    font-size: 40px;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Grilles compétences */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.skill-block h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.skill-block p {
    font-size: 14px;
    color: var(--text-muted);
}

.skill-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Réalisations */

.rea-wrapper {
    padding: 40px 0 60px;
}

.rea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.rea-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rea-card img {
    width: 100%;
    display: block;
}

.rea-meta {
    padding: 12px 16px 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.rea-meta strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
}

/* Compte rendus */

.cr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.cr-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
}

.cr-card img {
    width: 100%;
    display: block;
}

.cr-caption {
    padding: 8px 16px 12px;
    font-size: 13px;
    background: #000000;
}

/* Parcours : timeline */

.timeline {
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-bullet {
    position: absolute;
    left: -2px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--accent-gradient);
}

.timeline-content {
    padding-left: 24px;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* Bloc parcours brut */

.raw-journey {
    max-width: 900px;
    margin: 40px auto;
    font-size: 14px;
    color: var(--text-muted);
}

.raw-journey h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.raw-journey ul {
    padding-left: 20px;
}

.raw-journey li {
    margin-bottom: 6px;
}

/* Contact / CTA bas */

.section-cta {
    text-align: center;
    padding: 40px 0 60px;
}

/* Footer */

.site-footer {
    padding: 32px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid #151515;
}

/* Responsive */

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero-title {
        font-size: 30px;
    }
    .section-title {
        font-size: 26px;
    }
    .site-header-inner {
        flex-direction: column;
        gap: 8px;
    }
}
