/* LOAVIES Careers Page 2026 - Shared Styles */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --pink-light: #f5e6ea;
    --pink-medium: #e8b4c3;
    --pink-dark: #d4a5b3;
    --beige: #d9c5b8;
    --brown: #8b6f6f;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-medium: #999999;
    --gray-border: #e0e0e0;
    --gray-hover: #fafafa;
    --error-red: #d32f2f;
    --success-green: #155724;

    /* Typography */
    --font-primary: 'Arial', sans-serif;
    --font-heading: 'Arial Black', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Layout */
    --max-width: 1400px;
    --border-radius: 8px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.nav {
    background: var(--white);
    padding: var(--spacing-md) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--black);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--brown);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid var(--black);
    cursor: pointer;
}

.btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--black);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-live {
    position: relative;
    padding-left: 2rem;
}

.badge-live::before {
    content: '';
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-light);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* Card Component */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Image Container */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Section Spacing */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Vacancy List */
.vacancy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    transition: background 0.3s ease;
    cursor: pointer;
}

.vacancy-item:hover {
    background: var(--pink-light);
}

.vacancy-info {
    flex: 1;
}

.vacancy-category {
    font-size: 0.875rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.vacancy-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vacancy-location {
    font-size: 0.95rem;
    color: var(--gray-medium);
}

/* Vacancy Row Component */
.vacancy-row {
    display: grid;
    grid-template-columns: 2.5fr 2fr 1.5fr;
    gap: 3rem;
    padding: 1.75rem 1.5rem;
    margin: 0 -1.5rem;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.2s ease;
    align-items: center;
}

.vacancy-row:hover {
    background: #fafafa;
}

.vacancy-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vacancy-category {
    font-size: 0.7rem;
    color: #888888;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0.02em;
}

.vacancy-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

.vacancy-location {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vacancy-location-label {
    font-size: 0.7rem;
    color: #888888;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.vacancy-location span:last-child {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
}

.vacancy-type {
    font-size: 0.85rem;
    color: #000000;
    text-align: right;
    font-weight: 500;
    background: #f5f5f5;
    padding: 0.4rem 0.85rem;
    border-radius: 2px;
    white-space: nowrap;
    justify-self: end;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.pagination button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--black);
    transition: opacity 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    opacity: 0.6;
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Slider */
.slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.3s ease;
}

.slider-item {
    min-width: 100%;
    flex-shrink: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-medium);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--black);
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: var(--spacing-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-light);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--black);
    margin: 0 auto var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.timeline-duration {
    font-size: 0.875rem;
    color: var(--gray-medium);
    font-weight: 600;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-top: var(--spacing-sm);
}

/* Testimonial */
.testimonial {
    text-align: center;
    padding: var(--spacing-lg);
}

.testimonial-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.95rem;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-md);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--black);
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-block;
    transition: opacity 0.3s ease;
    opacity: 0.5;
}

.social-links a:hover {
    opacity: 0.8;
}

.social-links img {
    display: block;
    width: 20px;
    height: 20px;
    filter: brightness(0);
}

.footer-copyright {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 1.5rem 1rem 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links img {
        width: 18px;
        height: 18px;
    }

    .vacancy-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .vacancy-main {
        flex: 1;
    }

    .vacancy-location {
        display: none;
    }

    .vacancy-type {
        font-size: 0.75rem;
        margin-left: 1rem;
        padding: 0.35rem 0.75rem;
    }

    .timeline {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .timeline::before {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--spacing-md);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.bg-pink-light { background: var(--pink-light); }
.bg-beige { background: var(--beige); }
.bg-white { background: var(--white); }
.bg-gray-light { background: var(--gray-light); }
