/* ========================================
   LIFE AT STED PAGE STYLES
   ======================================== */

/* Hero Section */
.life-hero {
    padding: 180px 80px 100px;
    background: white;
}

.life-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #666;
    font-weight: 300;
}

/* Culture Section */
.culture-section {
    padding: 0 80px 80px;
    overflow: hidden;
}

.culture-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.culture-scroll::-webkit-scrollbar {
    display: none;
}

.culture-image {
    flex: 0 0 280px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Team Section */
.team-section {
    padding: 100px 80px;
    background: var(--primary);
}

.team-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-photo {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.team-card p {
    font-size: 14px;
    color: #666;
    font-weight: 300;
}

/* Careers Section */
.careers-section {
    padding: 100px 80px;
    background: white;
}

.careers-header {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.careers-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: #032556;
}

.openings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: #f5f5f5;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.job-card:hover {
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.job-info span {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.job-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.job-arrow {
    width: 50px;
    height: 50px;
    background: #032556;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.job-card:hover .job-arrow {
    background: var(--primary);
    transform: scale(1.1);
}

.job-arrow svg {
    width: 20px;
    height: 20px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #000;
    color: white;
}

.modal-header {
    padding: 50px 50px 30px;
    border-bottom: 1px solid #eee;
}

.modal-header span {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 5px 15px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 300;
    color: #000;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 14px;
    color: #666;
}

.modal-body {
    padding: 40px 50px;
}

.modal-body h3 {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.modal-body ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.modal-body ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 8px;
}

.modal-footer {
    padding: 30px 50px 50px;
    border-top: 1px solid #eee;
}

.btn-apply {
    display: inline-block;
    padding: 16px 50px;
    background: #000;
    color: white;
    border: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-apply:hover {
    background: var(--primary);
    color: #000;
}

/* Application Form Modal */
.form-modal .modal-body {
    padding: 40px 50px 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

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

.file-upload {
    position: relative;
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: #000;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    font-size: 14px;
    color: #666;
}

.file-upload-text strong {
    color: #000;
}

.file-name {
    margin-top: 10px;
    font-size: 13px;
    color: var(--primary);
}

.btn-submit-app {
    flex: 1;
    padding: 18px;
    background: #000;
    color: white;
    border: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-submit-app:hover {
    background: var(--primary);
    color: #000;
}

.btn-back {
    padding: 18px 30px;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-back:hover {
    background: #f5f5f5;
    color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
    .life-hero, .culture-section, .team-section, .careers-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .life-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .life-hero {
        padding: 140px 20px 60px;
    }

    .culture-section, .team-section, .careers-section {
        padding: 60px 20px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .openings-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header, .modal-body, .modal-footer {
        padding-left: 30px;
        padding-right: 30px;
    }
}
