/* assets/css/main.css - Main stylesheet */

:root {
    --deep-blue: #0B2D72;
    --sky-blue: #0992C2;
    --cyan: #0AC4E0;
    --cream: #F6E7BC;
    --white: #FFFFFF;
    --dark-text: #1F2937;
    --light-gray: #F3F4F6;
    --border-color: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-gray);
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--deep-blue), var(--sky-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(11, 45, 114, 0.3);
}

.btn-secondary {
    background: var(--cyan);
    color: var(--deep-blue);
}

.btn-secondary:hover {
    background: #0aafc9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--deep-blue), var(--sky-blue));
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    padding: 10px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.1s both;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    min-width: 100px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

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

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--deep-blue);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--sky-blue));
    border-radius: 3px;
}

/* Vacancies Grid */
.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.vacancy-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.vacancy-header h3 {
    color: var(--deep-blue);
    margin: 0;
}

.vacancy-details {
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 0.875rem;
}

.vacancy-details p {
    margin: 5px 0;
}

.vacancy-details i {
    width: 20px;
    color: var(--sky-blue);
}

.vacancy-description {
    margin-bottom: 20px;
    color: #6B7280;
}

.vacancy-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-open {
    background: #D1FAE5;
    color: #065F46;
}

.badge-closed {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-draft {
    background: #FEF3C7;
    color: #92400E;
}

/* Info Section */
.info-section {
    background: var(--cream);
}

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

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 3rem;
    color: var(--sky-blue);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 20px;
    color: var(--deep-blue);
}

.info-card ul {
    list-style: none;
    text-align: left;
}

.info-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

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

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: var(--white);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--deep-blue), var(--sky-blue));
    color: var(--white);
    text-align: center;
}

.contact-content h2 {
    color: var(--white);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    font-size: 1.25rem;
}

/* Admin Login Bar */
.admin-login-bar {
    background: var(--dark-text);
    padding: 15px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .countdown-timer { gap: 15px; }
    .countdown-item { padding: 10px; min-width: 70px; }
    .countdown-number { font-size: 1.5rem; }
    
    .hero-buttons { flex-direction: column; align-items: center; }
    
    .vacancies-grid { grid-template-columns: 1fr; }
    
    .info-grid { grid-template-columns: 1fr; }
    
    .contact-info { flex-direction: column; align-items: center; gap: 15px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    section { padding: 50px 0; }
    
    .countdown-timer { gap: 10px; }
    .countdown-item { padding: 8px; min-width: 60px; }
}