/* ==========================================
   KARİYER SAYFASI CSS
   Milano - Premium Furniture
   Author: Altunsoft Inc. - Mahsun Altun
   ========================================== */

   .container-careers {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.careers-hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(var(--top-bar-h) + var(--header-h));
}

.careers-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.careers-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.careers-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 10, 9, 0.85) 0%, rgba(13, 10, 9, 0.65) 100%);
    z-index: 2;
}

.careers-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 5%;
}

.careers-breadcrumb {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.careers-breadcrumb a {
    color: var(--gold-light);
    text-decoration: none;
    transition: 0.3s;
}

.careers-breadcrumb a:hover {
    color: var(--gold);
}

.careers-breadcrumb span {
    margin: 0 10px;
}

.careers-title-main {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--gold-light);
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.careers-title-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text);
    letter-spacing: 1px;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
}

.careers-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    opacity: 0;
    transform: translateY(20px);
}

.career-stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--gold-light);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================
   WHY MILANO SECTION
   ========================================== */

.why-milano-section {
    padding: 100px 0;
    background: var(--bg);
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
}

.section-header-center h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.section-header-center p {
    font-size: 1.1rem;
    color: var(--text-dim);
}

.why-milano-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 50px 30px;
    background: #050403;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(30px);
}

.why-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.why-icon {
    color: var(--gold-light);
    margin-bottom: 25px;
}

.why-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-dim);
    line-height: 1.7;
}

/* ==========================================
   JOB LISTINGS SECTION
   ========================================== */

.job-listings-section {
    padding: 100px 0;
    background: #050403;
}

.section-header-with-filter {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
}

.section-header-left h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.section-header-left p {
    font-size: 1rem;
    color: var(--text-dim);
}

.job-filters {
    display: flex;
    gap: 15px;
}

.job-filter-select {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--text);
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 200px;
}

.job-filter-select:focus {
    outline: none;
    border-color: var(--gold);
}

/* JOB CARDS */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.job-card {
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.job-card:hover {
    border-color: var(--gold);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 35px;
    cursor: pointer;
}

.job-title-area h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.job-meta svg {
    color: var(--gold);
}

.job-type {
    padding: 5px 12px;
    background: rgba(184, 134, 11, 0.1);
    color: var(--gold);
    border-radius: 3px;
    font-size: 0.8rem;
}

.job-toggle-btn {
    width: 45px;
    height: 45px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-toggle-btn:hover {
    background: var(--gold);
    color: white;
}

.job-toggle-btn .icon-minus {
    display: none;
}

.job-card.active .job-toggle-btn .icon-plus {
    display: none;
}

.job-card.active .job-toggle-btn .icon-minus {
    display: block;
}

.job-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.job-card.active .job-card-content {
    max-height: 2000px;
}

.job-description {
    padding: 0 35px 30px;
}

.job-description h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold-light);
    margin: 25px 0 15px;
}

.job-description h4:first-child {
    margin-top: 0;
}

.job-description p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-description ul {
    list-style: none;
    padding: 0;
}

.job-description li {
    padding: 10px 0 10px 30px;
    color: var(--text-dim);
    position: relative;
    line-height: 1.6;
}

.job-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.5rem;
}

.job-apply-area {
    padding: 30px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-apply-job {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--gold);
    border: none;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 5px;
    font-weight: 600;
}

.btn-apply-job:hover {
    background: var(--gold-light);
    transform: translateX(5px);
}

/* ==========================================
   APPLICATION MODAL
   ========================================== */

.application-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.application-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 10, 9, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 10px;
    overflow-y: auto;
    z-index: 10;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.modal-close:hover {
    background: var(--gold);
    color: white;
}

.modal-header {
    padding: 40px 50px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-dim);
    font-size: 1rem;
}

.modal-header strong {
    color: var(--gold);
}

/* APPLICATION FORM */
.application-form {
    padding: 40px 50px;
}

.form-section-app {
    margin-bottom: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section-app:last-of-type {
    border-bottom: none;
}

.form-section-app h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 25px;
}

.form-row-app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-app {
    margin-bottom: 20px;
}

.form-group-app label {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group-app input[type="text"],
.form-group-app input[type="email"],
.form-group-app input[type="tel"],
.form-group-app input[type="date"],
.form-group-app select,
.form-group-app textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 5px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: 0.3s;
}

.form-group-app input:focus,
.form-group-app select:focus,
.form-group-app textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.form-group-app textarea {
    resize: vertical;
}

.file-upload-area {
    position: relative;
}

.file-upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(184, 134, 11, 0.3);
    border-radius: 5px;
    color: var(--text-dim);
    cursor: pointer;
    transition: 0.3s;
}

.file-upload-label:hover {
    border-color: var(--gold);
    background: rgba(184, 134, 11, 0.05);
}

.file-upload-label svg {
    color: var(--gold-light);
}

.file-name {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gold);
}

.form-checkbox-app {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox-app input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
}

.form-checkbox-app span {
    color: var(--text);
    font-size: 0.9rem;
}

.form-checkbox-app a {
    color: var(--gold-light);
    text-decoration: underline;
}

.form-submit-app {
    margin-top: 40px;
}

.btn-submit-application {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gold);
    border: none;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 5px;
    font-weight: 700;
}

.btn-submit-application:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* SUCCESS MESSAGE */
.application-success {
    padding: 80px 50px;
    text-align: center;
}

.success-icon {
    color: #4caf50;
    margin-bottom: 30px;
}

.application-success h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.application-success p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-close-success {
    padding: 15px 40px;
    background: var(--gold);
    border: none;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.btn-close-success:hover {
    background: var(--gold-light);
}

/* ==========================================
   INTERNSHIP SECTION
   ========================================== */

.internship-section {
    padding: 100px 0;
    background: var(--bg);
    opacity: 0;
    transform: translateY(30px);
}

.internship-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.05) 0%, #050403 100%);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 10px;
}

.internship-content {
    text-align: left;
}

.internship-icon {
    color: var(--gold-light);
    margin-bottom: 25px;
}

.internship-content h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.internship-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.internship-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.internship-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.internship-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

.btn-internship-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.4s;
    border-radius: 5px;
}

.btn-internship-apply:hover {
    background: var(--gold-light);
    transform: translateX(5px);
}

.internship-image {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.internship-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .careers-hero {
        height: 60vh;
        margin-top: calc(var(--top-bar-h) + 80px);
    }

    .careers-stats {
        gap: 50px;
    }

    .why-milano-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-filters {
        flex-direction: column;
    }

    .internship-box {
        grid-template-columns: 1fr;
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .careers-stats {
        flex-direction: column;
        gap: 30px;
    }

    .why-milano-grid {
        grid-template-columns: 1fr;
    }

    .section-header-with-filter {
        flex-direction: column;
        gap: 20px;
    }

    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .form-row-app {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20px;
    }

    .modal-header,
    .application-form,
    .application-success {
        padding: 30px;
    }

    .internship-box {
        padding: 30px;
    }
}

/* REVEAL ANIMATIONS */
[data-reveal] {
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}