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

:root {
    --bg-main: #0e0e0e;
    --bg-secondary: #151515;
    --bg-section: rgba(14,14,14,0.85);
    --text-main: #f1f1f1;
    --text-muted: #b3b3b3;
    --accent: #d4af37;
}

html, body {
    min-height: 100%;
}

/* GLOBAL BACKGROUND */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text-main);
    background-image: url("../assets/city.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation: pageFade 0.6s ease forwards;
    position: relative;
}

/* GLOBAL OVERLAY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(14,14,14,0.92),
        rgba(14,14,14,0.85),
        rgba(14,14,14,0.92)
    );
    z-index: -1;
}

@keyframes pageFade {
    to { opacity: 1; }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10,10,10,0.75);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #1f1f1f;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10,10,10,0.95);
}

.logo {
    letter-spacing: 3px;
    font-size: 16px;
    font-weight: 600;
}

.navbar nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
}

.navbar nav a:hover {
    color: var(--text-main);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    animation: heroIn 0.8s ease forwards;
}

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

.hero h1 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* BUTTONS */
.btn {
    padding: 14px 36px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn.primary {
    background: var(--text-main);
    color: #000;
    border: none;
}

.btn.primary:hover {
    background: var(--accent);
}

.btn.secondary {
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

/* SPLIT SECTION */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    background: var(--bg-section);
}

.split-text {
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.split-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* PHILOSOPHY */
.philosophy {
    padding: 120px 40px;
    text-align: center;
    background: var(--bg-section);
}

.philosophy h2 {
    font-size: 32px;
    margin-bottom: 60px;
}

.philo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: auto;
    gap: 40px;
}

.philo-grid h3 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.philo-grid p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    padding: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid #1f1f1f;
    background: rgba(10,10,10,0.9);
}

.apply-page {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.apply-wrapper {
    background: rgba(10,10,10,0.88);
    backdrop-filter: blur(6px);
    border: 1px solid #1f1f1f;
    padding: 50px 60px;
    max-width: 650px;
    width: 100%;
}

/* Small visual polish */
.apply-wrapper h1 {
    letter-spacing: 3px;
    font-weight: 400;
}

.apply-form .btn {
    margin-top: 20px;
}

/* APPLY FORM STRUCTURE */

.apply-wrapper {
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(8px);
    border: 1px solid #1f1f1f;
    padding: 60px 70px;
    max-width: 700px;
    width: 100%;
}

.apply-wrapper h1 {
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: 400;
}

.apply-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* FORM SECTIONS */
.form-section {
    margin-bottom: 50px;
}

.form-section h2 {
    font-size: 18px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 10px;
}

/* FORM GROUPS */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid #2a2a2a;
    padding: 14px;
    color: var(--text-main);
    font-size: 14px;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* CHECKBOX */
.checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-muted);
}

.checkbox-group input {
    margin-top: 4px;
}

/* SUBMIT BUTTON */
.full-width {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
}

/* STATUS BADGES */
.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/*Staff skit */



/* =========================
   STAFF LAYOUT
========================= */

.staff-layout {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 50px;
    padding: 120px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* =========================
   STAFF NAVBAR
========================= */

.staff-navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
}

.staff-clock {
    justify-self: center;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--text-main);
    opacity: 0.85;
}

.staff-user {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.staff-name {
    font-size: 14px;
    color: var(--text-main);
}

.staff-user a {
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 6px 14px;
    font-size: 13px;
}

.staff-user a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================
   SIDEBARS
========================= */

.staff-sidebar {
    background: rgba(0,0,0,0.55);
    border: 1px solid #1f1f1f;
    padding: 22px;
    font-size: 13px;
    opacity: 0.9;
}

.staff-sidebar h3 {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.staff-sidebar p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.staff-sidebar hr {
    border: none;
    border-top: 1px solid #1f1f1f;
    margin: 15px 0;
}

/* =========================
   CENTER PANEL
========================= */

.staff-center {
    background: rgba(0,0,0,0.65);
    border: 1px solid #1f1f1f;
    padding: 45px;
}

.staff-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 80px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* =========================
   STAFF TABLE
========================= */

.staff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.staff-table th {
    text-align: left;
    font-size: 12px;
    color: var(--text-muted);
    padding-bottom: 14px;
}

.staff-table td {
    padding: 16px 0;
    border-bottom: 1px solid #1f1f1f;
    font-size: 14px;
}

.staff-table tr:hover {
    background: rgba(255,255,255,0.025);
}

.staff-table a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.staff-table a:hover {
    border-color: var(--accent);
}

/* =========================
   STATUS TAGS
========================= */

.status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.status.pending {
    border-color: #d4af37;
    color: #d4af37;
}

.status.approved {
    border-color: #4caf50;
    color: #4caf50;
}

.status.denied {
    border-color: #ca2f2f;
    color: #ca2f2f;
}

/* =========================
   ANIMATION
========================= */

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

.apply-wrapper {
    animation: fadeUp 0.6s ease forwards;
}

/* ===========================
   MOBILE / TABLET RESPONSIVE
   =========================== */
@media (max-width: 900px) {

    /* GENERELLT */
    body {
        background-attachment: scroll;
    }

    main {
        padding: 80px 20px;
    }

    h1 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* NAVBAR */
    .navbar {
        padding: 20px;
    }

    .navbar nav {
        display: none;
    }

    .logo {
        font-size: 14px;
        letter-spacing: 3px;
    }

    /* HERO */
    .hero {
        min-height: 100vh;
        padding: 0 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* INFO SEKTION */
    .info {
        padding: 80px 20px;
    }

    .info-content {
        max-width: 100%;
    }

    /* APPLY */
    .apply-wrapper {
        padding: 30px 20px;
    }

    .apply-form textarea {
        min-height: 120px;
    }

    /* STAFF LAYOUT */
    .staff-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 100px 20px;
    }

    .staff-sidebar {
        order: 2;
    }

    .staff-center {
        order: 1;
        padding: 25px;
    }

    /* STAFF NAVBAR */
    .staff-navbar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .staff-clock {
        font-size: 13px;
    }

    .staff-user {
        justify-content: center;
        font-size: 13px;
    }

    /* STAFF TABLE → MOBIL */
    .staff-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .staff-table th,
    .staff-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* EMPTY STATE */
    .staff-empty {
        padding: 40px 0;
        font-size: 13px;
    }

    /* FOOTER */
    .footer {
        padding: 30px 20px;
        font-size: 12px;
        text-align: center;
    }
}

