:root {
    --primaryR-color: #0a1f3a;
    --secondaryR-color: #1e3a5f;
    --accentR-color: #ff6b00;
    --textR-color: #ffffff;
    --lightR-bg: #0f2a4a;
    --cardR-bg: rgba(15, 42, 74, 0.7);
    --successR-color: #2ecc71;
    --warningR-color: #f39c12;
    --dangerR-color: #e74c3c;
}

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(180deg, #071122 0%, #081427 60%);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}*/

/* Page Container */
.page-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accentR-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.page-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.form-section {
    flex: 1;
    background-color: var(--cardR-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--secondaryR-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--secondaryR-color);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accentR-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.file-upload {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border: 1px dashed var(--secondaryR-color);
    border-radius: 4px;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: var(--accentR-color);
}

.file-upload input {
    display: none;
}

/* Info Section */
.info-section {
    flex: 0 0 300px;
    background-color: var(--cardR-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--secondaryR-color);
}

.tips-list {
    list-style: none;
    margin-bottom: 2rem;
}

.tips-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accentR-color);
    font-weight: bold;
}

.success-stories {
    margin-top: 2rem;
}

.story {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.story p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.story-author {
    text-align: right;
    font-weight: bold;
    color: var(--accentR-color);
}

/* Modal Styles */
/*.modalRecrut {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modalRecrut-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modalRecrut-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.modalRecrut-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.closeRecrut-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}*/

.infos{
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-form-container {
        flex-direction: column;
    }
    
    .info-section {
        flex: 1;
    }
}

@media (max-width: 768px) {
    
    .recruiter-profile {
        flex-direction: column;
    }
    
    .recruiter-image {
        flex: 0 0 auto;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .recruiter-stats {
        justify-content: center;
    }

    .infos{
        display: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .page-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .recruiter-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .infos{
        display: block;
    }

    .info{
        display: flex;
        gap: 2rem;
        margin: 1rem 0;
    }

    .stat-valu {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--secondary-color);
    }

    .stat-labe {
        font-size: 0.7rem;
        color: #aaaaaa;
    }
}

/* Pour tablette */
@media (max-width: 1024px) {
    .devPlayer img {
        max-width: 80%;
        height: auto;
    }
}

/* Pour mobile */
@media (max-width: 768px) {
    .devPlayer img {
        width: 120px;
        height: 300px; /* Hauteur fixe optionnelle pour mobile */
        object-fit: cover;
    }
}

/* Pour petits mobiles */
@media (max-width: 480px) {
    .devPlayer img {
        height: 250px;
        width: 100%;
    }
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.photo-item {
    position: relative;
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 14px;
}
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}
.upload-area:hover {
    border-color: #007bff;
    background: #f0f8ff;
}
.upload-area.dragover {
    border-color: #007bff;
    background-color: #e7f3ff;
}
.file-info {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}
.alert {
    display: none;
}

/* Devenir Recruteur Section */
.become-recruiter-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.recruiter-info {
    flex: 1;
    background-color: rgba(15, 42, 74, 0.7);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.recruiter-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.recruiter-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}


.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #aaaaaa;
}

.recruiter-form {
    flex: 0 0 400px;
    background-color: var(rgba(15, 42, 74, 0.7));
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.recruiter-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.note-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--secondary-color);
}

.note-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.note-header h2 {
    font-size: 1.8rem;
}

.note-content {
    line-height: 1.8;
}

.note-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.note-content ul {
    margin-left: -2rem;
    margin-bottom: 1.5rem;
}

.note-content li {
    margin-bottom: 0.8rem;
}

/* Styles pour le modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.modal-img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ff6b6b;
}

.image-info {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
    max-width: 80%;
}

.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.zoom-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.zoom-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.zoom-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    
    .modal-img {
        max-width: 95%;
        max-height: 70%;
    }
    
    .nav-buttons {
        padding: 0 10px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}