/**
 * Custom CSS for Job Dating Numérique Theme
 * Additional styles beyond the main style.css
 */

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #004499 100%);
    color: var(--color-white);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.page-header h1 {
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 18px;
    margin: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumbs a {
    color: var(--color-white);
}

.breadcrumbs .sep {
    margin: 0 10px;
}

/* ==========================================================================
   Info Section
   ========================================================================== */
.info-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background: var(--color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--color-white);
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--color-white);
    color: var(--color-secondary);
}

.cta-section .btn-primary:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

/* ==========================================================================
   Entreprises Filters
   ========================================================================== */
.entreprises-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   Placeholder Logo
   ========================================================================== */
.placeholder-logo {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.placeholder-logo span {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
}

/* ==========================================================================
   Entreprise Sidebar
   ========================================================================== */
.entreprise-sidebar {
    position: sticky;
    top: 100px;
}

.entreprise-logo-large {
    background: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.entreprise-info-card {
    background: var(--color-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.entreprise-info-card h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-secondary);
}

.info-row {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.info-row.competences .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: var(--color-light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    color: var(--color-dark);
}

.entreprise-cta {
    margin-top: 20px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Post Navigation
   ========================================================================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    display: block;
    padding: 20px;
    background: var(--color-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    max-width: 45%;
}

.post-navigation a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.post-navigation a:hover .nav-label {
    color: rgba(255,255,255,0.7);
}

.nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
}

.nav-next {
    text-align: right;
}

/* ==========================================================================
   Inscription Page
   ========================================================================== */
.inscription-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.inscription-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.inscription-type {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.inscription-type .type-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inscription-type.entreprise .type-icon {
    background: var(--color-secondary);
}

.inscription-type .type-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--color-white);
}

.inscription-type h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
}

.type-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.inscription-form-wrapper {
    max-width: 700px;
    margin: 0 auto 60px;
    background: var(--color-white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.inscription-form-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 5px;
}

.form-checkbox label {
    font-weight: normal;
    font-size: 14px;
}

/* ==========================================================================
   Section Footer
   ========================================================================== */
.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   Page Content
   ========================================================================== */
.page-content {
    padding: 40px 0 80px;
}

.page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* ==========================================================================
   No Results
   ========================================================================== */
.no-results,
.no-entreprises {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-white);
    border-radius: 10px;
    color: #666;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .inscription-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: 20px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-navigation a {
        max-width: 100%;
    }
    
    .inscription-form-wrapper {
        padding: 30px 20px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}
