/* Job Lounge - Main Stylesheet */
:root {
    --primary-blue: #2E4A7B;
    --primary-green: #6BBF36;
    --dark-blue: #1a2d4a;
    --light-green: #8fd65c;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --gradient-blue: linear-gradient(135deg, #2E4A7B 0%, #1a2d4a 100%);
    --gradient-green: linear-gradient(135deg, #6BBF36 0%, #4a9c26 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--dark-gray); background: var(--light-gray); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

/* Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img { height: 60px; width: auto; }

.main-nav ul { display: flex; gap: 5px; }

.main-nav a {
    padding: 10px 15px;
    color: var(--dark-gray);
    font-weight: 500;
    border-radius: var(--border-radius);
}

.main-nav a:hover { background: var(--primary-blue); color: var(--white); }

/* CRITICAL FIX: Dropdown Menu - MUST be hidden by default */
.dropdown { position: relative; }

.dropdown-menu { z-index: 1000;
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    min-width: 220px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu { z-index: 1000; display: block !important; }
.dropdown-menu li a { display: block; padding: 10px 20px; color: var(--dark-gray); }
.dropdown-menu li a:hover { background: var(--light-gray); }

.header-actions { display: flex; align-items: center; gap: 15px; }

.lang-switch {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.btn-signin {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Hero */
.hero {
    background: var(--gradient-blue);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-content { text-align: center; color: var(--white); position: relative; z-index: 2; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 40px; opacity: 0.95; }
.hero-ctas { display: flex; gap: 20px; justify-content: center; }

.btn {
    padding: 15px 35px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(107, 191, 54, 0.4);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(107, 191, 54, 0.6); }
.btn-secondary { background: var(--white); color: var(--primary-blue); box-shadow: var(--shadow-lg); }

/* Job Search */
.job-search {
    background: var(--white);
    padding: 50px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.search-filters { display: flex; gap: 20px; align-items: flex-end; }
.filter-group { flex: 1; }
.filter-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.btn-search {
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
}

/* Categories */
.categories { padding: 80px 0; background: var(--light-gray); }
.categories h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--primary-blue); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }

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

.category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.category-icon { font-size: 3rem; margin-bottom: 15px; }
.category-card h3 { color: var(--primary-blue); margin-bottom: 10px; font-size: 1.2rem; }
.job-count { color: var(--medium-gray); margin-bottom: 15px; }
.category-link { color: var(--primary-green); font-weight: 600; }

/* Why Choose */
.why-choose { padding: 80px 0; background: var(--white); }
.why-choose h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--primary-blue); }
.process-steps { display: flex; justify-content: space-around; gap: 30px; flex-wrap: wrap; }
.step { text-align: center; flex: 1; min-width: 250px; padding: 30px; }

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 { color: var(--primary-blue); margin-bottom: 10px; font-size: 1.5rem; }
.step p { color: var(--medium-gray); }

/* Why It Works */
.why-it-works {
    padding: 80px 0;
    background: var(--gradient-blue);
    color: var(--white);
}

.why-it-works h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }
.features-grid { display: flex; justify-content: space-around; gap: 30px; flex-wrap: wrap; }
.feature { text-align: center; flex: 1; min-width: 250px; padding: 30px; }

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    font-weight: bold;
}

.feature h3 { margin-bottom: 10px; font-size: 1.3rem; }
.feature p { opacity: 0.9; }

/* Footer */
.main-footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h4 { color: var(--primary-green); margin-bottom: 20px; font-size: 1.2rem; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: rgba(255, 255, 255, 0.8); }
.footer-column ul li a:hover { color: var(--primary-green); padding-left: 5px; }
.footer-column address p { margin-bottom: 10px; color: rgba(255, 255, 255, 0.8); }
.footer-column address a { color: var(--primary-green); }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-icon:hover { background: var(--primary-green); transform: scale(1.1); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); }

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

@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 20px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .search-filters { flex-direction: column; }
    .process-steps, .features-grid { flex-direction: column; }
}
