/* ========================================
   NGMK Job Portal - Custom Styles
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --gold-primary: #F0C040;
    --gold-dark: #D4A017;
    --gold-light: #FFD700;
    --dark-primary: #1E1E1E;
    --dark-secondary: #2C2C2C;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --text-dark: #333333;
    --text-light: #666666;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--gray-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.top-links {
    display: flex;
    gap: 2rem;
}

.top-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: var(--gold-primary);
}

.top-link i {
    color: var(--gold-primary);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--gold-primary);
}

.lang-btn:hover {
    color: var(--gold-dark);
}

.lang-divider {
    color: var(--gold-primary);
    font-weight: 700;
}

/* ========================================
   HEADER / NAVBAR STYLES
   ======================================== */
.ngmk-navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ngmk-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ngmk-brand i {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.ngmk-brand:hover {
    color: var(--gold-primary) !important;
}

.ngmk-navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.ngmk-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.ngmk-navbar .nav-link:hover,
.ngmk-navbar .nav-link.active {
    color: var(--gold-primary) !important;
}

.ngmk-navbar .nav-link:hover::after,
.ngmk-navbar .nav-link.active::after {
    width: 80%;
}

.btn-gold {
    background: var(--gold-primary);
    color: var(--dark-primary) !important;
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 192, 64, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-primary) !important;
    border: 2px solid var(--gold-primary);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover,
.btn-outline-gold.active {
    background: var(--gold-primary);
    color: var(--dark-primary) !important;
    transform: translateY(-2px);
}

.btn-outline-gold.active {
    transform: translateY(0);
}

/* ========================================
   HERO SECTION
   ======================================== */
.ngmk-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E1E1E 0%, #2C2C2C 100%);
    overflow: hidden;
    padding: 4rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(240, 192, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(240, 192, 64, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.ngmk-hero .container {
    position: relative;
    z-index: 3;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-main-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero-vacancies {
    background: var(--gold-primary);
    color: var(--dark-primary);
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(240, 192, 64, 0.3);
}

.btn-hero-vacancies:hover {
    background: var(--gold-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(240, 192, 64, 0.5);
    color: var(--dark-primary);
}

/* Hero Decorative Trophies */
.hero-trophy {
    position: absolute;
    color: var(--gold-primary);
    opacity: 0.15;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-trophy-1 {
    top: 10%;
    left: 10%;
    font-size: 8rem;
}

.hero-trophy-2 {
    bottom: 15%;
    right: 10%;
    font-size: 10rem;
    animation-delay: 2s;
}

.hero-trophy-3 {
    top: 50%;
    right: 5%;
    font-size: 6rem;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   CATEGORY CARDS
   ======================================== */
.categories-section {
    background: var(--gray-light);
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(240, 192, 64, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background: var(--white);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: var(--white);
    color: var(--dark-primary);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--dark-primary);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--gray-light);
    color: var(--text-dark);
    line-height: 1.8;
}

.accordion-button i {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.accordion-button:not(.collapsed) i {
    color: var(--dark-primary);
}

/* ========================================
   FOOTER
   ======================================== */
.ngmk-footer {
    background: var(--dark-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.footer-logo i {
    font-size: 2rem;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(240, 192, 64, 0.1);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gold-primary);
    color: var(--dark-primary);
    transform: translateY(-5px);
}

.footer-heading {
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-contacts {
    list-style: none;
    padding: 0;
}

.footer-contacts li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contacts i {
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: var(--gold-primary);
}

/* Footer Statistics */
.footer-stats {
    background: rgba(240, 192, 64, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.stat-item i {
    font-size: 3rem;
    color: var(--gold-primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-content strong {
    font-size: 2rem;
    color: var(--gold-primary);
    font-weight: 800;
}

.stat-content span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .hero-main-title {
        font-size: 3rem;
    }

    .hero-main-subtitle {
        font-size: 1.1rem;
    }

    .hero-trophy {
        opacity: 0.08;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.25rem;
    }

    .hero-main-subtitle {
        font-size: 1rem;
    }

    .btn-hero-vacancies {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }

    .ngmk-brand span {
        font-size: 0.9rem;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-icon i {
        font-size: 2rem;
    }

    .stat-item {
        flex-direction: column;
        margin-bottom: 2rem;
    }

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

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 1.75rem;
    }

    .ngmk-hero {
        min-height: 500px;
        padding: 3rem 0;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-aos] {
    transition-property: transform, opacity;
}

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

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ========================================
   JOBS PAGE STYLES
   ======================================== */
.jobs-page-wrapper {
    background: var(--gray-light);
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Filter Card */
.filters-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 4px 15px rgba(240, 192, 64, 0.1);
    position: sticky;
    top: 100px;
}

.filters-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-title i {
    color: var(--gold-primary);
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: var(--dark-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.filter-select,
.filter-input {
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.1);
}

.form-check-input:checked {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.form-check-label {
    color: var(--text-dark);
    cursor: pointer;
}

.btn-archive {
    background: var(--gold-primary);
    color: var(--dark-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-archive:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 192, 64, 0.4);
    color: var(--dark-primary);
}

/* Jobs Header */
.jobs-header {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold-primary);
}

.jobs-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-primary);
    margin: 0;
}

.jobs-count {
    color: var(--text-light);
    margin: 0;
}

/* Job Listing Card */
.job-listing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.job-listing-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 8px 25px rgba(240, 192, 64, 0.15);
    transform: translateY(-3px);
}

.job-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.job-listing-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-primary);
    margin: 0;
    flex: 1;
    letter-spacing: 0.5px;
}

.job-listing-salary {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    min-width: 200px;
}

.job-listing-body {
    border-top: 1px solid var(--gray-medium);
    padding-top: 1.5rem;
}

.job-listing-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-listing-location,
.job-listing-profession {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.job-listing-location i,
.job-listing-profession i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.job-listing-description {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-medium);
    flex-wrap: wrap;
    gap: 1rem;
}

.job-listing-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.job-views,
.job-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-views i {
    color: var(--gold-primary);
}

.job-listing-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-details {
    color: var(--gold-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-details:hover {
    color: var(--gold-dark);
    text-decoration: none;
}

.btn-apply {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* No Jobs Message */
.no-jobs-message {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.no-jobs-message i {
    font-size: 5rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.no-jobs-message h4 {
    color: var(--dark-primary);
    margin-bottom: 0.5rem;
}

.no-jobs-message p {
    color: var(--text-light);
}

/* Responsive Jobs Page */
@media (max-width: 992px) {
    .filters-card {
        position: static;
        margin-bottom: 2rem;
    }

    .job-listing-header {
        flex-direction: column;
    }

    .job-listing-salary {
        text-align: left;
        min-width: auto;
    }

    .job-listing-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-listing-actions {
        width: 100%;
    }

    .btn-apply {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .jobs-title {
        font-size: 1.5rem;
    }

    .job-listing-card {
        padding: 1.5rem;
    }

    .job-listing-title {
        font-size: 1.2rem;
    }

    .job-listing-info {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Anketa Alert Banner Styles */
.anketa-alert-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 6px solid #ff9800 !important;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anketa-alert-banner .alert-heading {
    color: #d68000;
    font-weight: 600;
}

.anketa-alert-banner .bi-exclamation-triangle-fill {
    color: #ff9800;
    animation: pulse 2s ease-in-out infinite;
}

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

.anketa-alert-banner p {
    color: #856404;
    line-height: 1.6;
}

.anketa-alert-banner hr {
    border-top-color: rgba(255, 152, 0, 0.3);
}

.anketa-alert-banner .btn-warning {
    background-color: #ff9800;
    border-color: #ff9800;
    font-weight: 600;
    transition: all 0.3s ease;
}

.anketa-alert-banner .btn-warning:hover {
    background-color: #d68000;
    border-color: #d68000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.anketa-alert-banner .btn-close {
    filter: brightness(0.7);
}

@media (max-width: 768px) {
    .anketa-alert-banner {
        font-size: 0.9rem;
    }

    .anketa-alert-banner .bi-exclamation-triangle-fill {
        font-size: 2rem !important;
    }

    .anketa-alert-banner .alert-heading {
        font-size: 1.1rem;
    }
}
