/* ===================================
   NEMUS CONSEIL - Custom Styles
   Blue color scheme with forest theme
   =================================== */

:root {
    /* Primary Blue Colors */
    --primary-blue: #0891B2;
    --primary-blue-dark: #0E7490;
    --primary-blue-darker: #155E75;
    --primary-blue-light: #06B6D4;
    --primary-blue-lighter: #22D3EE;

    /* Complementary Orange */
    --accent-orange: #F97316;
    --accent-orange-light: #FB923C;

    /* Neutral Colors */
    --dark-bg: #0F172A;
    --dark-bg-light: #1E293B;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-darker) 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0E7490 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Global Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar-item {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-item:hover {
    color: var(--primary-blue);
    background-color: transparent !important;
}

.navbar-item img {
    background-color: transparent !important;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 80%;
}

.navbar-item.is-active::after {
    width: 80%;
}

.navbar-item.is-active,
.navbar-item.is-active:hover {
    background-color: transparent !important;
    color: var(--text-dark) !important;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(8, 145, 178, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 116, 144, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    max-width: none;
    width: auto;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cta .button {
    background: var(--accent-orange);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.hero-cta .button:hover {
    background: var(--accent-orange-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

/* ===================================
   Section Styles
   =================================== */

.section {
    padding: 5rem 1.5rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background: var(--white);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--primary-blue);
    animation: pulse 3s ease-in-out infinite;
}

.about-text-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.about-text-box p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text-box strong {
    color: var(--primary-blue);
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--primary-blue);
    width: 20px;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* ===================================
   Compétences Section
   =================================== */

.competences-section {
    background: var(--light-bg);
}

.skills-category {
    margin-bottom: 3rem;
}

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-blue);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.skill-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Soft Skills Cards */

.soft-skill-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.soft-skill-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.soft-skill-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.soft-skill-card p {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

/* Tags Container */

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tag.is-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.tag.is-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Missions Section
   =================================== */

.experience-section {
    background: var(--white);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
    overflow: hidden;
}

.mission-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.mission-header {
    background: var(--light-bg);
    padding: 1.5rem;
    border-bottom: 2px solid var(--primary-blue);
}

.mission-header .title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.mission-period {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.mission-content {
    padding: 1.5rem;
}

.mission-section {
    margin-bottom: 1.5rem;
}

.mission-section h4 {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-section h4 i {
    font-size: 1.2rem;
}

.mission-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.mission-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: disc;
    color: var(--text-light);
}

.mission-section li {
    margin-bottom: 0.25rem;
}

/* Value Delivered Section */
.value-delivered {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(8, 145, 178, 0.05));
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--accent-orange);
    margin-top: 1.5rem;
}

.value-delivered h4 {
    color: var(--text-dark);
}

.value-list {
    list-style: none !important;
    margin-left: 0 !important;
}

.value-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.value-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-orange);
    font-size: 1rem;
}

.mission-card .tags {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
}

.tag.is-info.is-light {
    background-color: rgba(8, 145, 178, 0.1);
    color: var(--primary-blue-dark);
    border: 1px solid rgba(8, 145, 178, 0.2);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: var(--light-bg);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.contact-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.2;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 1.5rem;
}

.footer-link {
    color: var(--white);
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-blue-light);
    transform: translateY(-3px);
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.7);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(8, 145, 178, 0);
    }
}

/* Scroll Animations */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

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

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-logo {
        max-width: 150px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }
}