/* =====================================================
   İLAN DETAY SAYFASI CSS
   Rehabis.tr - Modern İş İlanı Detay
===================================================== */

/* Hero Section */
.ilan-hero {
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    padding: 3rem 0;
    color: #fff;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.hero-left {
    flex: 1;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.company-logo {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text {
    flex: 1;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero-breadcrumb a:hover {
    opacity: 0.7;
}

.hero-breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badges span {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-featured {
    background: rgb(221 153 50);
    border: 2px solid rgba(245, 158, 11, 0.5);
}

.badge-urgent {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.5);
}

.badge-remote {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.5);
}

/* Hero Right */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.btn-apply, .btn-applied {
    padding: 1.2rem 3rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    white-space: nowrap;
}

.btn-apply {
    background: #fff;
    color: #0d9488;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-applied {
    background: rgb(199 255 236);
    border: 2px solid rgba(16, 185, 129, 0.5);
    color: #4a7821;
    cursor: not-allowed;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
	color: rebeccapurple;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.stat-item i {
    font-size: 1.2rem;
}

/* Content Section */
.ilan-content-section {
    padding: 3rem 0 5rem;
    background: #f8fafc;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

/* Content Main */
.content-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quick-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 15px;
    border-left: 4px solid #0d9488;
}

.info-box i {
    font-size: 1.75rem;
    color: #0d9488;
    flex-shrink: 0;
}

.info-box > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.info-value {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 700;
}

/* Content Card */
.content-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.content-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.content-card h2 i {
    color: #0d9488;
}

.content-text {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Lists */
.requirement-list, .benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-list li, .benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s;
}

.requirement-list li:hover, .benefit-list li:hover {
    background: rgba(13, 148, 136, 0.05);
    transform: translateX(5px);
}

.requirement-list li i {
    color: #10b981;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.benefit-list li i {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.requirement-list li span, .benefit-list li span {
    flex: 1;
    color: #1e293b;
    line-height: 1.6;
}

/* Address Box */
.address-box {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #0d9488;
}

.address-box p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: #0d9488;
}

/* Apply Card */
.apply-card {
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    color: #fff;
}

.apply-card h3 {
    color: #fff;
}

.apply-card h3 i {
    color: #fff;
}

.applied-status {
    text-align: center;
    padding: 2rem 0;
}

.applied-status i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.applied-status p {
    font-size: 1.05rem;
    opacity: 0.95;
}

.btn-apply-sidebar, .btn-my-applications {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    color: #0d9488;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-bottom: 1rem;
}

.btn-apply-sidebar:hover, .btn-my-applications:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.apply-note {
    font-size: 0.85rem;
    opacity: 0.9;
    text-align: center;
    margin: 0;
}

.apply-note i {
    margin-right: 0.5rem;
}

/* Company Card */
.company-info {
    text-align: center;
}

.company-logo-small {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #f8fafc;
    border-radius: 15px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.company-website {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d9488;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.company-website:hover {
    opacity: 0.7;
}

.btn-view-company {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-company:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

/* Info Card */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.info-item .label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.info-item .label i {
    color: #0d9488;
}

.info-item .value {
    font-weight: 700;
    color: #1e293b;
}

/* Share Card */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.btn-share {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-share.whatsapp { background: #25D366; }
.btn-share.facebook { background: #1877F2; }
.btn-share.twitter { background: #1DA1F2; }
.btn-share.linkedin { background: #0A66C2; }

/* Responsive */
@media (max-width: 1200px) {
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: -1;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
    }
    
    .hero-right {
        width: 100%;
        align-items: stretch;
    }
    
    .btn-apply, .btn-applied {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-left {
        flex-direction: column;
    }
    
    .company-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}