/* ======================================
   CAREERS PAGE STYLES
   Professional job posting design for ONE Sphere Solutions
====================================== */

/* Hero Section */
.careers-hero {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-gold) 100%);
    color: white;
    padding: 80px 0 50px 0;
    text-align: center;
   
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.careers-hero h1 {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.careers-hero p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.careers-main-content {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Company Overview Section */
.company-overview {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.company-overview h2 {
    color: var(--brand-blue);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.company-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Job Listings Section */
.job-listings {
    padding: 60px 0;
}

/* Modern Job Card Styles */
.modern-job-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.modern-job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Job Card Header */
.job-card-header {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1a2530 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.job-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.job-title-section {
    flex: 1;
    z-index: 2;
    position: relative;
}

.job-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.job-meta i {
    color: var(--brand-gold);
    font-size: 0.9rem;
}

.job-badge {
    z-index: 2;
    position: relative;
}

.status-badge {
    background: var(--brand-gold);
    color: var(--brand-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(217,164,66,0.3);
}

/* Job Card Body */
.job-card-body {
    padding: 0;
}

/* Job Sections */
.job-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.job-section:last-child {
    border-bottom: none;
}

.job-section h4 {
    color: var(--brand-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* Lists Styling */
.responsibilities-list,
.requirements-list,
.benefits-list {
    display: grid;
    gap: 12px;
}

.responsibility-item,
.requirement-item,
.benefit-item {
    background: #f8f9fa;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid var(--brand-gold);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition);
}

.responsibility-item:hover,
.requirement-item:hover,
.benefit-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Application Section */
.application-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin: 20px;
}

.contact-info {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-item i {
    color: var(--brand-gold);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--brand-gold);
}

/* Tip Section */
.tip-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 10px;
    margin: 20px;
    border: 1px solid #ffeaa7;
}

.tip-section h4 {
    color: #856404;
}

.tip-section p {
    color: #856404;
    font-style: italic;
}

/* Job Footer */
.job-footer {
    background: var(--brand-blue);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.job-footer p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-hero {
        padding: 60px 0 30px 0;
        margin-top: 50px;
    }
    
    .careers-hero h1 {
        font-size: 2.2rem;
    }
    
    .careers-hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .company-overview {
        padding: 40px 0;
    }
    
    .company-overview h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .company-overview p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .section-container {
        padding: 0 15px;
    }
    
    .job-card-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .job-title {
        font-size: 1.6rem;
    }
    
    .job-meta {
        justify-content: center;
        gap: 8px;
        flex-direction: column;
    }
    
    .job-meta span {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    .job-section {
        padding: 15px;
    }
    
    .job-section h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .anticipation-card {
        padding: 30px 15px;
        margin: 20px 0;
    }
    
    .anticipation-icon {
        font-size: 2.5rem;
    }
    
    .anticipation-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .anticipation-message {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .anticipation-cta {
        padding: 20px;
    }
    
    .anticipation-cta .contact-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .feature-item {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .feature-item i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .careers-hero {
        padding: 50px 0 25px 0;
        margin-top: 40px;
    }
    
    .careers-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .careers-hero p {
        font-size: 0.9rem;
    }
    
    .company-overview h2 {
        font-size: 1.5rem;
    }
    
    .section-container {
        padding: 0 10px;
    }
    
    .job-section {
        padding: 12px;
    }
    
    .job-section h4 {
        font-size: 1.1rem;
    }
    
    .responsibility-item,
    .requirement-item,
    .benefit-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .anticipation-card {
        padding: 25px 12px;
    }
    
    .anticipation-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-item {
        padding: 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 0 15px;
    }
    
    .job-card {
        margin-bottom: 30px;
    }
    
    .job-section h4 {
        font-size: 1.2rem;
    }
}

/* Anticipation Card Styles */
.anticipation-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    margin: 40px 0;
}

.anticipation-content {
    max-width: 600px;
    margin: 0 auto;
}

.anticipation-icon {
    font-size: 4rem;
    color: var(--brand-gold);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.anticipation-card h3 {
    color: var(--brand-blue);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.anticipation-message {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 40px;
}

.anticipation-features {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-item i {
    color: var(--brand-gold);
    font-size: 1.3rem;
}

.feature-item span {
    color: var(--brand-blue);
    font-weight: 500;
}

.anticipation-cta {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.anticipation-cta p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.anticipation-cta .contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.modern-job-card {
    animation: fadeInUp 0.6s ease-out;
}

.modern-job-card:nth-child(2) {
    animation-delay: 0.2s;
}

.modern-job-card:nth-child(3) {
    animation-delay: 0.4s;
}

.anticipation-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Print Styles */
@media print {
    .careers-hero,
    .nav-bar,
    .footer {
        display: none;
    }
    
    .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .careers-main-content {
        background: white;
    }
}
