/* Alp Sistem - Main Stylesheet */

/* Font Import - Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Typography Scale */
.font-heading {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.font-body {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 400;
}

.font-accent {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Custom Animation Delays */
.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Process Section Background Pattern */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.group:hover .floating-element {
    animation: float 2s ease-in-out infinite;
}

/* Custom Gradients */
.bg-gradient-process {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Card Hover Effects */
.process-card {
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.process-card:hover::before {
    left: 100%;
}

/* Step Number Animation */
.step-number {
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.group:hover .step-number::before {
    transform: translateX(100%);
}

/* Navigation Styles */
.active-link {
    color: #ffffff !important; /* white */
    font-weight: 700;
}

.page {
    display: none;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Slider Styles */
.hero-slider .swiper-slide {
    height: 85vh;
    min-height: 500px;
}

.hero-slider .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7);
    width: 12px;
    height: 12px;
    opacity: 1;
    transition: background-color 0.3s;
}

.hero-slider .swiper-pagination-bullet-active {
    background-color: #2563eb; /* blue-600 */
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
}

/* References Animation */
.references-container {
    overflow: hidden;
    white-space: nowrap;
}

.references-scroll {
    display: inline-flex;
    animation: scroll-horizontal 20s linear infinite;
    gap: 3rem;
    align-items: center;
}

@keyframes scroll-horizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.references-scroll:hover {
    animation-play-state: paused;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: pulse-logo 1.5s ease-in-out infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.loading-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    z-index: 9998;
    transition: width 0.3s ease;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #3b82f6;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: #ef4444;
}

/* Utility Classes */
.lightbox-trigger {
    cursor: pointer;
}

.lightbox-trigger:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}
/* Career Page Specific Styles */
.career-hero-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
}

.job-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.job-card:hover {
    border-left-color: #2563eb;
    transform: translateY(-2px);
}

.job-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.application-form {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.form-input {
    transition: all 0.2s ease;
}

.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.file-upload-area {
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.benefits-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefits-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.benefits-card:hover::before {
    left: 100%;
}

.benefits-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Position Cards */
.position-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.position-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05));
    transition: width 0.3s ease;
}

.position-card:hover::after {
    width: 100%;
}

.position-card:hover {
    transform: translateX(4px);
}

/* Salary Badge */
.salary-badge {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Application Button Animations */
.apply-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.apply-btn:hover::before {
    left: 100%;
}

/* Form Validation Styles */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Loading Animation for Form */
.form-loading {
    position: relative;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments for Career Page */
@media (max-width: 768px) {
    .job-card {
        padding: 1.5rem;
    }
    
    .position-card .lg\\:flex-row {
        flex-direction: column;
    }
    
    .position-card .lg\\:text-right {
        text-align: left;
        margin-top: 1rem;
    }
    
    .salary-badge {
        font-size: 1.5rem;
    }
}

/* Smooth anchor scrolling for career page */
#job-openings,
#application-form {
    scroll-margin-top: 100px;
}